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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadModel(ModelicaTest): time 2.628/2.628, allocations: 270 MB / 283.6 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.915e-05, allocations: 4 kB / 348.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3215, allocations: 61.89 MB / 410.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2595/0.5811, allocations: 110.3 MB / 0.5084 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003718/0.5815, allocations: 75.95 kB / 0.5084 GB, free: 12.14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6908/1.272, allocations: 98.32 MB / 0.6045 GB, free: 36.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.222e-06/1.272, allocations: 0 / 0.6045 GB, free: 36.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003555/1.273, allocations: 88 kB / 0.6045 GB, free: 36.71 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.03319/1.306, allocations: 4.604 MB / 0.609 GB, free: 32.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.242e-05/1.306, allocations: 12.03 kB / 0.6091 GB, free: 32.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03809/1.344, allocations: 3.608 MB / 0.6126 GB, free: 28.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01392/1.358, allocations: 4.725 MB / 0.6172 GB, free: 23.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000387/1.359, allocations: 377.8 kB / 0.6176 GB, free: 23.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002328/1.361, allocations: 0.4919 MB / 0.618 GB, free: 22.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/1.389, allocations: 11.91 MB / 0.6297 GB, free: 10.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002103/1.389, allocations: 39.64 kB / 0.6297 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001649/1.391, allocations: 219.9 kB / 0.6299 GB, free: 10.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001919/1.393, allocations: 1.299 MB / 0.6312 GB, free: 8.781 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/1.419, allocations: 11.06 MB / 0.642 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08151/1.501, allocations: 41.46 MB / 0.6825 GB, free: 3.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/1.515, allocations: 4.816 MB / 0.6872 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004843/1.52, allocations: 2.348 MB / 0.6895 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01564/1.536, allocations: 6.831 MB / 0.6961 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.572e-05/1.536, allocations: 56.56 kB / 0.6962 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 6.268e-06/1.536, allocations: 3.938 kB / 0.6962 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of matching and sorting (n=250): time 0.05804/1.594, allocations: 15.69 MB / 0.7115 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/1.594, allocations: 73.41 kB / 0.7116 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006181/1.6, allocations: 2.768 MB / 0.7143 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004197/1.601, allocations: 53.7 kB / 0.7143 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.3135/1.914, allocations: 3.228 MB / 0.7175 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/1.915, allocations: 0.932 MB / 0.7184 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005854/1.916, allocations: 119.9 kB / 0.7185 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005888/1.917, allocations: 0.5681 MB / 0.7191 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005654/1.922, allocations: 2.372 MB / 0.7214 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007094/1.929, allocations: 5.646 MB / 0.7269 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007499/1.937, allocations: 3.716 MB / 0.7305 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/1.937, allocations: 36.23 kB / 0.7306 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.02619/1.963, allocations: 9.47 MB / 0.7398 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.033e-05/1.963, allocations: 56.03 kB / 0.7399 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/1.964, allocations: 115.6 kB / 0.74 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01142/1.975, allocations: 2.332 MB / 0.7423 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005745/1.981, allocations: 1.324 MB / 0.7435 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/2.003, allocations: 10.6 MB / 0.7539 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005446/2.008, allocations: 323.9 kB / 0.7542 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/2.009, allocations: 348.5 kB / 0.7545 GB, free: 122.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 528 * Number of states: 0 () * Number of discrete variables: 32 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (720): * Single equations (assignments): 712 * 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 {4 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.001211/2.011, allocations: 0.5423 MB / 0.7551 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005959/2.011, allocations: 301.4 kB / 0.7554 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009839/2.021, allocations: 4.525 MB / 0.7598 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-05/2.021, allocations: 51.59 kB / 0.7598 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/2.021, allocations: 3.406 kB / 0.7598 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-05/2.021, allocations: 11.34 kB / 0.7598 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/2.047, allocations: 10.73 MB / 0.7703 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/2.047, allocations: 3.812 kB / 0.7703 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/2.05, allocations: 409.9 kB / 0.7707 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002826/2.053, allocations: 0.6958 MB / 0.7714 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005023/2.053, allocations: 54.7 kB / 0.7714 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/2.056, allocations: 2.409 MB / 0.7738 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.306e-06/2.056, allocations: 7.5 kB / 0.7738 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/2.069, allocations: 7.383 MB / 0.781 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008386/2.07, allocations: 352 kB / 0.7813 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006829/2.071, allocations: 44.55 kB / 0.7814 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/2.072, allocations: 137.9 kB / 0.7815 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004353/2.073, allocations: 141.4 kB / 0.7817 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002415/2.073, allocations: 70.53 kB / 0.7817 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003501/2.077, allocations: 1.867 MB / 0.7835 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.205e-06/2.077, allocations: 0 / 0.7835 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006471/2.083, allocations: 1.126 MB / 0.7846 GB, free: 107.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (202): * Single equations (assignments): 193 * 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.0007403/2.084, allocations: 205.7 kB / 0.7848 GB, free: 106.9 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:80:3-82:159: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 trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159: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 trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159: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.01132/2.095, allocations: 5.797 MB / 0.7905 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/2.095, allocations: 0 / 0.7905 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005156/2.1, allocations: 2.459 MB / 0.7929 GB, free: 99.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004406/2.105, allocations: 427.2 kB / 0.7933 GB, free: 99.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/2.126, allocations: 9.283 MB / 0.8024 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007296/2.133, allocations: 3.816 MB / 0.8061 GB, free: 87.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006563/2.139, allocations: 2.042 MB / 0.8081 GB, free: 86.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/2.141, allocations: 233.9 kB / 0.8083 GB, free: 86.36 MB / 0.5105 GB Notification: Performance of SimCode: time 1.915e-06/2.141, allocations: 0 / 0.8083 GB, free: 86.36 MB / 0.5105 GB Notification: Performance of Templates: time 0.1454/2.286, allocations: 38.36 MB / 0.8458 GB, free: 53.54 MB / 0.5105 GB