Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadModel(ModelicaTest): time 1.965/1.965, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.125e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3569, allocations: 48.69 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.05436/0.4113, allocations: 33.56 MB / 358.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02551/0.4369, allocations: 7.947 MB / 366.4 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009127/0.4461, allocations: 175.6 kB / 366.6 MB, free: 5.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00892/0.4551, allocations: 1.793 MB / 368.3 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02339/0.4785, allocations: 4.92 MB / 373.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003472/0.482, allocations: 491.1 kB / 373.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00564/0.4877, allocations: 1.658 MB / 375.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008241/0.496, allocations: 3.818 MB / 379.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.4981, allocations: 0.8103 MB / 380 MB, free: 8.195 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002944/0.5011, allocations: 1.325 MB / 381.4 MB, free: 6.867 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.504, allocations: 0.87 MB / 382.2 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009985/0.505, allocations: 132 kB / 382.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002415/0.5075, allocations: 1.621 MB / 384 MB, free: 4.238 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.5089, allocations: 272 kB / 384.2 MB, free: 3.973 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.5198, allocations: 6.34 MB / 390.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5198, allocations: 0 / 390.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5199, allocations: 8 kB / 390.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003155/0.5202, allocations: 0 / 390.6 MB, free: 13.61 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.01583/0.536, allocations: 4.545 MB / 395.1 MB, free: 8.996 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5361, allocations: 8.031 kB / 395.1 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02397/0.5601, allocations: 3.854 MB / 399 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009137/0.5693, allocations: 2.531 MB / 401.5 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004037/0.5697, allocations: 266.8 kB / 401.8 MB, free: 2.277 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002038/0.5718, allocations: 355.7 kB / 402.1 MB, free: 1.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03465/0.6065, allocations: 12.64 MB / 414.8 MB, free: 4.816 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001761/0.6067, allocations: 39.64 kB / 414.8 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001165/0.6079, allocations: 163.8 kB / 415 MB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007992/0.6159, allocations: 2.743 MB / 417.7 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03797/0.6539, allocations: 11.59 MB / 429.3 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0923/0.7463, allocations: 40.21 MB / 469.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01702/0.7633, allocations: 4.877 MB / 474.4 MB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01593/0.7793, allocations: 6.571 MB / 481 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/0.7794, allocations: 52.5 kB / 481 MB, free: 1.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=231): time 7.624e-06/0.7795, allocations: 4 kB / 481 MB, free: 1.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.3925/1.172, allocations: 19.56 MB / 0.4889 GB, free: 120.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/1.172, allocations: 76.59 kB / 0.4889 GB, free: 120.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005615/1.178, allocations: 2.95 MB / 0.4918 GB, free: 119.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005057/1.178, allocations: 59.33 kB / 0.4919 GB, free: 119.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00247/1.181, allocations: 3.283 MB / 0.4951 GB, free: 117.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001336/1.182, allocations: 0.9494 MB / 0.496 GB, free: 116.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005348/1.183, allocations: 119.6 kB / 0.4961 GB, free: 116.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003781/1.183, allocations: 0.5724 MB / 0.4967 GB, free: 115.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005762/1.189, allocations: 2.459 MB / 0.4991 GB, free: 115.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00837/1.197, allocations: 5.827 MB / 0.5048 GB, free: 109.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008065/1.205, allocations: 3.787 MB / 0.5085 GB, free: 107.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-05/1.206, allocations: 32 kB / 0.5085 GB, free: 107.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.03284/1.238, allocations: 10.11 MB / 0.5184 GB, free: 98.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.248e-05/1.239, allocations: 55.59 kB / 0.5184 GB, free: 98.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/1.239, allocations: 120 kB / 0.5185 GB, free: 97.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01592/1.255, allocations: 2.424 MB / 0.5209 GB, free: 95.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007907/1.263, allocations: 1.353 MB / 0.5222 GB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02983/1.292, allocations: 11.17 MB / 0.5331 GB, free: 82.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006312/1.299, allocations: 324.5 kB / 0.5334 GB, free: 82.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.3, allocations: 364.8 kB / 0.5338 GB, free: 82.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 726 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.005503/1.305, allocations: 2.403 MB / 0.5361 GB, free: 79.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007844/1.306, allocations: 304 kB / 0.5364 GB, free: 79.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/1.319, allocations: 4.648 MB / 0.541 GB, free: 74.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.844e-05/1.319, allocations: 51.11 kB / 0.541 GB, free: 74.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/1.319, allocations: 4 kB / 0.541 GB, free: 74.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.626e-05/1.319, allocations: 11.95 kB / 0.541 GB, free: 74.74 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02884/1.348, allocations: 10.99 MB / 0.5518 GB, free: 63.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/1.348, allocations: 7.938 kB / 0.5518 GB, free: 63.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003621/1.351, allocations: 411.4 kB / 0.5522 GB, free: 63.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003477/1.355, allocations: 0.6947 MB / 0.5528 GB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003835/1.355, allocations: 56.7 kB / 0.5529 GB, free: 62.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003802/1.359, allocations: 2.449 MB / 0.5553 GB, free: 59.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.359, allocations: 7.953 kB / 0.5553 GB, free: 59.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.375, allocations: 7.484 MB / 0.5626 GB, free: 52.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.377, allocations: 361.1 kB / 0.5629 GB, free: 51.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/1.378, allocations: 47.94 kB / 0.563 GB, free: 51.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/1.38, allocations: 149.1 kB / 0.5631 GB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005125/1.381, allocations: 137.7 kB / 0.5633 GB, free: 51.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/1.381, allocations: 65.62 kB / 0.5633 GB, free: 51.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004359/1.385, allocations: 2.01 MB / 0.5653 GB, free: 49.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.385, allocations: 4 kB / 0.5653 GB, free: 49.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006688/1.392, allocations: 1.147 MB / 0.5664 GB, free: 48.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009947/1.393, allocations: 193.4 kB / 0.5666 GB, free: 48.05 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:1984:5-1986:161:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:1990:5-1992:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:1987:5-1989:161:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01452/1.408, allocations: 6.144 MB / 0.5726 GB, free: 41.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.408, allocations: 0 / 0.5726 GB, free: 41.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007035/1.415, allocations: 2.53 MB / 0.5751 GB, free: 39.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/1.418, allocations: 416 kB / 0.5755 GB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02732/1.446, allocations: 13.44 MB / 0.5886 GB, free: 25.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00623/1.452, allocations: 3.869 MB / 0.5924 GB, free: 21.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007995/1.46, allocations: 2.072 MB / 0.5944 GB, free: 19.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/1.461, allocations: 243.4 kB / 0.5946 GB, free: 19.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/1.461, allocations: 0 / 0.5946 GB, free: 19.2 MB / 410.7 MB Notification: Performance of Templates: time 0.4296/1.891, allocations: 39.7 MB / 0.6334 GB, free: 121.9 MB / 426.7 MB