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.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.151e-05, allocations: 3.125 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3891, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.05283/0.4419, allocations: 33.58 MB / 396.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0251/0.4671, allocations: 7.961 MB / 404.4 MB, free: 4.129 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008075/0.4752, allocations: 179.6 kB / 404.6 MB, free: 3.953 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007825/0.4831, allocations: 1.797 MB / 406.4 MB, free: 2.148 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02902/0.5122, allocations: 4.912 MB / 411.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005034/0.5173, allocations: 475.2 kB / 411.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007611/0.525, allocations: 1.68 MB / 413.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01227/0.5373, allocations: 3.788 MB / 417.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.5403, allocations: 0.8259 MB / 418.1 MB, free: 6.434 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.5447, allocations: 1.313 MB / 419.4 MB, free: 5.117 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004359/0.5492, allocations: 0.8816 MB / 420.2 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.5509, allocations: 132 kB / 420.4 MB, free: 4.105 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004053/0.5551, allocations: 1.617 MB / 422 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002236/0.5574, allocations: 276 kB / 422.3 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01506/0.5725, allocations: 6.34 MB / 428.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5726, allocations: 0 / 428.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.918e-06/0.5726, allocations: 0 / 428.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003142/0.5729, allocations: 0 / 428.6 MB, free: 11.86 MB / 362.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.02305/0.596, allocations: 4.549 MB / 433.1 MB, free: 7.242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.5961, allocations: 8.031 kB / 433.2 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03451/0.6306, allocations: 3.854 MB / 437 MB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01269/0.6434, allocations: 2.539 MB / 439.6 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005924/0.6441, allocations: 266.8 kB / 439.8 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002625/0.6467, allocations: 355.7 kB / 440.2 MB, free: 172 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04371/0.6905, allocations: 12.64 MB / 452.8 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/0.6907, allocations: 27.72 kB / 452.8 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001735/0.6925, allocations: 167.8 kB / 453 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008163/0.7007, allocations: 2.743 MB / 455.7 MB, free: 124 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03865/0.7394, allocations: 11.59 MB / 467.3 MB, free: 4.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4292/1.169, allocations: 40.23 MB / 0.4956 GB, free: 97.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01611/1.185, allocations: 4.892 MB / 0.5004 GB, free: 95.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01574/1.201, allocations: 6.555 MB / 0.5068 GB, free: 93.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/1.201, allocations: 54.19 kB / 0.5069 GB, free: 93.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=231): time 6.742e-06/1.201, allocations: 3.844 kB / 0.5069 GB, free: 93.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=252): time 0.08535/1.286, allocations: 19.58 MB / 0.526 GB, free: 83.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/1.286, allocations: 76.97 kB / 0.5261 GB, free: 83.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005322/1.291, allocations: 2.941 MB / 0.5289 GB, free: 80.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005523/1.292, allocations: 53.7 kB / 0.529 GB, free: 80.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/1.294, allocations: 3.292 MB / 0.5322 GB, free: 76.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001314/1.296, allocations: 0.9376 MB / 0.5331 GB, free: 75.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006229/1.296, allocations: 120.5 kB / 0.5332 GB, free: 75.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004244/1.297, allocations: 0.5729 MB / 0.5338 GB, free: 75.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005954/1.303, allocations: 2.46 MB / 0.5362 GB, free: 72.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007842/1.311, allocations: 5.824 MB / 0.5419 GB, free: 65.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00895/1.32, allocations: 3.78 MB / 0.5456 GB, free: 61.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/1.32, allocations: 40 kB / 0.5456 GB, free: 61.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.04516/1.365, allocations: 10.12 MB / 0.5555 GB, free: 51.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/1.365, allocations: 61.12 kB / 0.5556 GB, free: 51.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001955/1.365, allocations: 116 kB / 0.5557 GB, free: 51.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02218/1.388, allocations: 2.414 MB / 0.558 GB, free: 48.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/1.398, allocations: 1.353 MB / 0.5593 GB, free: 47.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02956/1.428, allocations: 11.18 MB / 0.5703 GB, free: 36.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006063/1.434, allocations: 337.8 kB / 0.5706 GB, free: 35.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/1.435, allocations: 356 kB / 0.5709 GB, free: 35.57 MB / 426.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.005639/1.441, allocations: 2.393 MB / 0.5733 GB, free: 33.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007104/1.441, allocations: 308 kB / 0.5736 GB, free: 32.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/1.453, allocations: 4.647 MB / 0.5781 GB, free: 28.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-05/1.453, allocations: 53 kB / 0.5781 GB, free: 28.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.453, allocations: 0 / 0.5781 GB, free: 28.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.956e-05/1.454, allocations: 11.91 kB / 0.5782 GB, free: 28.09 MB / 426.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.02875/1.482, allocations: 11 MB / 0.5889 GB, free: 16.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/1.482, allocations: 4 kB / 0.5889 GB, free: 16.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003745/1.486, allocations: 415.4 kB / 0.5893 GB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003501/1.49, allocations: 0.6935 MB / 0.59 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005188/1.49, allocations: 55.97 kB / 0.59 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003876/1.494, allocations: 2.447 MB / 0.5924 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.494, allocations: 4 kB / 0.5924 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/1.511, allocations: 7.474 MB / 0.5997 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/1.513, allocations: 353 kB / 0.6001 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/1.514, allocations: 47.98 kB / 0.6001 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00315/1.517, allocations: 143.4 kB / 0.6002 GB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005245/1.518, allocations: 137.7 kB / 0.6004 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/1.518, allocations: 75.97 kB / 0.6004 GB, free: 4.754 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004146/1.522, allocations: 2.002 MB / 0.6024 GB, free: 2.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.522, allocations: 3.938 kB / 0.6024 GB, free: 2.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006385/1.529, allocations: 1.15 MB / 0.6035 GB, free: 1.609 MB / 426.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.0009434/1.53, allocations: 203.5 kB / 0.6037 GB, free: 1.402 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1952:5-1954: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.2/Mechanics/MultiBody/Joints.mo:1958:5-1960: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.2/Mechanics/MultiBody/Joints.mo:1955:5-1957: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.01624/1.546, allocations: 6.142 MB / 0.6097 GB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/1.546, allocations: 4 kB / 0.6097 GB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007978/1.554, allocations: 2.529 MB / 0.6122 GB, free: 8.684 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/1.557, allocations: 420.1 kB / 0.6126 GB, free: 8.277 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03227/1.589, allocations: 13.42 MB / 0.6257 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00772/1.597, allocations: 3.873 MB / 0.6295 GB, free: 6.867 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009743/1.607, allocations: 2.064 MB / 0.6315 GB, free: 4.793 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/1.609, allocations: 239.4 kB / 0.6317 GB, free: 4.559 MB / 458.7 MB Notification: Performance of SimCode: time 2.435e-06/1.609, allocations: 3.938 kB / 0.6317 GB, free: 4.555 MB / 458.7 MB Notification: Performance of Templates: time 0.1289/1.738, allocations: 39.72 MB / 0.6705 GB, free: 12.93 MB / 0.4948 GB