Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|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.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadModel(ModelicaTest): time 2.61/2.61, allocations: 249.5 MB / 261.6 MB, free: 2.145 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.315e-05, allocations: 8 kB / 323.4 MB, free: 4.297 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.392, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.5524, allocations: 104.3 MB / 486.5 MB, free: 4.164 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.5527, allocations: 75.97 kB / 486.6 MB, free: 4.09 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.678/1.231, allocations: 91.92 MB / 0.565 GB, free: 108.1 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.456e-06/1.231, allocations: 0 / 0.565 GB, free: 108.1 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001637/1.231, allocations: 77.22 kB / 0.565 GB, free: 108.1 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1720 * Number of variables: 1720 Notification: Performance of Generate backend data structure: time 0.01525/1.246, allocations: 4.316 MB / 0.5693 GB, free: 105.7 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.246, allocations: 11.16 kB / 0.5693 GB, free: 105.7 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01905/1.265, allocations: 3.579 MB / 0.5728 GB, free: 102.5 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/1.279, allocations: 4.725 MB / 0.5774 GB, free: 97.74 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/1.279, allocations: 336.4 kB / 0.5777 GB, free: 97.44 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/1.281, allocations: 448.9 kB / 0.5781 GB, free: 97.04 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02519/1.306, allocations: 11.36 MB / 0.5892 GB, free: 85.3 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001474/1.307, allocations: 19.81 kB / 0.5892 GB, free: 85.28 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009752/1.308, allocations: 208 kB / 0.5894 GB, free: 85.11 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001765/1.309, allocations: 1.247 MB / 0.5907 GB, free: 83.87 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02449/1.334, allocations: 10.83 MB / 0.6012 GB, free: 73.02 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05666/1.391, allocations: 38.12 MB / 0.6385 GB, free: 34.26 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009843/1.4, allocations: 4.636 MB / 0.643 GB, free: 29.39 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003408/1.404, allocations: 2.217 MB / 0.6452 GB, free: 27.17 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/1.405, allocations: 1.32 MB / 0.6464 GB, free: 25.64 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/1.405, allocations: 52.56 kB / 0.6465 GB, free: 25.58 MB / 458.8 MB Notification: Performance of pre-optimization done (n=244): time 7.073e-06/1.405, allocations: 4 kB / 0.6465 GB, free: 25.57 MB / 458.8 MB Notification: Performance of matching and sorting (n=256): time 0.04373/1.449, allocations: 11.28 MB / 0.6575 GB, free: 14.29 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/1.449, allocations: 77.34 kB / 0.6576 GB, free: 14.2 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00408/1.453, allocations: 2.503 MB / 0.66 GB, free: 11.68 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003902/1.453, allocations: 61.06 kB / 0.6601 GB, free: 11.62 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001612/1.455, allocations: 2.962 MB / 0.663 GB, free: 8.648 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000971/1.456, allocations: 0.9405 MB / 0.6639 GB, free: 7.715 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/1.456, allocations: 115.4 kB / 0.664 GB, free: 7.605 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000347/1.457, allocations: 0.5539 MB / 0.6645 GB, free: 7.043 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004043/1.461, allocations: 2.237 MB / 0.6667 GB, free: 4.801 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00674/1.468, allocations: 5.347 MB / 0.672 GB, free: 13.91 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007405/1.475, allocations: 3.515 MB / 0.6754 GB, free: 10.39 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.862e-05/1.475, allocations: 35.94 kB / 0.6754 GB, free: 10.36 MB / 474.8 MB Notification: Performance of matching and sorting (n=766) (initialization): time 0.02147/1.497, allocations: 8.011 MB / 0.6832 GB, free: 2.328 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.497, allocations: 52 kB / 0.6833 GB, free: 2.277 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/1.497, allocations: 116.1 kB / 0.6834 GB, free: 2.164 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004457/1.501, allocations: 1.025 MB / 0.6844 GB, free: 1.129 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006048/1.508, allocations: 1.318 MB / 0.6857 GB, free: 15.81 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003911/1.511, allocations: 2.462 MB / 0.6881 GB, free: 13.21 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005022/1.517, allocations: 311.2 kB / 0.6884 GB, free: 12.91 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/1.518, allocations: 343.9 kB / 0.6887 GB, free: 12.57 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * Number of states: 0 () * Number of discrete variables: 24 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (713): * Single equations (assignments): 704 * 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 {(3,100.0%),(2,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 prepare postOptimizeDAE: time 0.001186/1.519, allocations: 0.5247 MB / 0.6892 GB, free: 12.04 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006367/1.52, allocations: 284.2 kB / 0.6895 GB, free: 11.76 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/1.532, allocations: 4.854 MB / 0.6942 GB, free: 6.836 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001075/1.532, allocations: 47.98 kB / 0.6943 GB, free: 6.789 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.532, allocations: 0 / 0.6943 GB, free: 6.789 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.245e-05/1.532, allocations: 11.97 kB / 0.6943 GB, free: 6.777 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02988/1.562, allocations: 11.46 MB / 0.7055 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-05/1.562, allocations: 12 kB / 0.7055 GB, free: 11.16 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/1.565, allocations: 419.3 kB / 0.7059 GB, free: 10.75 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003464/1.568, allocations: 0.6078 MB / 0.7065 GB, free: 10.14 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005106/1.569, allocations: 55.94 kB / 0.7065 GB, free: 10.08 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003262/1.572, allocations: 2.069 MB / 0.7086 GB, free: 7.883 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.557e-05/1.572, allocations: 11.94 kB / 0.7086 GB, free: 7.871 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3523/1.924, allocations: 7.671 MB / 0.7161 GB, free: 136.2 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008409/1.925, allocations: 333.9 kB / 0.7164 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007211/1.926, allocations: 50.23 kB / 0.7164 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.928, allocations: 127 kB / 0.7166 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005199/1.928, allocations: 156.4 kB / 0.7167 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003012/1.929, allocations: 78.05 kB / 0.7168 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003782/1.932, allocations: 1.701 MB / 0.7184 GB, free: 136 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.185e-06/1.933, allocations: 1.312 kB / 0.7184 GB, free: 136 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005973/1.938, allocations: 0.9999 MB / 0.7194 GB, free: 136 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 198 * 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.0006187/1.939, allocations: 203.6 kB / 0.7196 GB, free: 135.9 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Joints.mo:1916:5-1918:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 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.3/Mechanics/MultiBody/Joints.mo:1913:5-1915:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01134/1.95, allocations: 5.727 MB / 0.7252 GB, free: 135.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.951, allocations: 0 / 0.7252 GB, free: 135.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005016/1.956, allocations: 2.324 MB / 0.7275 GB, free: 135.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/1.958, allocations: 386.3 kB / 0.7278 GB, free: 135.2 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/1.978, allocations: 9.251 MB / 0.7369 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006533/1.984, allocations: 3.617 MB / 0.7404 GB, free: 132.5 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006385/1.991, allocations: 2.075 MB / 0.7424 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.992, allocations: 229.2 kB / 0.7427 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of SimCode: time 1.668e-06/1.992, allocations: 0 / 0.7427 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of Templates: time 0.08356/2.075, allocations: 30.37 MB / 0.7723 GB, free: 124.7 MB / 0.4949 GB