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.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadModel(ModelicaTest): time 1.85/1.85, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.245e-05, allocations: 4 kB / 273.1 MB, free: 3.176 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.093, allocations: 48.7 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.365/0.458, allocations: 91.16 MB / 412.9 MB, free: 3.426 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.4583, allocations: 72.88 kB / 413 MB, free: 3.418 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.439/0.8973, allocations: 90.95 MB / 0.4922 GB, free: 44 kB / 394.7 MB Notification: Performance of FrontEnd: time 3.89e-06/0.8974, allocations: 0 / 0.4922 GB, free: 44 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003339/0.8978, allocations: 84.03 kB / 0.4922 GB, free: 15.96 MB / 410.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.02872/0.9265, allocations: 4.286 MB / 0.4964 GB, free: 11.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.9266, allocations: 12.03 kB / 0.4964 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02442/0.9511, allocations: 3.585 MB / 0.4999 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02618/0.9773, allocations: 4.698 MB / 0.5045 GB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000719/0.9781, allocations: 336.8 kB / 0.5048 GB, free: 2.914 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002179/0.9803, allocations: 451.8 kB / 0.5053 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03427/1.015, allocations: 11.34 MB / 0.5163 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/1.015, allocations: 35.66 kB / 0.5164 GB, free: 6.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009623/1.016, allocations: 199.9 kB / 0.5166 GB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002282/1.018, allocations: 1.255 MB / 0.5178 GB, free: 5.172 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3009/1.319, allocations: 10.81 MB / 0.5284 GB, free: 91.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1013/1.42, allocations: 38.03 MB / 0.5655 GB, free: 77.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/1.434, allocations: 4.629 MB / 0.57 GB, free: 75.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003858/1.438, allocations: 2.221 MB / 0.5722 GB, free: 74.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.439, allocations: 1.32 MB / 0.5735 GB, free: 73.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.439, allocations: 52.19 kB / 0.5735 GB, free: 73.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 7.478e-06/1.439, allocations: 0 / 0.5735 GB, free: 73.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.04382/1.483, allocations: 11.28 MB / 0.5845 GB, free: 70.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/1.483, allocations: 71.44 kB / 0.5846 GB, free: 70.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/1.487, allocations: 2.485 MB / 0.587 GB, free: 69.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003754/1.487, allocations: 57.45 kB / 0.5871 GB, free: 69.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/1.489, allocations: 2.958 MB / 0.59 GB, free: 67.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008594/1.49, allocations: 0.9385 MB / 0.5909 GB, free: 66.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/1.49, allocations: 112.1 kB / 0.591 GB, free: 66.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003258/1.49, allocations: 0.5513 MB / 0.5915 GB, free: 66.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00406/1.494, allocations: 2.23 MB / 0.5937 GB, free: 65.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005533/1.5, allocations: 5.33 MB / 0.5989 GB, free: 60.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006177/1.506, allocations: 3.506 MB / 0.6023 GB, free: 59.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.831e-05/1.506, allocations: 32.78 kB / 0.6024 GB, free: 59.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01823/1.525, allocations: 7.988 MB / 0.6102 GB, free: 57.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.315e-05/1.525, allocations: 54.75 kB / 0.6102 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/1.525, allocations: 113 kB / 0.6103 GB, free: 57.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004441/1.529, allocations: 1.03 MB / 0.6113 GB, free: 56.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005921/1.535, allocations: 1.316 MB / 0.6126 GB, free: 55.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/1.538, allocations: 2.46 MB / 0.615 GB, free: 53.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00491/1.543, allocations: 318.2 kB / 0.6153 GB, free: 53.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008016/1.544, allocations: 327.2 kB / 0.6156 GB, free: 52.7 MB / 426.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.0009389/1.545, allocations: 0.5203 MB / 0.6161 GB, free: 52.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005204/1.545, allocations: 280.3 kB / 0.6164 GB, free: 51.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01856/1.564, allocations: 4.855 MB / 0.6212 GB, free: 47.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001417/1.564, allocations: 50.02 kB / 0.6212 GB, free: 47.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/1.564, allocations: 4 kB / 0.6212 GB, free: 47.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.303e-05/1.564, allocations: 9.656 kB / 0.6212 GB, free: 47.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02956/1.594, allocations: 11.44 MB / 0.6324 GB, free: 38.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/1.594, allocations: 15.56 kB / 0.6324 GB, free: 38.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/1.596, allocations: 414.4 kB / 0.6328 GB, free: 37.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/1.599, allocations: 0.6071 MB / 0.6334 GB, free: 37.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003159/1.6, allocations: 55.09 kB / 0.6334 GB, free: 37.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/1.602, allocations: 2.074 MB / 0.6355 GB, free: 35.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/1.602, allocations: 15.94 kB / 0.6355 GB, free: 35.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.614, allocations: 7.661 MB / 0.643 GB, free: 28.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007259/1.615, allocations: 329.1 kB / 0.6433 GB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006468/1.616, allocations: 48.94 kB / 0.6433 GB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.617, allocations: 127.6 kB / 0.6434 GB, free: 27.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003431/1.618, allocations: 163.6 kB / 0.6436 GB, free: 27.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/1.618, allocations: 80.2 kB / 0.6437 GB, free: 27.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002751/1.621, allocations: 1.685 MB / 0.6453 GB, free: 26.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.49e-07/1.621, allocations: 0 / 0.6453 GB, free: 26.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005276/1.626, allocations: 0.9978 MB / 0.6463 GB, free: 25.08 MB / 426.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.0004998/1.627, allocations: 198.6 kB / 0.6465 GB, free: 24.89 MB / 426.7 MB [/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 $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.1/Mechanics/MultiBody/Joints.mo:1984:5-1986: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.01045/1.637, allocations: 5.72 MB / 0.6521 GB, free: 19.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.637, allocations: 0 / 0.6521 GB, free: 19.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004553/1.642, allocations: 2.328 MB / 0.6543 GB, free: 17.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/1.644, allocations: 393.5 kB / 0.6547 GB, free: 17.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/1.661, allocations: 9.219 MB / 0.6637 GB, free: 8.648 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00462/1.666, allocations: 3.606 MB / 0.6672 GB, free: 5.031 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005854/1.672, allocations: 2.068 MB / 0.6693 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009938/1.673, allocations: 231.4 kB / 0.6695 GB, free: 2.746 MB / 426.7 MB Notification: Performance of SimCode: time 1.624e-06/1.673, allocations: 0 / 0.6695 GB, free: 2.746 MB / 426.7 MB Notification: Performance of Templates: time 0.3709/2.044, allocations: 30.22 MB / 0.699 GB, free: 100.6 MB / 442.7 MB