Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.399e-05, allocations: 4 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3231, allocations: 61.86 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.4914, allocations: 110.3 MB / 0.5069 GB, free: 12.34 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.4917, allocations: 79.95 kB / 0.507 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6513/1.143, allocations: 98.34 MB / 0.6031 GB, free: 36.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.349e-06/1.143, allocations: 3.938 kB / 0.6031 GB, free: 36.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001757/1.143, allocations: 88 kB / 0.6031 GB, free: 36.84 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.01658/1.16, allocations: 4.604 MB / 0.6076 GB, free: 32.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.16, allocations: 8.031 kB / 0.6076 GB, free: 32.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02031/1.18, allocations: 3.604 MB / 0.6112 GB, free: 28.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/1.194, allocations: 4.729 MB / 0.6158 GB, free: 23.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/1.194, allocations: 373.8 kB / 0.6161 GB, free: 23.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/1.196, allocations: 499.8 kB / 0.6166 GB, free: 22.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02528/1.222, allocations: 11.91 MB / 0.6283 GB, free: 10.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001646/1.222, allocations: 35.66 kB / 0.6283 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009576/1.223, allocations: 223.9 kB / 0.6285 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001824/1.225, allocations: 1.295 MB / 0.6298 GB, free: 8.918 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/1.25, allocations: 11.05 MB / 0.6406 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07955/1.329, allocations: 41.46 MB / 0.681 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/1.343, allocations: 4.828 MB / 0.6858 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004689/1.348, allocations: 2.35 MB / 0.6881 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/1.363, allocations: 6.839 MB / 0.6947 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/1.363, allocations: 52.56 kB / 0.6948 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 6.209e-06/1.363, allocations: 0 / 0.6948 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=250): time 0.05868/1.422, allocations: 15.69 MB / 0.7101 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/1.422, allocations: 73.41 kB / 0.7102 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005756/1.428, allocations: 2.768 MB / 0.7129 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004212/1.428, allocations: 57.7 kB / 0.7129 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.3058/1.734, allocations: 3.215 MB / 0.7161 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001257/1.735, allocations: 0.9339 MB / 0.717 GB, free: 131 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005076/1.736, allocations: 116 kB / 0.7171 GB, free: 131 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004752/1.736, allocations: 0.5723 MB / 0.7177 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005196/1.741, allocations: 2.372 MB / 0.72 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006426/1.748, allocations: 5.647 MB / 0.7255 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006982/1.755, allocations: 3.709 MB / 0.7291 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.845e-05/1.755, allocations: 37.55 kB / 0.7291 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.02581/1.781, allocations: 9.4 MB / 0.7383 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.09e-05/1.781, allocations: 57.38 kB / 0.7384 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/1.781, allocations: 115.5 kB / 0.7385 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/1.793, allocations: 2.326 MB / 0.7408 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005939/1.799, allocations: 1.327 MB / 0.7421 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/1.821, allocations: 10.61 MB / 0.7524 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005477/1.826, allocations: 322.3 kB / 0.7527 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009154/1.827, allocations: 351.7 kB / 0.7531 GB, free: 123.3 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.001143/1.828, allocations: 0.5322 MB / 0.7536 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005952/1.829, allocations: 298.4 kB / 0.7539 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009582/1.839, allocations: 4.535 MB / 0.7583 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.179e-05/1.839, allocations: 48.08 kB / 0.7583 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.839, allocations: 5.938 kB / 0.7583 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-05/1.839, allocations: 10.92 kB / 0.7584 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02257/1.861, allocations: 10.73 MB / 0.7688 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/1.861, allocations: 7.469 kB / 0.7688 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.864, allocations: 405.3 kB / 0.7692 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002688/1.867, allocations: 0.697 MB / 0.7699 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003843/1.867, allocations: 51.88 kB / 0.77 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003055/1.87, allocations: 2.409 MB / 0.7723 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.195e-06/1.87, allocations: 3.656 kB / 0.7723 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/1.883, allocations: 7.381 MB / 0.7795 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008231/1.884, allocations: 346.7 kB / 0.7799 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006597/1.885, allocations: 48.84 kB / 0.7799 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/1.887, allocations: 143 kB / 0.78 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003629/1.887, allocations: 146.1 kB / 0.7802 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/1.887, allocations: 68.25 kB / 0.7802 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003423/1.891, allocations: 1.874 MB / 0.7821 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.046e-06/1.891, allocations: 0 / 0.7821 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006406/1.897, allocations: 1.124 MB / 0.7832 GB, free: 107.3 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.0005658/1.898, allocations: 197.1 kB / 0.7834 GB, free: 107.1 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.01064/1.908, allocations: 5.796 MB / 0.789 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.487e-06/1.909, allocations: 0 / 0.789 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004671/1.913, allocations: 2.459 MB / 0.7914 GB, free: 99.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/1.916, allocations: 425.9 kB / 0.7918 GB, free: 99.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/1.936, allocations: 9.815 MB / 0.8014 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006297/1.943, allocations: 3.828 MB / 0.8051 GB, free: 87.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.944, allocations: 282 kB / 0.8054 GB, free: 87.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.909e-06/1.944, allocations: 0 / 0.8054 GB, free: 87.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.4581/2.402, allocations: 111.1 MB / 0.9139 GB, free: 140.2 MB / 0.5261 GB