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.4/2.4, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.392e-05, allocations: 4 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3241, allocations: 54.85 MB / 359.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.4796, allocations: 101.6 MB / 461.4 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.4799, allocations: 75.95 kB / 461.5 MB, free: 11.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7586/1.238, allocations: 97.92 MB / 0.5463 GB, free: 105.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.472e-06/1.239, allocations: 0 / 0.5463 GB, free: 105.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002141/1.239, allocations: 91.19 kB / 0.5464 GB, free: 105.1 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: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.01807/1.257, allocations: 4.655 MB / 0.5509 GB, free: 103.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.257, allocations: 10.73 kB / 0.551 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01961/1.277, allocations: 3.615 MB / 0.5545 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/1.291, allocations: 4.905 MB / 0.5593 GB, free: 102.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004359/1.292, allocations: 376.6 kB / 0.5596 GB, free: 102.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002412/1.294, allocations: 0.4892 MB / 0.5601 GB, free: 102.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03055/1.325, allocations: 12.09 MB / 0.5719 GB, free: 99.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001993/1.325, allocations: 41.44 kB / 0.572 GB, free: 99.13 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001537/1.327, allocations: 231.6 kB / 0.5722 GB, free: 99 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002385/1.329, allocations: 1.317 MB / 0.5735 GB, free: 98.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/1.356, allocations: 11.23 MB / 0.5844 GB, free: 95.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06392/1.42, allocations: 41.97 MB / 0.6254 GB, free: 60.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/1.432, allocations: 4.822 MB / 0.6301 GB, free: 55.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003778/1.435, allocations: 2.362 MB / 0.6324 GB, free: 53.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/1.447, allocations: 6.588 MB / 0.6389 GB, free: 46.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/1.447, allocations: 52.56 kB / 0.6389 GB, free: 46.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=231): time 6.712e-06/1.447, allocations: 0 / 0.6389 GB, free: 46.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=252): time 0.05856/1.506, allocations: 16.09 MB / 0.6546 GB, free: 30.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/1.506, allocations: 69.41 kB / 0.6547 GB, free: 30.19 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004843/1.511, allocations: 2.813 MB / 0.6574 GB, free: 27.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004052/1.511, allocations: 57.7 kB / 0.6575 GB, free: 27.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001987/1.513, allocations: 3.285 MB / 0.6607 GB, free: 24.01 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.514, allocations: 0.9435 MB / 0.6616 GB, free: 23.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005933/1.515, allocations: 120 kB / 0.6617 GB, free: 22.96 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004411/1.516, allocations: 0.5705 MB / 0.6623 GB, free: 22.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004605/1.52, allocations: 2.414 MB / 0.6647 GB, free: 19.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006365/1.527, allocations: 5.736 MB / 0.6703 GB, free: 12.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00654/1.533, allocations: 3.773 MB / 0.6739 GB, free: 8.785 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-05/1.533, allocations: 36 kB / 0.674 GB, free: 8.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.02452/1.558, allocations: 9.622 MB / 0.6834 GB, free: 15.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.558, allocations: 56 kB / 0.6834 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001635/1.558, allocations: 119 kB / 0.6835 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01153/1.57, allocations: 2.342 MB / 0.6858 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006079/1.576, allocations: 1.361 MB / 0.6872 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02455/1.6, allocations: 10.62 MB / 0.6975 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005712/1.606, allocations: 323.8 kB / 0.6978 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2742/1.88, allocations: 353.4 kB / 0.6982 GB, free: 105.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * 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 (733): * Single equations (assignments): 725 * 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.001399/1.882, allocations: 0.543 MB / 0.6987 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/1.882, allocations: 302.8 kB / 0.699 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/1.893, allocations: 4.595 MB / 0.7035 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-05/1.893, allocations: 45.27 kB / 0.7035 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.893, allocations: 2.406 kB / 0.7035 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.785e-05/1.893, allocations: 11.67 kB / 0.7035 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02573/1.919, allocations: 10.78 MB / 0.7141 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/1.919, allocations: 6.531 kB / 0.7141 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002528/1.921, allocations: 419.3 kB / 0.7145 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/1.924, allocations: 0.6903 MB / 0.7151 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003841/1.924, allocations: 52.89 kB / 0.7152 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/1.928, allocations: 2.411 MB / 0.7175 GB, free: 103.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/1.928, allocations: 3.906 kB / 0.7176 GB, free: 103.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/1.94, allocations: 7.397 MB / 0.7248 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000862/1.941, allocations: 357.1 kB / 0.7251 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006024/1.942, allocations: 51.45 kB / 0.7252 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.944, allocations: 135.9 kB / 0.7253 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003588/1.944, allocations: 138.9 kB / 0.7254 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002566/1.944, allocations: 73.42 kB / 0.7255 GB, free: 101.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003485/1.948, allocations: 1.901 MB / 0.7274 GB, free: 101.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.93e-07/1.948, allocations: 0 / 0.7274 GB, free: 101.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006199/1.954, allocations: 1.133 MB / 0.7285 GB, free: 101 MB / 474.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.0006354/1.955, allocations: 198.1 kB / 0.7286 GB, free: 100.9 MB / 474.7 MB [/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: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: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.01149/1.966, allocations: 5.862 MB / 0.7344 GB, free: 99.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.89e-06/1.966, allocations: 2.938 kB / 0.7344 GB, free: 99.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005244/1.972, allocations: 2.486 MB / 0.7368 GB, free: 98.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/1.974, allocations: 415.5 kB / 0.7372 GB, free: 98.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/1.995, allocations: 9.43 MB / 0.7464 GB, free: 94.88 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006458/2.001, allocations: 3.876 MB / 0.7502 GB, free: 93.48 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006338/2.008, allocations: 2.066 MB / 0.7522 GB, free: 93.44 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/2.009, allocations: 242.5 kB / 0.7524 GB, free: 93.42 MB / 474.7 MB Notification: Performance of SimCode: time 2.134e-06/2.009, allocations: 4 kB / 0.7524 GB, free: 93.42 MB / 474.7 MB Notification: Performance of Templates: time 0.09985/2.109, allocations: 38.69 MB / 0.7902 GB, free: 73.84 MB / 474.7 MB