Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 2.389/2.389, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.229e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 61.88 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.4043/0.5352, allocations: 37.52 MB / 448.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03429/0.5695, allocations: 8.77 MB / 457.2 MB, free: 2.441 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01303/0.5826, allocations: 207.8 kB / 457.4 MB, free: 2.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.593, allocations: 1.995 MB / 459.4 MB, free: 1.773 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02862/0.6216, allocations: 5.553 MB / 465 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.6254, allocations: 474.2 kB / 465.4 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00543/0.6309, allocations: 1.547 MB / 467 MB, free: 12.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007818/0.6387, allocations: 3.649 MB / 470.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.6406, allocations: 0.7349 MB / 471.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.6434, allocations: 1.191 MB / 472.5 MB, free: 9.773 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.6465, allocations: 0.8294 MB / 473.4 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.6477, allocations: 116 kB / 473.5 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002665/0.6504, allocations: 1.519 MB / 475 MB, free: 7.324 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.6517, allocations: 248 kB / 475.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009506/0.6612, allocations: 5.844 MB / 481.1 MB, free: 1.223 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6613, allocations: 4 kB / 481.1 MB, free: 1.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.6613, allocations: 0 / 481.1 MB, free: 1.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002694/0.6616, allocations: 0 / 481.1 MB, free: 1.219 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01489/0.6765, allocations: 4.289 MB / 485.4 MB, free: 12.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.6765, allocations: 16.03 kB / 485.4 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0274/0.704, allocations: 3.808 MB / 489.2 MB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.7141, allocations: 2.297 MB / 491.5 MB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000454/0.7146, allocations: 250.1 kB / 491.7 MB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002216/0.7168, allocations: 319.7 kB / 492.1 MB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04053/0.7574, allocations: 11.6 MB / 0.4919 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/0.7576, allocations: 23.8 kB / 0.4919 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001471/0.7591, allocations: 151.8 kB / 0.492 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01001/0.7691, allocations: 2.578 MB / 0.4945 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/0.8029, allocations: 10.72 MB / 0.505 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08566/0.8886, allocations: 36.7 MB / 0.5409 GB, free: 7.047 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01346/0.9022, allocations: 4.284 MB / 0.545 GB, free: 2.531 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/0.9042, allocations: 1.324 MB / 0.5463 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/0.9043, allocations: 48.56 kB / 0.5464 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of pre-optimization done (n=235): time 6.091e-06/0.9043, allocations: 0 / 0.5464 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of matching and sorting (n=256): time 0.07406/0.9783, allocations: 14.29 MB / 0.5603 GB, free: 2.453 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.9785, allocations: 77.41 kB / 0.5604 GB, free: 2.363 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006699/0.9852, allocations: 2.695 MB / 0.563 GB, free: 15.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005604/0.9858, allocations: 57.7 kB / 0.5631 GB, free: 15.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003276/0.9891, allocations: 3.025 MB / 0.5661 GB, free: 12.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001713/0.9909, allocations: 0.9559 MB / 0.567 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000648/0.9915, allocations: 108 kB / 0.5671 GB, free: 11.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006538/0.9922, allocations: 0.5589 MB / 0.5676 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006593/0.9988, allocations: 2.315 MB / 0.5699 GB, free: 8.562 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009355/1.008, allocations: 5.505 MB / 0.5753 GB, free: 1.488 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009276/1.018, allocations: 3.575 MB / 0.5788 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001475/1.018, allocations: 32 kB / 0.5788 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02812/1.046, allocations: 8.472 MB / 0.5871 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.046, allocations: 56.03 kB / 0.5871 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/1.046, allocations: 112 kB / 0.5872 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007065/1.053, allocations: 1.052 MB / 0.5883 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00869/1.062, allocations: 1.33 MB / 0.5896 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004915/1.067, allocations: 2.517 MB / 0.592 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005457/1.073, allocations: 311.8 kB / 0.5923 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/1.074, allocations: 335.9 kB / 0.5926 GB, free: 15.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 510 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (722): * Single equations (assignments): 713 * 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 prepare postOptimizeDAE: time 0.006281/1.08, allocations: 2.283 MB / 0.5949 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007932/1.081, allocations: 288.2 kB / 0.5951 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01698/1.098, allocations: 4.964 MB / 0.6 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001268/1.098, allocations: 44 kB / 0.6 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.098, allocations: 3.953 kB / 0.6 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.119e-05/1.098, allocations: 15.89 kB / 0.6 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.383/1.481, allocations: 11.52 MB / 0.6113 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.291e-05/1.481, allocations: 7.453 kB / 0.6113 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003765/1.485, allocations: 408.7 kB / 0.6117 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0066/1.492, allocations: 0.9038 MB / 0.6126 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005785/1.492, allocations: 56.52 kB / 0.6126 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004138/1.497, allocations: 2.301 MB / 0.6149 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.409e-05/1.497, allocations: 12.25 kB / 0.6149 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02197/1.519, allocations: 8.038 MB / 0.6227 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000928/1.52, allocations: 337.2 kB / 0.6231 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/1.521, allocations: 50.38 kB / 0.6231 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/1.524, allocations: 134.9 kB / 0.6232 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006821/1.524, allocations: 161 kB / 0.6234 GB, free: 156 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000289/1.525, allocations: 73.31 kB / 0.6235 GB, free: 156 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00487/1.529, allocations: 1.846 MB / 0.6253 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.495e-06/1.53, allocations: 0 / 0.6253 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006596/1.536, allocations: 1.033 MB / 0.6263 GB, free: 155.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * 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.001121/1.537, allocations: 211.6 kB / 0.6265 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01645/1.554, allocations: 6.102 MB / 0.6324 GB, free: 153 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/1.554, allocations: 3.031 kB / 0.6324 GB, free: 153 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007402/1.561, allocations: 2.546 MB / 0.6349 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/1.565, allocations: 459.2 kB / 0.6354 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0267/1.592, allocations: 13.64 MB / 0.6487 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006342/1.598, allocations: 3.682 MB / 0.6523 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/1.6, allocations: 290.2 kB / 0.6525 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.253e-06/1.6, allocations: 0 / 0.6525 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.1902/1.79, allocations: 117.5 MB / 0.7673 GB, free: 26.17 MB / 0.5105 GB