Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 2.318/2.318, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.907e-05, allocations: 4 kB / 349 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1294, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.4085/0.5379, allocations: 54.09 MB / 465 MB, free: 12.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03711/0.5751, allocations: 11.77 MB / 476.8 MB, free: 4.875 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01729/0.5925, allocations: 284.5 kB / 477.1 MB, free: 4.836 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01094/0.6035, allocations: 2.806 MB / 479.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03155/0.6351, allocations: 7.709 MB / 487.6 MB, free: 10.84 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004963/0.64, allocations: 0.5929 MB / 488.2 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005837/0.6459, allocations: 1.747 MB / 489.9 MB, free: 8.496 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.6576, allocations: 5.387 MB / 495.3 MB, free: 3.059 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.66, allocations: 0.9078 MB / 496.2 MB, free: 2.148 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003214/0.6633, allocations: 1.383 MB / 497.6 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.6662, allocations: 0.7529 MB / 498.4 MB, free: 8 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001147/0.6674, allocations: 124 kB / 498.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002898/0.6703, allocations: 1.687 MB / 0.4884 GB, free: 14.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.672, allocations: 316 kB / 0.4887 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.6826, allocations: 6.359 MB / 0.4949 GB, free: 7.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6826, allocations: 0 / 0.4949 GB, free: 7.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.6827, allocations: 0 / 0.4949 GB, free: 7.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003109/0.683, allocations: 0 / 0.4949 GB, free: 7.512 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.03223/0.7152, allocations: 5.236 MB / 0.5001 GB, free: 2.211 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.7153, allocations: 8.031 kB / 0.5001 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/0.73, allocations: 2.302 MB / 0.5023 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008506/0.7385, allocations: 2.718 MB / 0.505 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004037/0.739, allocations: 299.5 kB / 0.5053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002087/0.7411, allocations: 391.8 kB / 0.5056 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03911/0.7802, allocations: 12.49 MB / 0.5178 GB, free: 15.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00021/0.7805, allocations: 51.48 kB / 0.5179 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009812/0.7815, allocations: 183.8 kB / 0.518 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007813/0.7893, allocations: 2.249 MB / 0.5202 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04064/0.83, allocations: 11.48 MB / 0.5315 GB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09254/0.9226, allocations: 46.5 MB / 0.5769 GB, free: 1.625 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03523/0.9579, allocations: 5.61 MB / 0.5823 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/0.9597, allocations: 0.6948 MB / 0.583 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.02e-05/0.9598, allocations: 51.88 kB / 0.5831 GB, free: 11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=203): time 6.633e-06/0.9598, allocations: 0 / 0.5831 GB, free: 11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=234): time 0.4792/1.439, allocations: 28.08 MB / 0.6105 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.389e-05/1.439, allocations: 160 kB / 0.6106 GB, free: 167 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/1.449, allocations: 4.049 MB / 0.6146 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007753/1.45, allocations: 58.08 kB / 0.6147 GB, free: 166.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002988/1.453, allocations: 3.316 MB / 0.6179 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00171/1.455, allocations: 0.889 MB / 0.6188 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007946/1.456, allocations: 130.8 kB / 0.6189 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005004/1.456, allocations: 0.5909 MB / 0.6195 GB, free: 163 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008915/1.465, allocations: 3.248 MB / 0.6226 GB, free: 162 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01157/1.477, allocations: 7.056 MB / 0.6295 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/1.489, allocations: 4.674 MB / 0.6341 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001809/1.489, allocations: 37.47 kB / 0.6341 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=854) (initialization): time 0.031/1.52, allocations: 11.11 MB / 0.645 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/1.52, allocations: 64.66 kB / 0.645 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001685/1.521, allocations: 137.2 kB / 0.6452 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004769/1.525, allocations: 1.134 MB / 0.6463 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01144/1.537, allocations: 1.693 MB / 0.6479 GB, free: 150 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/1.549, allocations: 6.114 MB / 0.6539 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008769/1.558, allocations: 406.8 kB / 0.6543 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/1.56, allocations: 443.7 kB / 0.6547 GB, free: 146.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (815): * Single equations (assignments): 811 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006339/1.566, allocations: 2.295 MB / 0.657 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.568, allocations: 403.4 kB / 0.6573 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/1.585, allocations: 6.206 MB / 0.6634 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.838e-05/1.585, allocations: 28.94 kB / 0.6634 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/1.585, allocations: 4 kB / 0.6634 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-05/1.585, allocations: 15.89 kB / 0.6634 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0341/1.619, allocations: 13 MB / 0.6761 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.826e-05/1.619, allocations: 4 kB / 0.6761 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005552/1.625, allocations: 0.5537 MB / 0.6767 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004506/1.63, allocations: 0.9492 MB / 0.6776 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007892/1.63, allocations: 95.23 kB / 0.6777 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/1.642, allocations: 5.828 MB / 0.6834 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.642, allocations: 7.938 kB / 0.6834 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02455/1.667, allocations: 10.91 MB / 0.6941 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003125/1.67, allocations: 0.9057 MB / 0.6949 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/1.672, allocations: 45.62 kB / 0.695 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004686/1.676, allocations: 175.8 kB / 0.6952 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008742/1.677, allocations: 185.6 kB / 0.6953 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004013/1.678, allocations: 111.1 kB / 0.6954 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00607/1.684, allocations: 2.848 MB / 0.6982 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.31e-07/1.684, allocations: 0 / 0.6982 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007974/1.692, allocations: 1.233 MB / 0.6994 GB, free: 101 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 204 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/1.693, allocations: 202.9 kB / 0.6996 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01706/1.71, allocations: 7.689 MB / 0.7071 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.71, allocations: 0 / 0.7071 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00693/1.717, allocations: 3.022 MB / 0.7101 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003826/1.721, allocations: 448.6 kB / 0.7105 GB, free: 89.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03122/1.752, allocations: 14.51 MB / 0.7247 GB, free: 75.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006404/1.759, allocations: 3.782 MB / 0.7284 GB, free: 71.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003125/1.762, allocations: 467 kB / 0.7288 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.422e-06/1.762, allocations: 0 / 0.7288 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.508/2.27, allocations: 90.79 MB / 0.8175 GB, free: 163.7 MB / 0.5261 GB