Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.924e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4011, allocations: 54.86 MB / 362.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.07055/0.4718, allocations: 39.67 MB / 402.6 MB, free: 6.004 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02774/0.4996, allocations: 8.963 MB / 411.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01102/0.5106, allocations: 203.6 kB / 411.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008199/0.5189, allocations: 2.061 MB / 413.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02397/0.5429, allocations: 5.66 MB / 419.4 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004383/0.5474, allocations: 0.4952 MB / 419.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005892/0.5533, allocations: 1.528 MB / 421.5 MB, free: 3.039 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00937/0.5628, allocations: 4.03 MB / 425.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.565, allocations: 0.7831 MB / 426.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.5679, allocations: 1.258 MB / 427.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.5706, allocations: 0.7841 MB / 428.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.5717, allocations: 116 kB / 428.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00254/0.5743, allocations: 1.477 MB / 429.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.5757, allocations: 260 kB / 430.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009016/0.5848, allocations: 5.568 MB / 435.7 MB, free: 4.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5848, allocations: 0 / 435.7 MB, free: 4.711 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.012e-06/0.5849, allocations: 4 kB / 435.7 MB, free: 4.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000251/0.5851, allocations: 0 / 435.7 MB, free: 4.707 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02633/0.6115, allocations: 4.844 MB / 440.6 MB, free: 15.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.6116, allocations: 8.031 kB / 440.6 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01477/0.6263, allocations: 2.221 MB / 442.8 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007412/0.6338, allocations: 2.502 MB / 445.3 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003338/0.6342, allocations: 234.1 kB / 445.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.636, allocations: 323.7 kB / 445.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03261/0.6686, allocations: 10.37 MB / 456.2 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002506/0.6689, allocations: 39.69 kB / 456.3 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002107/0.671, allocations: 147.9 kB / 456.4 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00577/0.6769, allocations: 1.873 MB / 458.3 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03089/0.7078, allocations: 8.978 MB / 467.3 MB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4271/1.135, allocations: 38.72 MB / 0.4941 GB, free: 97.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01969/1.155, allocations: 3.7 MB / 0.4977 GB, free: 96.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/1.156, allocations: 0.6902 MB / 0.4984 GB, free: 95.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/1.157, allocations: 48.75 kB / 0.4985 GB, free: 95.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=151): time 5.29e-06/1.157, allocations: 0 / 0.4985 GB, free: 95.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=157): time 0.06656/1.223, allocations: 13.85 MB / 0.512 GB, free: 91.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/1.223, allocations: 144.3 kB / 0.5121 GB, free: 91.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007291/1.231, allocations: 3.735 MB / 0.5158 GB, free: 89.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004393/1.231, allocations: 51.42 kB / 0.5158 GB, free: 89.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002494/1.234, allocations: 3.107 MB / 0.5188 GB, free: 86.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009723/1.235, allocations: 0.6218 MB / 0.5195 GB, free: 85.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005145/1.235, allocations: 113.6 kB / 0.5196 GB, free: 85.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003357/1.235, allocations: 0.5459 MB / 0.5201 GB, free: 85.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005213/1.241, allocations: 1.99 MB / 0.522 GB, free: 83.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006417/1.247, allocations: 5.636 MB / 0.5275 GB, free: 75.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006693/1.254, allocations: 3.282 MB / 0.5307 GB, free: 72.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.37e-05/1.254, allocations: 37.5 kB / 0.5308 GB, free: 72.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02456/1.279, allocations: 8.13 MB / 0.5387 GB, free: 64.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/1.279, allocations: 67.89 kB / 0.5388 GB, free: 64.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001856/1.279, allocations: 132 kB / 0.5389 GB, free: 64.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004338/1.283, allocations: 0.9303 MB / 0.5398 GB, free: 63.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007897/1.291, allocations: 1.349 MB / 0.5411 GB, free: 62.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009604/1.301, allocations: 4.96 MB / 0.546 GB, free: 57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006016/1.307, allocations: 327.7 kB / 0.5463 GB, free: 56.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/1.308, allocations: 368.8 kB / 0.5466 GB, free: 56.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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.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 (715): * Single equations (assignments): 711 * 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.004807/1.313, allocations: 2.035 MB / 0.5486 GB, free: 54.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008786/1.314, allocations: 347.5 kB / 0.549 GB, free: 53.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009519/1.323, allocations: 2.956 MB / 0.5519 GB, free: 50.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-05/1.323, allocations: 16 kB / 0.5519 GB, free: 50.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/1.324, allocations: 7.984 kB / 0.5519 GB, free: 50.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.574e-05/1.324, allocations: 11.94 kB / 0.5519 GB, free: 50.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02344/1.347, allocations: 7.641 MB / 0.5593 GB, free: 43.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/1.347, allocations: 4 kB / 0.5594 GB, free: 43.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002754/1.35, allocations: 287.6 kB / 0.5596 GB, free: 42.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003862/1.354, allocations: 0.7148 MB / 0.5603 GB, free: 42.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004039/1.354, allocations: 33.41 kB / 0.5604 GB, free: 42.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009162/1.363, allocations: 4.524 MB / 0.5648 GB, free: 37.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.363, allocations: 7.891 kB / 0.5648 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/1.379, allocations: 5.524 MB / 0.5702 GB, free: 31.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00279/1.382, allocations: 0.6292 MB / 0.5708 GB, free: 31.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001442/1.384, allocations: 24 kB / 0.5708 GB, free: 31.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004147/1.388, allocations: 104.4 kB / 0.5709 GB, free: 31.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007154/1.389, allocations: 92.81 kB / 0.571 GB, free: 31.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002804/1.389, allocations: 45.09 kB / 0.571 GB, free: 31.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008424/1.397, allocations: 2.62 MB / 0.5736 GB, free: 28.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.242e-06/1.398, allocations: 0 / 0.5736 GB, free: 28.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01008/1.408, allocations: 0.9642 MB / 0.5745 GB, free: 27.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 122 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008188/1.408, allocations: 171.2 kB / 0.5747 GB, free: 27.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01456/1.423, allocations: 4.789 MB / 0.5794 GB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.423, allocations: 8.812 kB / 0.5794 GB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0043/1.427, allocations: 1.452 MB / 0.5808 GB, free: 21.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/1.431, allocations: 398.8 kB / 0.5812 GB, free: 20.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02591/1.457, allocations: 10.47 MB / 0.5914 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004642/1.462, allocations: 3.322 MB / 0.5947 GB, free: 6.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007418/1.469, allocations: 1.862 MB / 0.5965 GB, free: 4.898 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.471, allocations: 239.4 kB / 0.5967 GB, free: 4.668 MB / 426.7 MB Notification: Performance of SimCode: time 1.833e-06/1.471, allocations: 0 / 0.5967 GB, free: 4.668 MB / 426.7 MB Notification: Performance of Templates: time 0.1074/1.578, allocations: 33.52 MB / 0.6294 GB, free: 3.262 MB / 458.7 MB