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.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.277e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3549, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1): time 0.1202/0.4752, allocations: 74.58 MB / 399.4 MB, free: 4.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05176/0.527, allocations: 16.16 MB / 415.6 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01983/0.5469, allocations: 410.9 kB / 416 MB, free: 4.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01516/0.5621, allocations: 3.982 MB / 420 MB, free: 236 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04323/0.6054, allocations: 10.81 MB / 430.8 MB, free: 5.387 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007279/0.6127, allocations: 1.248 MB / 432 MB, free: 4.137 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.09922/0.712, allocations: 33.04 MB / 465.1 MB, free: 3.074 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01563/0.7277, allocations: 7.093 MB / 472.2 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004869/0.7326, allocations: 1.687 MB / 473.9 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005757/0.7384, allocations: 2.49 MB / 476.3 MB, free: 7.742 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007446/0.7459, allocations: 1.338 MB / 477.7 MB, free: 6.402 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004283/0.7503, allocations: 228 kB / 477.9 MB, free: 6.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006015/0.7564, allocations: 2.989 MB / 480.9 MB, free: 3.184 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002798/0.7592, allocations: 0.4922 MB / 481.4 MB, free: 2.691 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3885/1.148, allocations: 9.83 MB / 491.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.148, allocations: 0 / 491.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.148, allocations: 1.656 kB / 491.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005243/1.148, allocations: 0 / 491.2 MB, free: 40.16 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: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.04276/1.191, allocations: 8.135 MB / 499.4 MB, free: 37.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/1.191, allocations: 9.625 kB / 499.4 MB, free: 37.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2656/1.457, allocations: 26.76 MB / 0.5138 GB, free: 27.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02613/1.483, allocations: 8.024 MB / 0.5216 GB, free: 23.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005121/1.484, allocations: 375.3 kB / 0.522 GB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004498/1.488, allocations: 0.6866 MB / 0.5227 GB, free: 23.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05357/1.542, allocations: 16.68 MB / 0.5389 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004175/1.542, allocations: 89.02 kB / 0.539 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002903/1.545, allocations: 240.5 kB / 0.5393 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006463/1.552, allocations: 2.662 MB / 0.5419 GB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04872/1.6, allocations: 13.96 MB / 0.5555 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.137/1.738, allocations: 66.38 MB / 0.6203 GB, free: 6.168 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04843/1.786, allocations: 8.751 MB / 0.6289 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002552/1.789, allocations: 1.047 MB / 0.6299 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.675e-05/1.789, allocations: 61.41 kB / 0.6299 GB, free: 13.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=268): time 6.782e-06/1.789, allocations: 0 / 0.6299 GB, free: 13.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=345): time 0.6285/2.417, allocations: 49.85 MB / 0.6786 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002766/2.42, allocations: 3.266 MB / 0.6818 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01916/2.439, allocations: 7.385 MB / 0.689 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/2.441, allocations: 76.69 kB / 0.6891 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005134/2.446, allocations: 4.824 MB / 0.6938 GB, free: 117 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002779/2.449, allocations: 1.309 MB / 0.6951 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/2.451, allocations: 183.7 kB / 0.6953 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000808/2.451, allocations: 0.7114 MB / 0.696 GB, free: 116 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01231/2.464, allocations: 4.641 MB / 0.7005 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01676/2.481, allocations: 9.859 MB / 0.7101 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01564/2.496, allocations: 6.609 MB / 0.7166 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000218/2.497, allocations: 52.03 kB / 0.7166 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1236) (initialization): time 0.1264/2.623, allocations: 31.52 MB / 0.7474 GB, free: 87.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/2.623, allocations: 87.44 kB / 0.7475 GB, free: 87.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0894/2.713, allocations: 20.87 MB / 0.7679 GB, free: 70.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08877/2.801, allocations: 16.89 MB / 0.7844 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01449/2.816, allocations: 2.177 MB / 0.7865 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08537/2.901, allocations: 37.04 MB / 0.8227 GB, free: 20.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01487/2.916, allocations: 0.7826 MB / 0.8234 GB, free: 20.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002753/2.919, allocations: 0.5546 MB / 0.824 GB, free: 19.53 MB / 0.4948 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.01205/2.931, allocations: 3.373 MB / 0.8273 GB, free: 16.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002338/2.934, allocations: 0.6672 MB / 0.8279 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03548/2.969, allocations: 10.4 MB / 0.8381 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4159/3.385, allocations: 9.098 MB / 0.847 GB, free: 192 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.707e-05/3.385, allocations: 16.25 kB / 0.847 GB, free: 192 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000106/3.385, allocations: 18.48 kB / 0.847 GB, free: 192 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08813/3.473, allocations: 24.02 MB / 0.8704 GB, free: 184.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.302e-05/3.474, allocations: 7.125 kB / 0.8705 GB, free: 184.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009072/3.483, allocations: 0.6589 MB / 0.8711 GB, free: 184.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03198/3.515, allocations: 4.133 MB / 0.8751 GB, free: 183.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001538/3.516, allocations: 95.34 kB / 0.8752 GB, free: 183.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0523/3.569, allocations: 24.38 MB / 0.899 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002497/3.571, allocations: 3.034 MB / 0.902 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0446/3.616, allocations: 16.02 MB / 0.9176 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006114/3.622, allocations: 1.438 MB / 0.9191 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003334/3.625, allocations: 79.98 kB / 0.9191 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008805/3.634, allocations: 355.3 kB / 0.9195 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001918/3.636, allocations: 248.6 kB / 0.9197 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001069/3.637, allocations: 99.95 kB / 0.9198 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01368/3.651, allocations: 5.341 MB / 0.925 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.873e-06/3.651, allocations: 2.281 kB / 0.925 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01656/3.668, allocations: 2.162 MB / 0.9271 GB, free: 140 MB / 0.4948 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.001808/3.67, allocations: 233.9 kB / 0.9274 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02911/3.699, allocations: 12.07 MB / 0.9391 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/3.699, allocations: 0 / 0.9391 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01339/3.712, allocations: 5.148 MB / 0.9442 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008963/3.721, allocations: 0.9519 MB / 0.9451 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05191/3.773, allocations: 22.17 MB / 0.9667 GB, free: 99.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0129/3.786, allocations: 5.501 MB / 0.9721 GB, free: 93.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003862/3.79, allocations: 0.5071 MB / 0.9726 GB, free: 93.42 MB / 0.4948 GB Notification: Performance of SimCode: time 1.623e-06/3.79, allocations: 0 / 0.9726 GB, free: 93.42 MB / 0.4948 GB Notification: Performance of Templates: time 1.143/4.933, allocations: 299.8 MB / 1.265 GB, free: 168.8 MB / 0.4948 GB