Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyCylinder2.body.Q.1.|bodyCylinder2.body.Q.2.|bodyCylinder2.body.Q.3.|bodyCylinder2.body.Q.4.|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.Q.1.|bodyCylinder3.body.Q.2.|bodyCylinder3.body.Q.3.|bodyCylinder3.body.Q.4.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 234.9 MB / 250.1 MB, free: 9.805 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.545e-05, allocations: 8 kB / 308 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3537, allocations: 54.86 MB / 362.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1): time 0.1203/0.474, allocations: 74.59 MB / 437.4 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04821/0.5223, allocations: 16.19 MB / 453.6 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02075/0.5431, allocations: 414.9 kB / 454 MB, free: 372 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01799/0.5612, allocations: 3.982 MB / 458 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04947/0.6107, allocations: 10.82 MB / 468.8 MB, free: 1.516 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007251/0.618, allocations: 1.225 MB / 470.1 MB, free: 296 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.4965/1.115, allocations: 33.02 MB / 0.4913 GB, free: 15.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01278/1.127, allocations: 7.078 MB / 0.4982 GB, free: 15.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004172/1.132, allocations: 1.694 MB / 0.4999 GB, free: 15.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005216/1.137, allocations: 2.478 MB / 0.5023 GB, free: 15.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/1.142, allocations: 1.346 MB / 0.5036 GB, free: 15.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002337/1.144, allocations: 224.5 kB / 0.5038 GB, free: 15.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004771/1.149, allocations: 2.992 MB / 0.5067 GB, free: 15.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00305/1.152, allocations: 0.4915 MB / 0.5072 GB, free: 15.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01312/1.165, allocations: 9.838 MB / 0.5168 GB, free: 9.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.165, allocations: 0 / 0.5168 GB, free: 9.516 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.417e-06/1.165, allocations: 0 / 0.5168 GB, free: 9.516 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004851/1.166, allocations: 0 / 0.5168 GB, free: 9.516 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: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.03568/1.201, allocations: 8.137 MB / 0.5248 GB, free: 1.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.201, allocations: 12.03 kB / 0.5248 GB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2652/1.467, allocations: 26.75 MB / 0.5509 GB, free: 8.504 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02789/1.494, allocations: 8.027 MB / 0.5587 GB, free: 2.559 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005479/1.495, allocations: 381.5 kB / 0.5591 GB, free: 2.355 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004119/1.499, allocations: 0.6817 MB / 0.5598 GB, free: 1.891 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05591/1.555, allocations: 16.69 MB / 0.5761 GB, free: 4.605 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004441/1.556, allocations: 83.44 kB / 0.5761 GB, free: 4.559 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002526/1.558, allocations: 238.5 kB / 0.5764 GB, free: 4.488 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007359/1.566, allocations: 2.664 MB / 0.579 GB, free: 2.328 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05261/1.618, allocations: 13.95 MB / 0.5926 GB, free: 8.332 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/1.753, allocations: 66.4 MB / 0.6574 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05006/1.804, allocations: 8.744 MB / 0.666 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002644/1.806, allocations: 1.048 MB / 0.667 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/1.806, allocations: 71.38 kB / 0.6671 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=268): time 6.522e-06/1.806, allocations: 0 / 0.6671 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of matching and sorting (n=345): time 0.589/2.395, allocations: 49.84 MB / 0.7157 GB, free: 196.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002671/2.398, allocations: 3.267 MB / 0.7189 GB, free: 192.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01723/2.415, allocations: 7.383 MB / 0.7261 GB, free: 185.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00126/2.417, allocations: 75.89 kB / 0.7262 GB, free: 185.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00451/2.421, allocations: 4.811 MB / 0.7309 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002506/2.424, allocations: 1.315 MB / 0.7322 GB, free: 179 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001702/2.426, allocations: 184.7 kB / 0.7324 GB, free: 178.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008224/2.427, allocations: 0.7117 MB / 0.7331 GB, free: 178.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01167/2.438, allocations: 4.641 MB / 0.7376 GB, free: 173.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01462/2.453, allocations: 9.853 MB / 0.7472 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01464/2.468, allocations: 6.612 MB / 0.7537 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/2.468, allocations: 57.67 kB / 0.7537 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1236) (initialization): time 0.1226/2.59, allocations: 31.51 MB / 0.7845 GB, free: 123 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/2.591, allocations: 87.98 kB / 0.7846 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08898/2.68, allocations: 20.87 MB / 0.805 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08811/2.768, allocations: 16.9 MB / 0.8215 GB, free: 85.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01449/2.782, allocations: 2.176 MB / 0.8236 GB, free: 82.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08612/2.868, allocations: 37.03 MB / 0.8598 GB, free: 45.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01402/2.883, allocations: 0.7823 MB / 0.8605 GB, free: 44.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002499/2.885, allocations: 0.5608 MB / 0.8611 GB, free: 43.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 830 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1070): * Single equations (assignments): 1053 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01004/2.895, allocations: 3.357 MB / 0.8644 GB, free: 40.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002598/2.898, allocations: 0.671 MB / 0.865 GB, free: 39.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03682/2.935, allocations: 10.41 MB / 0.8752 GB, free: 29.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0313/2.966, allocations: 9.096 MB / 0.8841 GB, free: 20.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.439e-05/2.966, allocations: 16 kB / 0.8841 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.311e-05/2.966, allocations: 19.89 kB / 0.8841 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4262/3.392, allocations: 24.03 MB / 0.9076 GB, free: 191.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.954e-05/3.393, allocations: 0 / 0.9076 GB, free: 191.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007019/3.4, allocations: 0.6672 MB / 0.9082 GB, free: 191.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02421/3.424, allocations: 4.124 MB / 0.9122 GB, free: 190.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00127/3.425, allocations: 91.02 kB / 0.9123 GB, free: 190.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04953/3.475, allocations: 24.37 MB / 0.9361 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002724/3.478, allocations: 3.034 MB / 0.9391 GB, free: 172.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05548/3.533, allocations: 16.03 MB / 0.9547 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005718/3.539, allocations: 1.436 MB / 0.9561 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003225/3.542, allocations: 75.98 kB / 0.9562 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008348/3.551, allocations: 359.8 kB / 0.9566 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001681/3.552, allocations: 252.8 kB / 0.9568 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009595/3.553, allocations: 95.95 kB / 0.9569 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01318/3.566, allocations: 5.333 MB / 0.9621 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.142e-06/3.567, allocations: 0 / 0.9621 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01334/3.58, allocations: 2.167 MB / 0.9642 GB, free: 147.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 34,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001775/3.582, allocations: 232.7 kB / 0.9644 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02859/3.61, allocations: 12.07 MB / 0.9762 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/3.61, allocations: 0 / 0.9762 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01347/3.624, allocations: 5.158 MB / 0.9813 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008603/3.633, allocations: 0.9549 MB / 0.9822 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05529/3.688, allocations: 22.13 MB / 1.004 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01611/3.704, allocations: 5.494 MB / 1.009 GB, free: 101 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005019/3.709, allocations: 0.5227 MB / 1.01 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.813e-06/3.709, allocations: 3.938 kB / 1.01 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of Templates: time 1.34/5.049, allocations: 299.8 MB / 1.303 GB, free: 179 MB / 0.5261 GB