-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.4.0-DEV-81899bf99e.log
1494 lines (1338 loc) · 67.6 KB
/
1.4.0-DEV-81899bf99e.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Julia Version 1.4.0-DEV.634
Commit 81899bf99e (2019-12-18 10:13 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
Environment:
JULIA_DEPOT_PATH = ::/usr/local/share/julia
Resolving package versions...
Installed Missings ──────────────────── v0.4.3
Installed Tables ────────────────────── v0.2.11
Installed OrderedCollections ────────── v1.1.0
Installed Unitful ───────────────────── v0.18.0
Installed Parameters ────────────────── v0.12.0
Installed IterativeSolvers ──────────── v0.8.1
Installed DataFrames ────────────────── v0.20.0
Installed ModiaMath ─────────────────── v0.5.2
Installed RecipesBase ───────────────── v0.7.0
Installed InvertedIndices ───────────── v1.0.0
Installed IteratorInterfaceExtensions ─ v1.0.0
Installed RecursiveFactorization ────── v0.1.0
Installed DocStringExtensions ───────── v0.8.1
Installed Sundials ──────────────────── v3.8.1
Installed Parsers ───────────────────── v0.3.10
Installed Reexport ──────────────────── v0.2.0
Installed MuladdMacro ───────────────── v0.2.1
Installed MacroTools ────────────────── v0.5.3
Installed DataAPI ───────────────────── v1.1.0
Installed SortingAlgorithms ─────────── v0.3.1
Installed Requires ──────────────────── v0.5.2
Installed Compat ────────────────────── v2.2.0
Installed ArrayInterface ────────────── v2.1.0
Installed DiffEqDiffTools ───────────── v1.6.0
Installed BinaryProvider ────────────── v0.5.8
Installed DataStructures ────────────── v0.17.6
Installed FunctionWrappers ──────────── v1.0.0
Installed DiffEqBase ────────────────── v6.9.4
Installed TreeViews ─────────────────── v0.3.0
Installed DataValueInterfaces ───────── v1.0.0
Installed StaticArrays ──────────────── v0.12.1
Installed CategoricalArrays ─────────── v0.7.4
Installed PooledArrays ──────────────── v0.5.2
Installed Roots ─────────────────────── v0.8.4
Installed ConstructionBase ──────────── v1.0.0
Installed JSON ──────────────────────── v0.21.0
Installed TableTraits ───────────────── v1.0.0
Installed RecursiveArrayTools ───────── v1.2.0
Installed ZygoteRules ───────────────── v0.2.0
Updating `~/.julia/environments/v1.4/Project.toml`
[67ccffd1] + ModiaMath v0.5.2
Updating `~/.julia/environments/v1.4/Manifest.toml`
[4fba245c] + ArrayInterface v2.1.0
[b99e7846] + BinaryProvider v0.5.8
[324d7699] + CategoricalArrays v0.7.4
[34da2185] + Compat v2.2.0
[187b0558] + ConstructionBase v1.0.0
[9a962f9c] + DataAPI v1.1.0
[a93c6f00] + DataFrames v0.20.0
[864edb3b] + DataStructures v0.17.6
[e2d170a0] + DataValueInterfaces v1.0.0
[2b5f629d] + DiffEqBase v6.9.4
[01453d9d] + DiffEqDiffTools v1.6.0
[ffbed154] + DocStringExtensions v0.8.1
[069b7b12] + FunctionWrappers v1.0.0
[41ab1584] + InvertedIndices v1.0.0
[42fd0dbc] + IterativeSolvers v0.8.1
[82899510] + IteratorInterfaceExtensions v1.0.0
[682c06a0] + JSON v0.21.0
[1914dd2f] + MacroTools v0.5.3
[e1d29d7a] + Missings v0.4.3
[67ccffd1] + ModiaMath v0.5.2
[46d2c3a1] + MuladdMacro v0.2.1
[bac558e1] + OrderedCollections v1.1.0
[d96e819e] + Parameters v0.12.0
[69de0a69] + Parsers v0.3.10
[2dfb63ee] + PooledArrays v0.5.2
[3cdcf5f2] + RecipesBase v0.7.0
[731186ca] + RecursiveArrayTools v1.2.0
[f2c3362d] + RecursiveFactorization v0.1.0
[189a3867] + Reexport v0.2.0
[ae029012] + Requires v0.5.2
[f2b01f46] + Roots v0.8.4
[a2af1166] + SortingAlgorithms v0.3.1
[90137ffa] + StaticArrays v0.12.1
[c3572dad] + Sundials v3.8.1
[3783bdb8] + TableTraits v1.0.0
[bd369af6] + Tables v0.2.11
[a2a6695c] + TreeViews v0.3.0
[1986cc42] + Unitful v0.18.0
[700de1a5] + ZygoteRules v0.2.0
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8bb1440f] + DelimitedFiles
[8ba89e20] + Distributed
[9fa8497b] + Future
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[1a1011a3] + SharedArrays
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[4607b0f0] + SuiteSparse
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
Building Sundials → `~/.julia/packages/Sundials/MllUG/deps/build.log`
Path `/home/pkgeval/.julia/packages/Sundials/MllUG` exists and looks like the correct package. Using existing path.
Updating `/tmp/jl_nYPy94/Project.toml`
[c3572dad] + Sundials v3.8.1 [`~/.julia/packages/Sundials/MllUG`]
Updating `/tmp/jl_nYPy94/Manifest.toml`
[c3572dad] ~ Sundials v3.8.1 ⇒ v3.8.1 [`~/.julia/packages/Sundials/MllUG`]
Testing ModiaMath
Path `/home/pkgeval/.julia/packages/ModiaMath/xaGiR` exists and looks like the correct package. Using existing path.
Updating `/tmp/jl_MPf3of/Project.toml`
[67ccffd1] + ModiaMath v0.5.2 [`~/.julia/packages/ModiaMath/xaGiR`]
Updating `/tmp/jl_MPf3of/Manifest.toml`
[67ccffd1] ~ ModiaMath v0.5.2 ⇒ v0.5.2 [`~/.julia/packages/ModiaMath/xaGiR`]
Running sandbox
Status `/tmp/jl_MPf3of/Project.toml`
[a93c6f00] DataFrames v0.20.0
[864edb3b] DataStructures v0.17.6
[67ccffd1] ModiaMath v0.5.2 [`~/.julia/packages/ModiaMath/xaGiR`]
[ae029012] Requires v0.5.2
[90137ffa] StaticArrays v0.12.1
[c3572dad] Sundials v3.8.1
[1986cc42] Unitful v0.18.0
[37e2e46d] LinearAlgebra
[de0858da] Printf
[8dfed614] Test
Importing ModiaMath Version 0.5.2 (2019-07-10)
PyPlot not available (plot commands will be ignored).
Try to install PyPlot. See hints here:
https://github.com/ModiaSim/ModiaMath.jl/wiki/Installing-PyPlot-in-a-robust-way.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... Next plot should give a warning:
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... result variables = 2×4 DataFrames.DataFrame
│ Row │ name │ elType │ sizeOrValue │ unit │
│ │ String │ String │ String │ String │
├─────┼────────┼─────────┼─────────────┼────────┤
│ 1 │ phi │ Float64 │ (100,) │ │
│ 2 │ time │ Float64 │ (100,) │ │
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... Next plot should give a warning:
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... Next plot should give a warning:
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... figure=4 is closed
... result variables =
│ Row │ name │ elType │ sizeOrValue │ unit │ info │
│ │ String │ String │ String │ String │ String │
├─────┼────────┼─────────┼─────────────┼────────┼────────┤
│ 1 │ phi │ Float64 │ (100,) │ rad │ │
│ 2 │ r │ Float64 │ (100, 3) │ m │ │
│ 3 │ time │ Float64 │ (100,) │ s │ │
│ 4 │ w │ Float64 │ (100,) │ rad/s │ │
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... Next plot should give a warning:
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... Next plot should give a warning:
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... result variables = 7×4 DataFrames.DataFrame
│ Row │ name │ elType │ sizeOrValue │ unit │
│ │ String │ String │ String │ String │
├─────┼─────────────┼─────────┼─────────────┼──────────┤
│ 1 │ open │ Bool │ false │ │
│ 2 │ phi │ Float64 │ (100,) │ rad │
│ 3 │ phi2 │ Float64 │ (100,) │ rad │
│ 4 │ phi_max │ Float64 │ 1.1 │ rad │
│ 5 │ phi_max_int │ Int64 │ 1 │ │
│ 6 │ time │ Float64 │ (100,) │ │
│ 7 │ w │ Float64 │ (100,) │ rad s^-1 │
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... result variables = 7×4 DataFrames.DataFrame
│ Row │ name │ elType │ sizeOrValue │ unit │
│ │ String │ String │ String │ String │
├─────┼────────┼─────────┼─────────────┼──────────┤
│ 1 │ phi │ Float64 │ (100,) │ rad │
│ 2 │ phi2 │ Float64 │ (100,) │ rad │
│ 3 │ r │ Float64 │ (100, 3) │ │
│ 4 │ r2 │ Float64 │ (100, 11) │ │
│ 5 │ time │ Float64 │ (100,) │ s │
│ 6 │ w │ Float64 │ (100,) │ rad s^-1 │
│ 7 │ w2 │ Float64 │ (100,) │ rad s^-1 │
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... result variables =
│ Row │ name │ elType │ sizeOrValue │ unit │ info │
│ │ String │ String │ String │ String │ String │
├─────┼────────┼─────────┼─────────────┼────────┼────────┤
│ 1 │ phi │ Float64 │ (100,) │ rad │ │
│ 2 │ phi2 │ Float64 │ (100,) │ rad │ │
│ 3 │ r │ Float64 │ (100, 3) │ m │ │
│ 4 │ time │ Float64 │ (100,) │ s │ │
│ 5 │ w │ Float64 │ (100,) │ rad/s │ │
│ 6 │ w2 │ Float64 │ (100,) │ rad/s │ │
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... result variables = 5×4 DataFrames.DataFrame
│ Row │ name │ elType │ sizeOrValue │ unit │
│ │ String │ String │ String │ String │
├─────┼────────┼─────────┼─────────────┼────────┤
│ 1 │ phi1 │ Float64 │ (100,) │ │
│ 2 │ phi2 │ Float64 │ (100,) │ │
│ 3 │ time │ Float64 │ (100,) │ │
│ 4 │ w1 │ Float64 │ (100,) │ │
│ 5 │ w2 │ Float64 │ (100,) │ │
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... robot = phi10 = 1.0
phi20 = 2.0
var10 = 3.0
r0[1] = 1.0
r0[2] = 2.0
r0[3] = 3.0
q0[1] = 0.5
q0[2] = 0.5
q0[3] = 0.0
q0[4] = 0.7071067811865476
rev1 = Revolute(
phi = 1.0 rad
w = 0.0 rad/s
a = 22.200000000000003 rad/s^2
tau = 0.0 N*m
)
rev2 = Revolute(
phi = 2.0 rad
w = 0.0 rad/s
a = 44.400000000000006 rad/s^2
tau = 0.0 N*m
)
var1 = 3.0
res1 = 0.0
frame = Revolute(
r = [1.0, 2.0, 3.0] m
q = [0.5, 0.5, 0.0, 0.7071067811865476]
v = [0.0, 0.0, 0.0] m/s
w = [0.0, 0.0, 0.0] rad/s
a = [0.0, 0.0, 0.0] m/s^2
z = [0.0, 0.0, 0.0] rad/s^2
f = [0.0, 0.0, 0.0] N
t = [0.0, 0.0, 0.0] N*m
)
)
... Print variables of robot
variables: . Omitted printing of 11 columns
│ Row │ name │ ValueType │ unit │ numericType │
│ │ Symbol │ Symbol │ String │ ModiaMat… │
├─────┼─────────────────┼──────────────────────────────┼─────────┼─────────────┤
│ 1 │ time │ Float64 │ s │ TIME │
│ 2 │ rev1.phi │ Float64 │ rad │ XD_EXP │
│ 3 │ rev1.w │ Float64 │ rad/s │ XD_EXP │
│ 4 │ rev1.a │ Float64 │ rad/s^2 │ DER_XD_EXP │
│ 5 │ rev1.tau │ Float64 │ N*m │ WR │
│ 6 │ rev2.phi │ Float64 │ rad │ XD_EXP │
│ 7 │ rev2.w │ Float64 │ rad/s │ XD_EXP │
⋮
│ 17 │ frame.a │ SArray{Tuple{3},Float64,1,3} │ m/s^2 │ DER_XD_IMP │
│ 18 │ frame.z │ SArray{Tuple{3},Float64,1,3} │ rad/s^2 │ DER_XD_IMP │
│ 19 │ frame.f │ SArray{Tuple{3},Float64,1,3} │ N │ WR │
│ 20 │ frame.t │ SArray{Tuple{3},Float64,1,3} │ N*m │ WR │
│ 21 │ frame.residue_w │ SArray{Tuple{3},Float64,1,3} │ │ FD_IMP │
│ 22 │ frame.residue_f │ SArray{Tuple{3},Float64,1,3} │ │ FD_IMP │
│ 23 │ frame.residue_t │ SArray{Tuple{3},Float64,1,3} │ │ FD_IMP │
│ 24 │ frame.residue_q │ Float64 │ │ FC │
x vector:
│ Row │ x │ name │ fixed │ start │
│ │ Symbol │ Symbol │ Bool │ Union… │
├─────┼──────────┼──────────┼───────┼───────────────────────────┤
│ 1 │ x[1] │ rev1.phi │ 1 │ 1.0 │
│ 2 │ x[2] │ rev1.w │ 1 │ 0.0 │
│ 3 │ x[3] │ rev2.phi │ 1 │ 2.0 │
│ 4 │ x[4] │ rev2.w │ 1 │ 0.0 │
│ 5 │ x[5:7] │ frame.r │ 1 │ [1.0, 2.0, 3.0] │
│ 6 │ x[8:11] │ frame.q │ 1 │ [0.5, 0.5, 0.0, 0.707107] │
│ 7 │ x[12:14] │ frame.v │ 1 │ [0.0, 0.0, 0.0] │
│ 8 │ x[15:17] │ frame.w │ 1 │ [0.0, 0.0, 0.0] │
│ 9 │ x[18] │ var1 │ 0 │ 3.0 │
copy to variables:
│ Row │ source │ target │
│ │ Symbol │ Symbol │
├─────┼─────────────┼────────────┤
│ 1 │ x[1] │ rev1.phi │
│ 2 │ x[2] │ rev1.w │
│ 3 │ x[3] │ rev2.phi │
│ 4 │ x[4] │ rev2.w │
│ 5 │ x[5:7] │ frame.r │
│ 6 │ x[8:11] │ frame.q │
│ 7 │ x[12:14] │ frame.v │
│ 8 │ x[15:17] │ frame.w │
│ 9 │ x[18] │ var1 │
│ 10 │ derx[8:11] │ frame.derq │
│ 11 │ derx[12:14] │ frame.a │
│ 12 │ derx[15:17] │ frame.z │
copy to residue vector:
│ Row │ source │ target │
│ │ Symbol │ Symbol │
├─────┼─────────────────────┼────────────────┤
│ 1 │ derx[1] - rev1.w │ residue[1] │
│ 2 │ derx[2] - rev1.a │ residue[2] │
│ 3 │ derx[3] - rev2.w │ residue[3] │
│ 4 │ derx[4] - rev2.a │ residue[4] │
│ 5 │ derx[5:7] - frame.v │ residue[5:7] │
│ 6 │ res1 │ residue[8] │
│ 7 │ frame.residue_w │ residue[9:11] │
│ 8 │ frame.residue_f │ residue[12:14] │
│ 9 │ frame.residue_t │ residue[15:17] │
│ 10 │ frame.residue_q │ residue[18] │
copy to results:
│ Row │ source │ target │ start │
│ │ Symbol │ Symbol │ Union… │
├─────┼────────────┼───────────────┼───────────────────────────┤
│ 1 │ time │ result[1] │ 0.0 │
│ 2 │ rev1.phi │ result[2] │ 1.0 │
│ 3 │ rev1.w │ result[3] │ 0.0 │
│ 4 │ rev1.a │ result[4] │ 0.0 │
│ 5 │ rev1.tau │ result[5] │ 0.0 │
│ 6 │ rev2.phi │ result[6] │ 2.0 │
│ 7 │ rev2.w │ result[7] │ 0.0 │
⋮
│ 12 │ frame.q │ result[14:17] │ [0.5, 0.5, 0.0, 0.707107] │
│ 13 │ frame.derq │ result[18:21] │ [0.0, 0.0, 0.0, 0.0] │
│ 14 │ frame.v │ result[22:24] │ [0.0, 0.0, 0.0] │
│ 15 │ frame.w │ result[25:27] │ [0.0, 0.0, 0.0] │
│ 16 │ frame.a │ result[28:30] │ [0.0, 0.0, 0.0] │
│ 17 │ frame.z │ result[31:33] │ [0.0, 0.0, 0.0] │
│ 18 │ frame.f │ result[34:36] │ [0.0, 0.0, 0.0] │
│ 19 │ frame.t │ result[37:39] │ [0.0, 0.0, 0.0] │
... Copy start values to x
... Copy x and der_x to variables
... Copy variables to residues
residue = [0.0, -3.552713678800501e-15, 0.0, -7.105427357601002e-15, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
... robot2 = phi10 = 1.0
phi20 = 2.0
r0[1] = 0.0
r0[2] = 0.0
r0[3] = 0.0
q0[1] = 0.0
q0[2] = 0.0
q0[3] = 0.0
q0[4] = 1.0
rev1 = Revolute(
phi = 1.0 rad
w = 0.0 rad/s
a = 0.0 rad/s^2
tau = 0.0 N*m
)
rev2 = Revolute(
phi = 2.0 rad
w = 0.0 rad/s
a = 0.0 rad/s^2
tau = 0.0 N*m
)
frame = Revolute(
r = [0.0, 0.0, 0.0] m
q = [0.0, 0.0, 0.0, 1.0]
v = [0.0, 0.0, 0.0] m/s
w = [0.0, 0.0, 0.0] rad/s
a = [0.0, 0.0, 0.0] m/s^2
z = [0.0, 0.0, 0.0] rad/s^2
f = [0.0, 0.0, 0.0] N
t = [0.0, 0.0, 0.0] N*m
)
)
... Print variables of robot2
variables: . Omitted printing of 11 columns
│ Row │ name │ ValueType │ unit │ numericType │
│ │ Symbol │ Symbol │ String │ ModiaMat… │
├─────┼─────────────┼──────────────────────────────┼────────┼─────────────┤
│ 1 │ time │ Float64 │ s │ TIME │
│ 2 │ _dummy_x │ Float64 │ │ XD_EXP │
│ 3 │ _dummy_derx │ Float64 │ │ DER_XD_EXP │
│ 4 │ rev1.phi │ Float64 │ rad │ WR │
│ 5 │ rev2.phi │ Float64 │ rad │ WR │
│ 6 │ frame.r │ SArray{Tuple{3},Float64,1,3} │ m │ WR │
│ 7 │ frame.q │ SArray{Tuple{4},Float64,1,4} │ │ WR │
x vector:
│ Row │ x │ name │ fixed │ start │
│ │ Symbol │ Symbol │ Bool │ Union… │
├─────┼────────┼──────────┼───────┼────────┤
│ 1 │ x[1] │ _dummy_x │ 1 │ 0.0 │
copy to variables:
│ Row │ source │ target │
│ │ Symbol │ Symbol │
├─────┼────────┼──────────┤
│ 1 │ x[1] │ _dummy_x │
copy to residue vector:
│ Row │ source │ target │
│ │ Symbol │ Symbol │
├─────┼───────────────────────┼────────────┤
│ 1 │ derx[1] - _dummy_derx │ residue[1] │
copy to results:
│ Row │ source │ target │ start │
│ │ Symbol │ Symbol │ Union… │
├─────┼──────────┼──────────────┼──────────────────────┤
│ 1 │ time │ result[1] │ 0.0 │
│ 2 │ rev1.phi │ result[2] │ 1.0 │
│ 3 │ rev2.phi │ result[3] │ 2.0 │
│ 4 │ frame.r │ result[4:6] │ [0.0, 0.0, 0.0] │
│ 5 │ frame.q │ result[7:10] │ [0.0, 0.0, 0.0, 1.0] │
... Copy start values to x
... Copy x and der_x to variables
... Copy variables to residues
... robot3 = phi10 = 1.0
phi20 = 2.0
phi30 = -2.0
rev1 = Revolute(
phi = 1.0 rad
w = 0.0 rad/s
a = 0.0 rad/s^2
tau = 0.0 N*m
)
rev2 = Revolute(
phi = 2.0 rad
w = 0.0 rad/s
a = 0.0 rad/s^2
tau = 0.0 N*m
)
rev3 = Revolute(
phi = -2.0 rad
w = 0.0 rad/s
a = 0.0 rad/s^2
tau = 0.0 N*m
)
res1 = 0.0
)
... Print variables of robot3
variables: . Omitted printing of 9 columns
│ Row │ name │ ValueType │ unit │ numericType │ vec │ vecIndex │
│ │ Symbol │ Symbol │ String │ ModiaMat… │ Symbol │ Any │
├─────┼──────────┼───────────┼────────┼─────────────┼─────────┼──────────┤
│ 1 │ time │ Float64 │ s │ TIME │ │ 0 │
│ 2 │ rev1.phi │ Float64 │ rad │ WR │ │ 0 │
│ 3 │ rev2.phi │ Float64 │ rad │ WR │ │ 0 │
│ 4 │ rev3.phi │ Float64 │ rad │ XD_EXP │ x │ 1 │
│ 5 │ res1 │ Float64 │ │ FC │ residue │ 1 │
x vector:
│ Row │ x │ name │ fixed │ start │
│ │ Symbol │ Symbol │ Bool │ Union… │
├─────┼────────┼──────────┼───────┼────────┤
│ 1 │ x[1] │ rev3.phi │ 1 │ -2.0 │
copy to variables:
│ Row │ source │ target │
│ │ Symbol │ Symbol │
├─────┼────────┼──────────┤
│ 1 │ x[1] │ rev3.phi │
copy to residue vector:
│ Row │ source │ target │
│ │ Symbol │ Symbol │
├─────┼────────┼────────────┤
│ 1 │ res1 │ residue[1] │
copy to results:
│ Row │ source │ target │ start │
│ │ Symbol │ Symbol │ Union… │
├─────┼──────────┼───────────┼────────┤
│ 1 │ time │ result[1] │ 0.0 │
│ 2 │ rev1.phi │ result[2] │ 1.0 │
│ 3 │ rev2.phi │ result[3] │ 2.0 │
│ 4 │ rev3.phi │ result[4] │ -2.0 │
... Copy start values to x
... Copy x and der_x to variables
... Copy variables to residues
t_end = 2.8284271247461903
path.t = [0.0, 1.4142135623730951, 2.8284271247461903]
... time = 0.0, rt = [1.0, 0.0, 0.0]
... time = 0.1, rt = [0.9, 0.1, 0.0]
... time = 0.2, rt = [0.8, 0.2, 0.0]
... time = 0.30000000000000004, rt = [0.7, 0.30000000000000004, 0.0]
... time = 0.4, rt = [0.6, 0.4, 0.0]
... time = 0.5, rt = [0.5, 0.5, 0.0]
... time = 0.6, rt = [0.4, 0.6, 0.0]
... time = 0.7, rt = [0.30000000000000004, 0.7, 0.0]
... time = 0.7999999999999999, rt = [0.20000000000000007, 0.7999999999999999, 0.0]
... time = 0.8999999999999999, rt = [0.10000000000000009, 0.8999999999999999, 0.0]
... time = 0.9999999999999999, rt = [1.1102230246251565e-16, 0.9999999999999999, 0.0]
... time = 1.0999999999999999, rt = [0.0, 0.9000000000000002, 0.0999999999999998]
... time = 1.2, rt = [0.0, 0.8, 0.1999999999999999]
... time = 1.3, rt = [0.0, 0.7, 0.3]
... time = 1.4000000000000001, rt = [0.0, 0.5999999999999999, 0.40000000000000013]
... time = 1.5000000000000002, rt = [0.0, 0.4999999999999999, 0.5000000000000001]
... time = 1.6000000000000003, rt = [0.0, 0.3999999999999998, 0.6000000000000002]
... time = 1.7000000000000004, rt = [0.0, 0.2999999999999997, 0.7000000000000003]
... time = 1.8000000000000005, rt = [0.0, 0.19999999999999962, 0.8000000000000004]
... time = 1.9000000000000006, rt = [0.0, 0.09999999999999953, 0.9000000000000005]
... time = 2.0000000000000004, rt = [0.0, -2.220446049250313e-16, 1.0000000000000002]
... Results of Solve_SingleNonlinearEquations:
fun1:
analytical zero = 1.0000000000000000e+00
numerical zero = 1.0000000000000000e+00
absolute difference = 0.0000000000000000e+00
... Results of Solve_SingleNonlinearEquations:
fun2:
analytical zero = 6.4485440358400814e-01
numerical zero = 6.4485440358400814e-01
absolute difference = 0.0000000000000000e+00
... Results of Solve_SingleNonlinearEquations:
fun3:
analytical zero = 6.9368474072202186e+00
numerical zero = 6.9368474072202186e+00
absolute difference = 0.0000000000000000e+00
... ModiaMath.simulate! (version 0.5.2 2019-07-10) to simulate model: Pendulum
Initialization at time = 0.0 s
initial values:
│ x │ name │ start │ fixed │ nominal │
├───┼────────┼─────────┼───────┼─────────┤
│ 1 │ phi │ 1.5708 │ 1 │ 1.0 │
│ 2 │ w │ 0.0 │ 1 │ 1.0 │
for given x, compute der(x)
Simulation started
Simulation is terminated at time = 5.0 s
Statistics (get help with ?ModiaMath.SimulationStatistics):
structureOfDAE = DAE_ExplicitDerivatives
cpuTime = 1.8 s (init: 0.99 s, integration: 0.81 s)
startTime = 0.0 s
stopTime = 5.0 s
interval = 0.01 s
tolerance = 0.0001
nEquations = 2
nResults = 501
nSteps = 142
nResidues = 237 (includes residue calls for Jacobian)
nZeroCrossings = 0
nJac = 25
nTimeEvents = 0
nStateEvents = 0
nRestartEvents = 0
nErrTestFails = 6
h0 = 5.8e-07 s
hMin = 5.8e-07 s
hMax = 0.069 s
orderMax = 5
sparseSolver = false
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.simulate! (version 0.5.2 2019-07-10) to simulate model: Pendulum
Initialization at time = 0.0 s
initial values:
│ x │ name │ start │ fixed │ nominal │
├───┼────────┼─────────┼───────┼─────────┤
│ 1 │ phi │ 1.0472 │ 1 │ 1.0 │
│ 2 │ w │ 0.0 │ 1 │ 1.0 │
determine consistent DAE variables x,der(x) (with implicit Euler step; step size = 1.0e-8)
Simulation started
Simulation is terminated at time = 10.0 s
Statistics (get help with ?ModiaMath.SimulationStatistics):
structureOfDAE = DAE_NoSpecialStructure
cpuTime = 0.25 s (init: 0.24 s, integration: 0.016 s)
startTime = 0.0 s
stopTime = 10.0 s
interval = 0.1 s
tolerance = 1.0e-8
nEquations = 2
nResults = 101
nSteps = 1408
nResidues = 1684 (includes residue calls for Jacobian)
nZeroCrossings = 0
nJac = 28
nTimeEvents = 0
nStateEvents = 0
nRestartEvents = 0
nErrTestFails = 3
h0 = 4.2e-11 s
hMin = 4.2e-11 s
hMax = 0.016 s
orderMax = 5
sparseSolver = false
... ModiaMath.simulate! (version 0.5.2 2019-07-10) to simulate model: Pendulum
Initialization at time = 0.0 s
initial values:
│ x │ name │ start │ fixed │ nominal │
├───┼────────┼─────────┼───────┼─────────┤
│ 1 │ phi │ 1.0472 │ 1 │ 1.0 │
│ 2 │ w │ 0.0 │ 1 │ 1.0 │
for given x, compute der(x)
Simulation started
Simulation is terminated at time = 10.0 s
Statistics (get help with ?ModiaMath.SimulationStatistics):
structureOfDAE = DAE_ExplicitDerivatives
cpuTime = 0.017 s (init: 0.0013 s, integration: 0.016 s)
startTime = 0.0 s
stopTime = 10.0 s
interval = 0.1 s
tolerance = 1.0e-8
nEquations = 2
nResults = 101
nSteps = 1408
nResidues = 1687 (includes residue calls for Jacobian)
nZeroCrossings = 0
nJac = 29
nTimeEvents = 0
nStateEvents = 0
nRestartEvents = 0
nErrTestFails = 3
h0 = 4.2e-11 s
hMin = 4.2e-11 s
hMax = 0.016 s
orderMax = 5
sparseSolver = false
... ModiaMath.simulate! (version 0.5.2 2019-07-10) to simulate model: Pendulum
Initialization at time = 0.0 s
initial values:
│ x │ name │ start │ fixed │ nominal │
├───┼────────┼─────────┼───────┼─────────┤
│ 1 │ phi │ 1.0472 │ 1 │ 1.0 │
│ 2 │ w │ 0.0 │ 1 │ 1.0 │
for given x, determine consistent DAE variables der(x) (solving a linear equation system)
Simulation started
Simulation is terminated at time = 10.0 s
Statistics (get help with ?ModiaMath.SimulationStatistics):
structureOfDAE = DAE_LinearDerivativesAndConstraints
cpuTime = 0.017 s (init: 0.0014 s, integration: 0.016 s)
startTime = 0.0 s
stopTime = 10.0 s
interval = 0.1 s
tolerance = 1.0e-8
nEquations = 2 (includes 0 constraints)
nResults = 101
nSteps = 1408
nResidues = 1684 (includes residue calls for Jacobian)
nZeroCrossings = 0
nJac = 28
nTimeEvents = 0
nStateEvents = 0
nRestartEvents = 0
nErrTestFails = 3
h0 = 4.2e-11 s
hMin = 4.2e-11 s
hMax = 0.016 s
orderMax = 5
sparseSolver = false
... ModiaMath.simulate! (version 0.5.2 2019-07-10) to simulate model: FreeBodyRotation
Initialization at time = 0.0 s
initial values:
│ x │ name │ start │ fixed │ nominal │
├───┼────────┼─────────┼───────┼─────────┤
│ 1 │ q[1] │ 0.1 │ 0 │ 0.1 │
│ 2 │ q[2] │ 0.5 │ 0 │ 0.5 │
│ 3 │ q[3] │ 0.0 │ 0 │ 1.0 │
│ 4 │ q[4] │ 1.0 │ 0 │ 1.0 │
│ 5 │ w[1] │ 0.0 │ 1 │ 1.0 │
│ 6 │ w[2] │ 0.0 │ 1 │ 1.0 │
│ 7 │ w[3] │ 0.0 │ 1 │ 1.0 │
determine consistent DAE variables x,der(x) (with analytical integral over time instant)
q[1] = 0.1 changed to 0.08908708957321489
q[2] = 0.5 changed to 0.4454354478660758
q[4] = 1.0 changed to 0.8908708957321516
Simulation started
Simulation is terminated at time = 5.0 s
Statistics (get help with ?ModiaMath.SimulationStatistics):
structureOfDAE = DAE_LinearDerivativesAndConstraints
cpuTime = 1.3 s (init: 1.1 s, integration: 0.19 s)
startTime = 0.0 s
stopTime = 5.0 s
interval = 0.01 s
tolerance = 1.0e-6
nEquations = 7 (includes 1 constraints)
nResults = 501
nSteps = 601
nResidues = 1473 (includes residue calls for Jacobian)
nZeroCrossings = 0
nJac = 47
nTimeEvents = 0
nStateEvents = 0
nRestartEvents = 0
nErrTestFails = 10
h0 = 7.5e-08 s
hMin = 7.5e-08 s
hMax = 0.039 s
orderMax = 5
sparseSolver = false
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.simulate! (version 0.5.2 2019-07-10) to simulate model: FreeBodyRotation
Initialization at time = 0.0 s
initial values:
│ x │ name │ start │ fixed │ nominal │
├───┼────────┼─────────┼───────┼─────────┤
│ 1 │ q[1] │ 0.1 │ 0 │ 0.1 │
│ 2 │ q[2] │ 0.5 │ 0 │ 0.5 │
│ 3 │ q[3] │ 0.0 │ 0 │ 1.0 │
│ 4 │ q[4] │ 1.0 │ 0 │ 1.0 │
│ 5 │ w[1] │ 0.0 │ 1 │ 1.0 │
│ 6 │ w[2] │ 0.0 │ 1 │ 1.0 │
│ 7 │ w[3] │ 0.0 │ 1 │ 1.0 │
determine consistent DAE variables x,der(x) (with analytical integral over time instant)
q[1] = 0.1 changed to 0.0890870807438921
q[2] = 0.5 changed to 0.4454354037194605
q[4] = 1.0 changed to 0.890870807438921
Simulation started
Simulation is terminated at time = 5.0 s
Statistics (get help with ?ModiaMath.SimulationStatistics):
structureOfDAE = DAE_LinearDerivativesAndConstraints
cpuTime = 0.11 s (init: 0.0022 s, integration: 0.11 s)
startTime = 0.0 s
stopTime = 5.0 s
interval = 0.01 s
tolerance = 1.0e-8
nEquations = 7 (includes 1 constraints)
nResults = 501
nSteps = 1292
nResidues = 2653 (includes residue calls for Jacobian)
nZeroCrossings = 0
nJac = 79
nTimeEvents = 0
nStateEvents = 0
nRestartEvents = 0
nErrTestFails = 20
h0 = 7.5e-10 s
hMin = 7.5e-10 s
hMax = 0.018 s
orderMax = 5
sparseSolver = false
... ModiaMath.simulate! (version 0.5.2 2019-07-10) to simulate model: PendulumWithoutMacro
Initialization at time = 0.0 s
initial values:
│ x │ name │ start │ fixed │ nominal │
├───┼────────┼─────────┼───────┼─────────┤
│ 1 │ phi │ 1.5708 │ 1 │ 1.5708 │
│ 2 │ w │ 0.0 │ 1 │ 1.0 │
for given x, determine consistent DAE variables der(x) (solving a linear equation system)
Simulation started
Simulation is terminated at time = 5.0 s
Statistics (get help with ?ModiaMath.SimulationStatistics):
structureOfDAE = DAE_LinearDerivativesAndConstraints
cpuTime = 0.026 s (init: 0.02 s, integration: 0.0054 s)
startTime = 0.0 s
stopTime = 5.0 s
interval = 0.01 s
tolerance = 0.0001
nEquations = 2 (includes 0 constraints)
nResults = 501
nSteps = 137
nResidues = 218 (includes residue calls for Jacobian)
nZeroCrossings = 0
nJac = 21
nTimeEvents = 0
nStateEvents = 0
nRestartEvents = 0
nErrTestFails = 2
h0 = 5.8e-07 s
hMin = 5.8e-07 s
hMax = 0.081 s
orderMax = 5
sparseSolver = false
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.simulate! (version 0.5.2 2019-07-10) to simulate model: FreeBodyRotationWithoutMacro
Initialization at time = 0.0 s
initial values:
│ x │ name │ start │ fixed │ nominal │
├───┼────────┼─────────┼───────┼─────────┤
│ 1 │ q[1] │ 0.1 │ 0 │ 0.1 │
│ 2 │ q[2] │ 0.5 │ 0 │ 0.5 │
│ 3 │ q[3] │ 0.0 │ 0 │ 1.0 │
│ 4 │ q[4] │ 1.0 │ 0 │ 1.0 │
│ 5 │ w[1] │ 0.0 │ 1 │ 1.0 │
│ 6 │ w[2] │ 0.0 │ 1 │ 1.0 │
│ 7 │ w[3] │ 0.0 │ 1 │ 1.0 │
determine consistent DAE variables x,der(x) (with analytical integral over time instant)
q[1] = 0.1 changed to 0.0890870807438921
q[2] = 0.5 changed to 0.4454354037194605
q[4] = 1.0 changed to 0.890870807438921
Simulation started
Simulation is terminated at time = 5.0 s
Statistics (get help with ?ModiaMath.SimulationStatistics):
structureOfDAE = DAE_LinearDerivativesAndConstraints
cpuTime = 0.24 s (init: 0.16 s, integration: 0.084 s)
startTime = 0.0 s
stopTime = 5.0 s
interval = 0.01 s
tolerance = 1.0e-8
nEquations = 7 (includes 1 constraints)
nResults = 501
nSteps = 1247
nResidues = 2687 (includes residue calls for Jacobian)
nZeroCrossings = 0
nJac = 73
nTimeEvents = 0
nStateEvents = 0
nRestartEvents = 0
nErrTestFails = 21
h0 = 7.5e-10 s
hMin = 7.5e-10 s
hMax = 0.018 s
orderMax = 5
sparseSolver = false
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.simulate! (version 0.5.2 2019-07-10) to simulate model: PendulumWithoutMacro
Initialization at time = 0.0 s
initial values:
│ x │ name │ start │ fixed │ nominal │
├───┼────────┼─────────┼───────┼─────────┤
│ 1 │ phi │ 1.0472 │ 1 │ 1.0472 │
│ 2 │ w │ 0.0 │ 1 │ 1.0 │
for given x, determine consistent DAE variables der(x) (solving a linear equation system)
Simulation started
Simulation is terminated at time = 10.0 s
Statistics (get help with ?ModiaMath.SimulationStatistics):
structureOfDAE = DAE_LinearDerivativesAndConstraints
cpuTime = 0.013 s (init: 0.00058 s, integration: 0.012 s)
startTime = 0.0 s
stopTime = 10.0 s
interval = 0.1 s
tolerance = 1.0e-8
nEquations = 2 (includes 0 constraints)
nResults = 101
nSteps = 1383
nResidues = 1673 (includes residue calls for Jacobian)
nZeroCrossings = 0
nJac = 28
nTimeEvents = 0
nStateEvents = 0
nRestartEvents = 0
nErrTestFails = 3
h0 = 4.2e-11 s
hMin = 4.2e-11 s
hMax = 0.016 s
orderMax = 5
sparseSolver = false
... ModiaMath.simulate! (version 0.5.2 2019-07-10) to simulate model: FreeBodyRotationWithoutMacro
Initialization at time = 0.0 s
initial values:
│ x │ name │ start │ fixed │ nominal │
├───┼────────┼─────────┼───────┼─────────┤
│ 1 │ q[1] │ 0.1 │ 0 │ 0.1 │
│ 2 │ q[2] │ 0.5 │ 0 │ 0.5 │
│ 3 │ q[3] │ 0.0 │ 0 │ 1.0 │
│ 4 │ q[4] │ 1.0 │ 0 │ 1.0 │
│ 5 │ w[1] │ 0.0 │ 1 │ 1.0 │
│ 6 │ w[2] │ 0.0 │ 1 │ 1.0 │
│ 7 │ w[3] │ 0.0 │ 1 │ 1.0 │
determine consistent DAE variables x,der(x) (with analytical integral over time instant)
q[1] = 0.1 changed to 0.0890870807438921
q[2] = 0.5 changed to 0.4454354037194605
q[4] = 1.0 changed to 0.890870807438921
Simulation started
Simulation is terminated at time = 5.0 s
Statistics (get help with ?ModiaMath.SimulationStatistics):
structureOfDAE = DAE_LinearDerivativesAndConstraints
cpuTime = 0.066 s (init: 0.0023 s, integration: 0.064 s)
startTime = 0.0 s
stopTime = 5.0 s
interval = 0.01 s
tolerance = 1.0e-8
nEquations = 7 (includes 1 constraints)
nResults = 501
nSteps = 1247
nResidues = 2687 (includes residue calls for Jacobian)
nZeroCrossings = 0
nJac = 73
nTimeEvents = 0
nStateEvents = 0
nRestartEvents = 0
nErrTestFails = 21
h0 = 7.5e-10 s
hMin = 7.5e-10 s
hMax = 0.018 s
orderMax = 5
sparseSolver = false
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.simulate! (version 0.5.2 2019-07-10) to simulate model: PT1
Initialization at time = 0.0 s
initial values:
│ x │ name │ start │ fixed │ nominal │
├───┼────────┼─────────┼───────┼─────────┤
│ 1 │ x[1] │ 1.5 │ 0 │ 1.5 │
for given x, compute der(x)
Simulation started
Simulation is terminated at time = 10.0 s
Statistics (get help with ?ModiaMath.SimulationStatistics):
structureOfDAE = DAE_ExplicitDerivatives
cpuTime = 0.043 s (init: 0.042 s, integration: 0.00086 s)
startTime = 0.0 s