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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.432/2.432, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.773e-05/5.782e-05, allocations: 4.047 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3718, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.06169/0.4335, allocations: 39.67 MB / 402.5 MB, free: 6.113 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02628/0.4598, allocations: 8.957 MB / 411.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009112/0.469, allocations: 203.6 kB / 411.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007636/0.4767, allocations: 2.065 MB / 413.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02206/0.4988, allocations: 5.664 MB / 419.4 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003467/0.5023, allocations: 0.4914 MB / 419.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004654/0.507, allocations: 1.524 MB / 421.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008541/0.5156, allocations: 4.038 MB / 425.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.5177, allocations: 0.7908 MB / 426.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/0.5207, allocations: 1.255 MB / 427.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.5236, allocations: 0.7763 MB / 428.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.5248, allocations: 120 kB / 428.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002798/0.5276, allocations: 1.48 MB / 429.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.5291, allocations: 260 kB / 430.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009672/0.5388, allocations: 5.565 MB / 435.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5389, allocations: 0 / 435.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5389, allocations: 0 / 435.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002945/0.5392, allocations: 3.938 kB / 435.7 MB, free: 4.816 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.02669/0.5659, allocations: 4.848 MB / 440.6 MB, free: 15.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.566, allocations: 11.97 kB / 440.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/0.5806, allocations: 2.225 MB / 442.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007697/0.5884, allocations: 2.499 MB / 445.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003547/0.5888, allocations: 234.1 kB / 445.5 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/0.5906, allocations: 323.7 kB / 445.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.032/0.6227, allocations: 10.37 MB / 456.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001998/0.6229, allocations: 43.61 kB / 456.2 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001271/0.6242, allocations: 155.8 kB / 456.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005597/0.6298, allocations: 1.869 MB / 458.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03128/0.6612, allocations: 8.978 MB / 467.2 MB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4046/1.066, allocations: 38.7 MB / 0.4941 GB, free: 96.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02014/1.086, allocations: 3.696 MB / 0.4977 GB, free: 95.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001716/1.088, allocations: 0.6911 MB / 0.4984 GB, free: 95.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/1.088, allocations: 51.31 kB / 0.4984 GB, free: 95.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=151): time 5.601e-06/1.088, allocations: 3.406 kB / 0.4984 GB, free: 95.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=157): time 0.06778/1.156, allocations: 13.85 MB / 0.5119 GB, free: 91.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/1.156, allocations: 149.2 kB / 0.5121 GB, free: 91.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008134/1.164, allocations: 3.73 MB / 0.5157 GB, free: 89.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004229/1.164, allocations: 51.92 kB / 0.5158 GB, free: 89.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002479/1.167, allocations: 3.036 MB / 0.5187 GB, free: 86.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/1.168, allocations: 0.623 MB / 0.5194 GB, free: 85.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005917/1.169, allocations: 116 kB / 0.5195 GB, free: 85.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003977/1.169, allocations: 0.5468 MB / 0.52 GB, free: 85.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005063/1.174, allocations: 1.986 MB / 0.5219 GB, free: 83.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007326/1.181, allocations: 5.639 MB / 0.5274 GB, free: 75.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007504/1.189, allocations: 3.286 MB / 0.5307 GB, free: 72.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001135/1.189, allocations: 36 kB / 0.5307 GB, free: 72.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02293/1.212, allocations: 8.018 MB / 0.5385 GB, free: 64.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.212, allocations: 60 kB / 0.5386 GB, free: 64.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/1.212, allocations: 132 kB / 0.5387 GB, free: 64.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004302/1.217, allocations: 0.9295 MB / 0.5396 GB, free: 63.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008182/1.225, allocations: 1.345 MB / 0.5409 GB, free: 62.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009767/1.235, allocations: 4.972 MB / 0.5458 GB, free: 57.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006457/1.241, allocations: 319 kB / 0.5461 GB, free: 56.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.243, allocations: 368 kB / 0.5464 GB, free: 56.61 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.004953/1.247, allocations: 2.041 MB / 0.5484 GB, free: 54.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008829/1.248, allocations: 343.6 kB / 0.5488 GB, free: 54.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0094/1.258, allocations: 2.964 MB / 0.5516 GB, free: 51.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.727e-05/1.258, allocations: 16 kB / 0.5517 GB, free: 51.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.258, allocations: 4 kB / 0.5517 GB, free: 51.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.816e-05/1.258, allocations: 7.969 kB / 0.5517 GB, free: 51.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02189/1.28, allocations: 7.63 MB / 0.5591 GB, free: 43.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.908e-05/1.28, allocations: 4 kB / 0.5591 GB, free: 43.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002846/1.283, allocations: 299.6 kB / 0.5594 GB, free: 43.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003848/1.287, allocations: 0.7108 MB / 0.5601 GB, free: 42.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003923/1.287, allocations: 27.98 kB / 0.5601 GB, free: 42.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009013/1.296, allocations: 4.533 MB / 0.5646 GB, free: 37.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.296, allocations: 0 / 0.5646 GB, free: 37.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/1.31, allocations: 5.53 MB / 0.57 GB, free: 32.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/1.312, allocations: 0.6331 MB / 0.5706 GB, free: 31.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/1.313, allocations: 28 kB / 0.5706 GB, free: 31.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/1.316, allocations: 93.28 kB / 0.5707 GB, free: 31.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006458/1.317, allocations: 92.83 kB / 0.5708 GB, free: 31.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/1.317, allocations: 43.98 kB / 0.5708 GB, free: 31.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005876/1.323, allocations: 2.624 MB / 0.5734 GB, free: 28.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.323e-06/1.323, allocations: 4 kB / 0.5734 GB, free: 28.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006332/1.329, allocations: 0.9649 MB / 0.5743 GB, free: 27.73 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.0007996/1.33, allocations: 162.5 kB / 0.5745 GB, free: 27.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01094/1.341, allocations: 4.799 MB / 0.5792 GB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.341, allocations: 0 / 0.5792 GB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003452/1.345, allocations: 1.454 MB / 0.5806 GB, free: 21.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/1.348, allocations: 395 kB / 0.581 GB, free: 20.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/1.371, allocations: 10.93 MB / 0.5916 GB, free: 9.953 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005932/1.377, allocations: 3.328 MB / 0.5949 GB, free: 6.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/1.379, allocations: 283.4 kB / 0.5952 GB, free: 6.316 MB / 426.7 MB Notification: Performance of SimCode: time 2.114e-06/1.379, allocations: 0 / 0.5952 GB, free: 6.316 MB / 426.7 MB Notification: Performance of Templates: time 0.1587/1.538, allocations: 72 MB / 0.6655 GB, free: 14.27 MB / 0.4948 GB