Running command: translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 270 MB / 282.7 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.934e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3297, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.5375, allocations: 108.6 MB / 0.5053 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.5378, allocations: 79.95 kB / 0.5054 GB, free: 13.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5514/1.089, allocations: 81.4 MB / 0.5849 GB, free: 56.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.661e-06/1.089, allocations: 0 / 0.5849 GB, free: 56.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000177/1.089, allocations: 84 kB / 0.585 GB, free: 55.99 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: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.0138/1.103, allocations: 4.193 MB / 0.5891 GB, free: 51.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.103, allocations: 8.031 kB / 0.5891 GB, free: 51.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/1.115, allocations: 2.237 MB / 0.5913 GB, free: 49.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/1.128, allocations: 4.569 MB / 0.5957 GB, free: 44.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/1.128, allocations: 328.6 kB / 0.596 GB, free: 44.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/1.13, allocations: 431.8 kB / 0.5965 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/1.149, allocations: 10.27 MB / 0.6065 GB, free: 32.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001635/1.149, allocations: 59.48 kB / 0.6065 GB, free: 32.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007112/1.15, allocations: 203.9 kB / 0.6067 GB, free: 32.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001378/1.152, allocations: 0.9789 MB / 0.6077 GB, free: 31.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/1.169, allocations: 7.992 MB / 0.6155 GB, free: 23.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06061/1.23, allocations: 48.39 MB / 0.6628 GB, free: 5.523 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/1.242, allocations: 3.636 MB / 0.6663 GB, free: 1.738 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/1.245, allocations: 1.595 MB / 0.6679 GB, free: 136 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01531/1.261, allocations: 7.91 MB / 0.6756 GB, free: 7.793 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/1.261, allocations: 51.28 kB / 0.6756 GB, free: 7.734 MB / 490.7 MB Notification: Performance of pre-optimization done (n=141): time 5.789e-06/1.261, allocations: 0 / 0.6756 GB, free: 7.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.03316/1.294, allocations: 10.3 MB / 0.6857 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001731/1.296, allocations: 1.612 MB / 0.6873 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007504/1.303, allocations: 3.401 MB / 0.6906 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003361/1.304, allocations: 49.69 kB / 0.6906 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00325/1.307, allocations: 2.988 MB / 0.6935 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009797/1.308, allocations: 0.6058 MB / 0.6941 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005019/1.308, allocations: 112 kB / 0.6942 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005305/1.309, allocations: 0.5506 MB / 0.6948 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00443/1.313, allocations: 1.964 MB / 0.6967 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008096/1.322, allocations: 5.55 MB / 0.7021 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006762/1.328, allocations: 3.279 MB / 0.7053 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.814e-05/1.328, allocations: 36 kB / 0.7054 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.3322/1.661, allocations: 8.288 MB / 0.7135 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/1.661, allocations: 60.69 kB / 0.7135 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0121/1.673, allocations: 3.279 MB / 0.7167 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/1.685, allocations: 1.927 MB / 0.7186 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005655/1.691, allocations: 1.322 MB / 0.7199 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00969/1.7, allocations: 5.747 MB / 0.7255 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006242/1.707, allocations: 389.1 kB / 0.7259 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.708, allocations: 360.7 kB / 0.7262 GB, free: 124.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * 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 (714): * Single equations (assignments): 705 * 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.001106/1.709, allocations: 0.5574 MB / 0.7268 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006848/1.71, allocations: 328.1 kB / 0.7271 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006903/1.716, allocations: 2.901 MB / 0.7299 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00623/1.723, allocations: 2.442 MB / 0.7323 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/1.723, allocations: 3.188 kB / 0.7323 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/1.723, allocations: 11.38 kB / 0.7323 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/1.743, allocations: 8.5 MB / 0.7406 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/1.743, allocations: 0 / 0.7406 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/1.745, allocations: 253 kB / 0.7408 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004208/1.749, allocations: 1.02 MB / 0.7418 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002955/1.749, allocations: 38.27 kB / 0.7419 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006685/1.756, allocations: 5.015 MB / 0.7468 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009682/1.757, allocations: 1.477 MB / 0.7482 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/1.767, allocations: 5.268 MB / 0.7534 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.768, allocations: 394.7 kB / 0.7537 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007233/1.769, allocations: 31.34 kB / 0.7538 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/1.771, allocations: 131.2 kB / 0.7539 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003247/1.771, allocations: 96.36 kB / 0.754 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/1.771, allocations: 44.69 kB / 0.754 GB, free: 118 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004767/1.776, allocations: 2.338 MB / 0.7563 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.136e-06/1.776, allocations: 0 / 0.7563 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006391/1.783, allocations: 1.032 MB / 0.7573 GB, free: 117.1 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 {(3,100.0%),(4,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.0005294/1.783, allocations: 177.8 kB / 0.7575 GB, free: 117 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01127/1.795, allocations: 5.21 MB / 0.7626 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.379e-06/1.795, allocations: 0 / 0.7626 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005036/1.8, allocations: 2.106 MB / 0.7646 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/1.802, allocations: 407.3 kB / 0.765 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/1.82, allocations: 8.111 MB / 0.7729 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005292/1.826, allocations: 3.254 MB / 0.7761 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.827, allocations: 270.6 kB / 0.7764 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.36e-06/1.827, allocations: 0 / 0.7764 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.1501/1.977, allocations: 120.6 MB / 0.8941 GB, free: 11.19 MB / 0.5261 GB