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.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadModel(ModelicaTest): time 2.375/2.375, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.16e-05/5.164e-05, allocations: 4 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.369, allocations: 54.85 MB / 359.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.5598, allocations: 97.9 MB / 457.7 MB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/0.5602, allocations: 75.95 kB / 457.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.691/1.251, allocations: 90.96 MB / 0.5359 GB, free: 105.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.197e-06/1.251, allocations: 1.219 kB / 0.5359 GB, free: 105.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002254/1.252, allocations: 85.94 kB / 0.5359 GB, free: 105.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1717 * Number of variables: 1717 Notification: Performance of Generate backend data structure: time 0.01676/1.268, allocations: 4.296 MB / 0.5401 GB, free: 103.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.268, allocations: 9.531 kB / 0.5401 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02159/1.29, allocations: 3.577 MB / 0.5436 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/1.305, allocations: 4.698 MB / 0.5482 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004353/1.305, allocations: 338.7 kB / 0.5486 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002275/1.308, allocations: 452.1 kB / 0.549 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/1.334, allocations: 11.35 MB / 0.5601 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/1.334, allocations: 27.41 kB / 0.5601 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/1.335, allocations: 202.6 kB / 0.5603 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001837/1.337, allocations: 1.247 MB / 0.5615 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02479/1.362, allocations: 10.82 MB / 0.5721 GB, free: 98.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05922/1.421, allocations: 38.02 MB / 0.6092 GB, free: 73.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/1.432, allocations: 4.632 MB / 0.6137 GB, free: 69.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003609/1.436, allocations: 2.215 MB / 0.6159 GB, free: 67.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.437, allocations: 1.322 MB / 0.6172 GB, free: 65.65 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/1.437, allocations: 56.59 kB / 0.6172 GB, free: 65.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=244): time 6.516e-06/1.437, allocations: 3.469 kB / 0.6172 GB, free: 65.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=256): time 0.04164/1.479, allocations: 11.27 MB / 0.6282 GB, free: 56.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/1.479, allocations: 77.36 kB / 0.6283 GB, free: 56.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/1.483, allocations: 2.485 MB / 0.6307 GB, free: 54.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003949/1.484, allocations: 57.61 kB / 0.6308 GB, free: 54.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/1.485, allocations: 2.952 MB / 0.6337 GB, free: 51.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001005/1.486, allocations: 0.9431 MB / 0.6346 GB, free: 50.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/1.487, allocations: 115.7 kB / 0.6347 GB, free: 50.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003654/1.487, allocations: 0.5539 MB / 0.6352 GB, free: 49.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004065/1.491, allocations: 2.225 MB / 0.6374 GB, free: 47.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005755/1.497, allocations: 5.324 MB / 0.6426 GB, free: 40.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005962/1.503, allocations: 3.515 MB / 0.6461 GB, free: 36.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.396e-05/1.503, allocations: 32 kB / 0.6461 GB, free: 36.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02595/1.529, allocations: 7.976 MB / 0.6539 GB, free: 28.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/1.529, allocations: 56.03 kB / 0.6539 GB, free: 28.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002168/1.53, allocations: 111.4 kB / 0.654 GB, free: 28.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008245/1.538, allocations: 1.036 MB / 0.655 GB, free: 27.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01149/1.549, allocations: 1.31 MB / 0.6563 GB, free: 26.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/1.555, allocations: 2.474 MB / 0.6587 GB, free: 23.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009896/1.565, allocations: 315.6 kB / 0.659 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/1.567, allocations: 331.9 kB / 0.6594 GB, free: 23.13 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * Number of states: 0 () * Number of discrete variables: 21 (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 (710): * Single equations (assignments): 701 * 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.001773/1.569, allocations: 0.5217 MB / 0.6599 GB, free: 22.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00097/1.57, allocations: 280.3 kB / 0.6601 GB, free: 22.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02113/1.591, allocations: 4.854 MB / 0.6649 GB, free: 17.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001472/1.591, allocations: 40 kB / 0.6649 GB, free: 17.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.591, allocations: 8 kB / 0.6649 GB, free: 17.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.835e-05/1.591, allocations: 15.91 kB / 0.6649 GB, free: 17.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03885/1.63, allocations: 11.44 MB / 0.6761 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/1.63, allocations: 8.938 kB / 0.6761 GB, free: 5.762 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/1.633, allocations: 419.3 kB / 0.6765 GB, free: 5.352 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003197/1.636, allocations: 0.6149 MB / 0.6771 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004465/1.636, allocations: 59.73 kB / 0.6772 GB, free: 4.676 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/1.639, allocations: 2.069 MB / 0.6792 GB, free: 2.477 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/1.639, allocations: 11.94 kB / 0.6792 GB, free: 2.465 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/1.654, allocations: 7.649 MB / 0.6867 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009018/1.654, allocations: 329.3 kB / 0.687 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005534/1.655, allocations: 55.81 kB / 0.687 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.657, allocations: 130.8 kB / 0.6872 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004001/1.657, allocations: 157.7 kB / 0.6873 GB, free: 9.754 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002672/1.657, allocations: 83.92 kB / 0.6874 GB, free: 9.672 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003429/1.661, allocations: 1.682 MB / 0.689 GB, free: 7.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.57e-07/1.661, allocations: 0 / 0.689 GB, free: 7.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005866/1.667, allocations: 0.9998 MB / 0.69 GB, free: 6.984 MB / 474.7 MB 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.0005662/1.667, allocations: 195.5 kB / 0.6902 GB, free: 6.789 MB / 474.7 MB [/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 $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.2/Mechanics/MultiBody/Joints.mo:1952:5-1954: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.01292/1.68, allocations: 5.717 MB / 0.6958 GB, free: 1.043 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.68, allocations: 4 kB / 0.6958 GB, free: 1.039 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2633/1.944, allocations: 2.316 MB / 0.698 GB, free: 110 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/1.946, allocations: 386.1 kB / 0.6984 GB, free: 110 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02265/1.969, allocations: 9.225 MB / 0.7074 GB, free: 108.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008438/1.977, allocations: 3.611 MB / 0.7109 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007158/1.985, allocations: 2.067 MB / 0.713 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/1.986, allocations: 229.7 kB / 0.7132 GB, free: 107.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.842e-06/1.986, allocations: 1.156 kB / 0.7132 GB, free: 107.3 MB / 474.7 MB Notification: Performance of Templates: time 0.09028/2.076, allocations: 30.24 MB / 0.7427 GB, free: 105.5 MB / 474.7 MB