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.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.3 MB / 223.8 MB, free: 0.5039 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.11e-05, allocations: 0 / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3805, allocations: 48.7 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.0631/0.4436, allocations: 39.66 MB / 364.5 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02903/0.4727, allocations: 8.926 MB / 373.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01154/0.4843, allocations: 203.6 kB / 373.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008216/0.4926, allocations: 2.057 MB / 375.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02192/0.5146, allocations: 5.668 MB / 381.4 MB, free: 6.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.5183, allocations: 0.5031 MB / 381.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004956/0.5233, allocations: 1.53 MB / 383.4 MB, free: 4.801 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008871/0.5323, allocations: 4.048 MB / 387.5 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.5344, allocations: 0.7831 MB / 388.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.5373, allocations: 1.258 MB / 389.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.5399, allocations: 0.7802 MB / 390.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009723/0.5409, allocations: 116 kB / 390.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00227/0.5432, allocations: 1.484 MB / 391.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.5445, allocations: 260 kB / 392.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008701/0.5532, allocations: 5.557 MB / 397.7 MB, free: 6.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5533, allocations: 0 / 397.7 MB, free: 6.473 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5533, allocations: 0 / 397.7 MB, free: 6.473 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002032/0.5535, allocations: 0 / 397.7 MB, free: 6.473 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02529/0.5788, allocations: 4.848 MB / 402.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.5788, allocations: 8.031 kB / 402.6 MB, free: 1.551 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01426/0.5931, allocations: 2.229 MB / 404.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007424/0.6006, allocations: 2.51 MB / 407.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/0.6009, allocations: 234.1 kB / 407.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.6021, allocations: 319.8 kB / 407.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02967/0.6318, allocations: 10.35 MB / 418.2 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.632, allocations: 43.59 kB / 418.2 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007989/0.6328, allocations: 151.8 kB / 418.4 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005157/0.638, allocations: 1.876 MB / 420.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02967/0.6677, allocations: 8.978 MB / 429.2 MB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07693/0.7447, allocations: 38.7 MB / 467.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02087/0.7656, allocations: 3.689 MB / 471.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001929/0.7676, allocations: 0.6945 MB / 472.3 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.7677, allocations: 55.55 kB / 472.4 MB, free: 9.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 5.36e-06/0.7677, allocations: 0 / 472.4 MB, free: 9.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.344/1.112, allocations: 13.85 MB / 486.2 MB, free: 126.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/1.112, allocations: 143.9 kB / 486.4 MB, free: 126.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01294/1.125, allocations: 3.738 MB / 490.1 MB, free: 124.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000553/1.125, allocations: 47.3 kB / 490.1 MB, free: 124.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004195/1.13, allocations: 3.117 MB / 493.3 MB, free: 122.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00152/1.131, allocations: 0.6229 MB / 493.9 MB, free: 122 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007681/1.132, allocations: 111.2 kB / 494 MB, free: 121.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006942/1.133, allocations: 0.5527 MB / 494.5 MB, free: 121.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008596/1.141, allocations: 1.99 MB / 496.5 MB, free: 120.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0121/1.154, allocations: 5.643 MB / 0.4904 GB, free: 115.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/1.168, allocations: 3.276 MB / 0.4936 GB, free: 113.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002502/1.169, allocations: 37.56 kB / 0.4936 GB, free: 113.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.03282/1.201, allocations: 8.13 MB / 0.5016 GB, free: 111 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000171/1.202, allocations: 66.42 kB / 0.5016 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003155/1.202, allocations: 138.6 kB / 0.5018 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005807/1.208, allocations: 0.9152 MB / 0.5027 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009711/1.218, allocations: 1.349 MB / 0.504 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009874/1.228, allocations: 4.969 MB / 0.5088 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006596/1.234, allocations: 323.3 kB / 0.5091 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/1.235, allocations: 365.8 kB / 0.5095 GB, free: 107.6 MB / 410.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.004866/1.24, allocations: 2.041 MB / 0.5115 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.241, allocations: 347.5 kB / 0.5118 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008926/1.25, allocations: 2.956 MB / 0.5147 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.525e-05/1.25, allocations: 27.05 kB / 0.5147 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/1.25, allocations: 4 kB / 0.5147 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/1.25, allocations: 7.969 kB / 0.5147 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/1.272, allocations: 7.641 MB / 0.5222 GB, free: 94.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.214e-05/1.272, allocations: 6.344 kB / 0.5222 GB, free: 94.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/1.275, allocations: 291.7 kB / 0.5225 GB, free: 94.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003748/1.279, allocations: 0.7147 MB / 0.5232 GB, free: 93.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004202/1.279, allocations: 28.88 kB / 0.5232 GB, free: 93.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009101/1.289, allocations: 4.527 MB / 0.5276 GB, free: 88.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.289, allocations: 3.938 kB / 0.5276 GB, free: 88.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/1.302, allocations: 5.529 MB / 0.533 GB, free: 83.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/1.305, allocations: 0.6369 MB / 0.5337 GB, free: 82.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/1.306, allocations: 28 kB / 0.5337 GB, free: 82.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002775/1.309, allocations: 103.9 kB / 0.5338 GB, free: 82.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005076/1.309, allocations: 98.05 kB / 0.5339 GB, free: 82.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/1.309, allocations: 40 kB / 0.5339 GB, free: 82.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005678/1.315, allocations: 2.628 MB / 0.5365 GB, free: 79.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.12e-07/1.315, allocations: 0 / 0.5365 GB, free: 79.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006676/1.322, allocations: 0.9725 MB / 0.5374 GB, free: 78.71 MB / 410.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.0008234/1.323, allocations: 158.9 kB / 0.5376 GB, free: 78.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01163/1.334, allocations: 4.795 MB / 0.5423 GB, free: 73.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.334, allocations: 4 kB / 0.5423 GB, free: 73.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003346/1.338, allocations: 1.45 MB / 0.5437 GB, free: 72.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003257/1.341, allocations: 406.3 kB / 0.5441 GB, free: 71.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/1.363, allocations: 10.48 MB / 0.5543 GB, free: 61.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005851/1.369, allocations: 3.323 MB / 0.5576 GB, free: 58.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007829/1.377, allocations: 1.87 MB / 0.5594 GB, free: 56.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/1.378, allocations: 239.3 kB / 0.5596 GB, free: 55.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/1.378, allocations: 0 / 0.5596 GB, free: 55.93 MB / 410.7 MB Notification: Performance of Templates: time 0.1078/1.486, allocations: 33.5 MB / 0.5923 GB, free: 22.56 MB / 410.7 MB