Running command: translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.06e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1334, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3842/0.5177, allocations: 41.01 MB / 451.9 MB, free: 5.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03066/0.5484, allocations: 9.491 MB / 461.4 MB, free: 15.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01279/0.5613, allocations: 213.5 kB / 461.6 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01104/0.5724, allocations: 2.107 MB / 463.7 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03262/0.605, allocations: 5.872 MB / 469.6 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004937/0.61, allocations: 0.5649 MB / 470.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006427/0.6165, allocations: 1.531 MB / 471.7 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.6283, allocations: 4.145 MB / 475.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002649/0.631, allocations: 0.7676 MB / 476.6 MB, free: 5.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003456/0.6345, allocations: 1.145 MB / 477.8 MB, free: 4.645 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/0.6376, allocations: 0.8543 MB / 478.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009219/0.6386, allocations: 116 kB / 478.7 MB, free: 3.676 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002363/0.641, allocations: 1.461 MB / 480.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.6422, allocations: 264 kB / 480.5 MB, free: 1.953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009381/0.6516, allocations: 5.383 MB / 485.8 MB, free: 12.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6517, allocations: 0 / 485.8 MB, free: 12.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.6517, allocations: 0 / 485.8 MB, free: 12.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000264/0.652, allocations: 0 / 485.8 MB, free: 12.56 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.01228/0.6643, allocations: 3.76 MB / 489.6 MB, free: 8.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.6643, allocations: 12.03 kB / 489.6 MB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/0.6788, allocations: 2.26 MB / 491.9 MB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006811/0.6857, allocations: 2.232 MB / 494.1 MB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.6861, allocations: 250.2 kB / 494.3 MB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002223/0.6883, allocations: 407.6 kB / 494.7 MB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02969/0.7181, allocations: 9.985 MB / 0.4929 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000179/0.7183, allocations: 51.48 kB / 0.4929 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/0.7193, allocations: 155.9 kB / 0.4931 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004964/0.7243, allocations: 1.818 MB / 0.4949 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02742/0.7518, allocations: 8.298 MB / 0.503 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07339/0.8252, allocations: 38.88 MB / 0.5409 GB, free: 6.453 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/0.8421, allocations: 3.691 MB / 0.5446 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01973/0.8619, allocations: 7.903 MB / 0.5523 GB, free: 10.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/0.862, allocations: 55.5 kB / 0.5523 GB, free: 10.22 MB / 474.7 MB Notification: Performance of pre-optimization done (n=141): time 5.951e-06/0.862, allocations: 0 / 0.5523 GB, free: 10.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=148): time 0.05239/0.9144, allocations: 12.61 MB / 0.5646 GB, free: 13.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001887/0.9164, allocations: 1.632 MB / 0.5662 GB, free: 11.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008787/0.9252, allocations: 3.538 MB / 0.5697 GB, free: 8.051 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000431/0.9257, allocations: 49.69 kB / 0.5697 GB, free: 7.996 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003545/0.9292, allocations: 2.988 MB / 0.5727 GB, free: 4.965 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.9305, allocations: 0.5941 MB / 0.5732 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000725/0.9313, allocations: 120 kB / 0.5733 GB, free: 4.246 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000577/0.9319, allocations: 0.5546 MB / 0.5739 GB, free: 3.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00583/0.9377, allocations: 2.037 MB / 0.5759 GB, free: 1.637 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01341/0.9512, allocations: 5.648 MB / 0.5814 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/0.9643, allocations: 3.307 MB / 0.5846 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000165/0.9646, allocations: 36 kB / 0.5847 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.05678/1.021, allocations: 9.065 MB / 0.5935 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/1.022, allocations: 60 kB / 0.5936 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03145/1.053, allocations: 3.605 MB / 0.5971 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03046/1.084, allocations: 2.234 MB / 0.5993 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01236/1.096, allocations: 1.322 MB / 0.6006 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3703/1.466, allocations: 7.256 MB / 0.6076 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006596/1.473, allocations: 395.2 kB / 0.608 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/1.475, allocations: 359.5 kB / 0.6084 GB, free: 159.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (712): * Single equations (assignments): 703 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.005522/1.48, allocations: 1.994 MB / 0.6103 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000873/1.481, allocations: 330 kB / 0.6106 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/1.491, allocations: 2.941 MB / 0.6135 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008797/1.5, allocations: 2.479 MB / 0.6159 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.37e-05/1.5, allocations: 6.562 kB / 0.6159 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.875e-05/1.5, allocations: 7.453 kB / 0.6159 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0264/1.527, allocations: 8.554 MB / 0.6243 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/1.527, allocations: 1.188 kB / 0.6243 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/1.529, allocations: 250.5 kB / 0.6245 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005871/1.535, allocations: 1.032 MB / 0.6255 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004091/1.536, allocations: 44.58 kB / 0.6256 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009142/1.545, allocations: 5.101 MB / 0.6306 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001216/1.546, allocations: 1.494 MB / 0.632 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/1.56, allocations: 5.327 MB / 0.6372 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.561, allocations: 397.5 kB / 0.6376 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008588/1.562, allocations: 27.25 kB / 0.6376 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002651/1.564, allocations: 134.2 kB / 0.6378 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/1.565, allocations: 91.97 kB / 0.6378 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.565, allocations: 50.03 kB / 0.6379 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005252/1.57, allocations: 2.46 MB / 0.6403 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.01e-07/1.57, allocations: 0 / 0.6403 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006559/1.577, allocations: 1.064 MB / 0.6413 GB, free: 146.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0008416/1.578, allocations: 188.1 kB / 0.6415 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01417/1.592, allocations: 5.494 MB / 0.6469 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/1.592, allocations: 0 / 0.6469 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006715/1.599, allocations: 2.144 MB / 0.649 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/1.602, allocations: 411.2 kB / 0.6494 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/1.625, allocations: 11.32 MB / 0.6604 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005835/1.631, allocations: 3.255 MB / 0.6636 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.632, allocations: 267.4 kB / 0.6638 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/1.632, allocations: 0 / 0.6638 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.191/1.823, allocations: 122.2 MB / 0.7832 GB, free: 8.348 MB / 0.5105 GB