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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 270 MB / 283.6 MB, free: 1.758 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.53e-05/3.55e-05, allocations: 4 kB / 348.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3269, allocations: 61.87 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1843/0.5112, allocations: 105.3 MB / 0.5035 GB, free: 1.258 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5115, allocations: 75.95 kB / 0.5036 GB, free: 1.184 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6003/1.112, allocations: 90.7 MB / 0.5921 GB, free: 48.92 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.461e-06/1.112, allocations: 0 / 0.5921 GB, free: 48.92 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001611/1.112, allocations: 91.86 kB / 0.5922 GB, free: 48.83 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: 1672 * Number of variables: 1672 Notification: Performance of Generate backend data structure: time 0.01491/1.127, allocations: 4.211 MB / 0.5963 GB, free: 44.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.127, allocations: 8.031 kB / 0.5964 GB, free: 44.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01852/1.146, allocations: 3.554 MB / 0.5998 GB, free: 40.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/1.159, allocations: 4.518 MB / 0.6042 GB, free: 36.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/1.159, allocations: 336.5 kB / 0.6046 GB, free: 36.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/1.161, allocations: 427.8 kB / 0.605 GB, free: 35.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/1.183, allocations: 11.07 MB / 0.6158 GB, free: 24.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/1.183, allocations: 27.75 kB / 0.6158 GB, free: 24.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008694/1.184, allocations: 195.9 kB / 0.616 GB, free: 23.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0017/1.186, allocations: 1.22 MB / 0.6172 GB, free: 22.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02474/1.211, allocations: 10.53 MB / 0.6275 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06962/1.28, allocations: 37.18 MB / 0.6638 GB, free: 6.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/1.292, allocations: 4.52 MB / 0.6682 GB, free: 1.324 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004268/1.296, allocations: 2.178 MB / 0.6703 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/1.298, allocations: 1.323 MB / 0.6716 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/1.298, allocations: 52.56 kB / 0.6717 GB, free: 13.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 6.958e-06/1.298, allocations: 0 / 0.6717 GB, free: 13.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.04618/1.344, allocations: 11.06 MB / 0.6825 GB, free: 2.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/1.344, allocations: 73.41 kB / 0.6825 GB, free: 2.395 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005/1.35, allocations: 2.445 MB / 0.6849 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004081/1.35, allocations: 57.7 kB / 0.685 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002904/1.353, allocations: 2.887 MB / 0.6878 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00139/1.354, allocations: 0.9095 MB / 0.6887 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/1.355, allocations: 108 kB / 0.6888 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005788/1.355, allocations: 0.5457 MB / 0.6893 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004776/1.36, allocations: 2.178 MB / 0.6915 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008105/1.368, allocations: 5.217 MB / 0.6966 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009063/1.377, allocations: 3.429 MB / 0.6999 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/1.378, allocations: 32 kB / 0.6999 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=744) (initialization): time 0.02135/1.399, allocations: 7.835 MB / 0.7076 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/1.399, allocations: 52 kB / 0.7076 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/1.399, allocations: 104 kB / 0.7077 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004597/1.404, allocations: 1.033 MB / 0.7087 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005977/1.41, allocations: 1.275 MB / 0.71 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004041/1.414, allocations: 2.455 MB / 0.7124 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005172/1.419, allocations: 319.6 kB / 0.7127 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0018/1.421, allocations: 320 kB / 0.713 GB, free: 1.445 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 26 (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 (691): * Single equations (assignments): 682 * 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.002441/1.424, allocations: 0.5114 MB / 0.7135 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/1.425, allocations: 272.4 kB / 0.7138 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3692/1.794, allocations: 4.74 MB / 0.7184 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-05/1.794, allocations: 50.45 kB / 0.7184 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/1.794, allocations: 0 / 0.7184 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.881e-05/1.794, allocations: 10.64 kB / 0.7184 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02531/1.819, allocations: 11.19 MB / 0.7294 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.519e-05/1.819, allocations: 10.41 kB / 0.7294 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/1.822, allocations: 390 kB / 0.7298 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003299/1.825, allocations: 0.6152 MB / 0.7304 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/1.826, allocations: 60.61 kB / 0.7304 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/1.828, allocations: 2.053 MB / 0.7324 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.828, allocations: 17.84 kB / 0.7324 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/1.841, allocations: 7.495 MB / 0.7398 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007268/1.842, allocations: 324.8 kB / 0.7401 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005347/1.843, allocations: 53.78 kB / 0.7401 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.844, allocations: 125.8 kB / 0.7402 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/1.844, allocations: 152.3 kB / 0.7404 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002455/1.845, allocations: 76.53 kB / 0.7405 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003018/1.848, allocations: 1.647 MB / 0.7421 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.498e-06/1.848, allocations: 0 / 0.7421 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009669/1.857, allocations: 0.9729 MB / 0.743 GB, free: 130 MB / 0.5105 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 (197): * Single equations (assignments): 188 * 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.0008012/1.858, allocations: 197 kB / 0.7432 GB, free: 129.9 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159: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 trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159: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.01061/1.869, allocations: 5.602 MB / 0.7487 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.489e-06/1.869, allocations: 0 / 0.7487 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004428/1.873, allocations: 2.282 MB / 0.7509 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.876, allocations: 404.4 kB / 0.7513 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.893, allocations: 8.987 MB / 0.7601 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005291/1.898, allocations: 3.538 MB / 0.7635 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005986/1.904, allocations: 2.023 MB / 0.7655 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000986/1.905, allocations: 216.8 kB / 0.7657 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.695e-06/1.905, allocations: 4 kB / 0.7657 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.07966/1.985, allocations: 29.69 MB / 0.7947 GB, free: 102.3 MB / 0.5105 GB