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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.075/2.075, allocations: 209.3 MB / 224.4 MB, free: 0.6641 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.353e-05, allocations: 4 kB / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3593, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.06532/0.4247, allocations: 39.65 MB / 364.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03077/0.4555, allocations: 8.935 MB / 373.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01122/0.4668, allocations: 203.6 kB / 373.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008647/0.4755, allocations: 2.057 MB / 375.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02327/0.4988, allocations: 5.68 MB / 381.4 MB, free: 6.918 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00378/0.5026, allocations: 0.4992 MB / 381.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005182/0.5079, allocations: 1.529 MB / 383.4 MB, free: 4.883 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008938/0.5169, allocations: 4.033 MB / 387.4 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.5193, allocations: 0.7908 MB / 388.2 MB, free: 36 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/0.5225, allocations: 1.255 MB / 389.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/0.5254, allocations: 0.7801 MB / 390.3 MB, free: 14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.5267, allocations: 120 kB / 390.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002808/0.5295, allocations: 1.484 MB / 391.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.531, allocations: 260 kB / 392.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009561/0.5406, allocations: 5.557 MB / 397.7 MB, free: 6.566 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5407, allocations: 4 kB / 397.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.278e-06/0.5407, allocations: 0 / 397.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002949/0.541, allocations: 0 / 397.7 MB, free: 6.562 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.03829/0.5794, allocations: 4.84 MB / 402.5 MB, free: 1.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.475e-05/0.5795, allocations: 16.03 kB / 402.5 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02324/0.6027, allocations: 2.237 MB / 404.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.6146, allocations: 2.495 MB / 407.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005465/0.6152, allocations: 242.1 kB / 407.5 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002613/0.6179, allocations: 323.7 kB / 407.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04689/0.6649, allocations: 10.36 MB / 418.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002883/0.6652, allocations: 43.59 kB / 418.2 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001827/0.6671, allocations: 151.9 kB / 418.4 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00581/0.6729, allocations: 1.865 MB / 420.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0307/0.7037, allocations: 8.986 MB / 429.2 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07748/0.7812, allocations: 38.7 MB / 467.9 MB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02125/0.8025, allocations: 3.693 MB / 471.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.8046, allocations: 0.6906 MB / 472.3 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.8047, allocations: 51.5 kB / 472.3 MB, free: 9.715 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 5.651e-06/0.8047, allocations: 0 / 472.3 MB, free: 9.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.3819/1.187, allocations: 13.84 MB / 486.2 MB, free: 126.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/1.187, allocations: 153.3 kB / 486.3 MB, free: 126 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.197, allocations: 3.734 MB / 490.1 MB, free: 124.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004361/1.197, allocations: 46.3 kB / 490.1 MB, free: 124.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003025/1.2, allocations: 3.041 MB / 493.2 MB, free: 122.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001302/1.202, allocations: 0.6197 MB / 493.8 MB, free: 121.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006699/1.202, allocations: 111.9 kB / 493.9 MB, free: 121.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004947/1.203, allocations: 0.5581 MB / 494.4 MB, free: 121.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006099/1.209, allocations: 1.986 MB / 496.4 MB, free: 120.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008608/1.218, allocations: 5.649 MB / 0.4903 GB, free: 115 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008406/1.226, allocations: 3.271 MB / 0.4935 GB, free: 113.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002211/1.227, allocations: 40.19 kB / 0.4935 GB, free: 113.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02377/1.25, allocations: 8.015 MB / 0.5014 GB, free: 110.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.25, allocations: 66.38 kB / 0.5014 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002088/1.251, allocations: 129 kB / 0.5016 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004251/1.255, allocations: 0.9246 MB / 0.5025 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008024/1.263, allocations: 1.348 MB / 0.5038 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00999/1.273, allocations: 4.962 MB / 0.5086 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006525/1.28, allocations: 328.3 kB / 0.5089 GB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/1.281, allocations: 362.3 kB / 0.5093 GB, free: 107.7 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.004976/1.286, allocations: 2.049 MB / 0.5113 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.287, allocations: 343.5 kB / 0.5116 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009369/1.296, allocations: 2.956 MB / 0.5145 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.394e-05/1.296, allocations: 20.7 kB / 0.5145 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/1.296, allocations: 7.938 kB / 0.5145 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.751e-05/1.297, allocations: 7.969 kB / 0.5145 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0219/1.318, allocations: 7.625 MB / 0.522 GB, free: 94.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/1.318, allocations: 0 / 0.522 GB, free: 94.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/1.321, allocations: 295.7 kB / 0.5223 GB, free: 94.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00376/1.325, allocations: 0.7158 MB / 0.523 GB, free: 93.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003625/1.325, allocations: 31.98 kB / 0.523 GB, free: 93.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009161/1.335, allocations: 4.542 MB / 0.5274 GB, free: 89.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.335, allocations: 0 / 0.5274 GB, free: 89.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/1.354, allocations: 5.53 MB / 0.5328 GB, free: 83.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00286/1.357, allocations: 0.6393 MB / 0.5335 GB, free: 82.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/1.358, allocations: 29.41 kB / 0.5335 GB, free: 82.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00392/1.362, allocations: 95.88 kB / 0.5336 GB, free: 82.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006281/1.363, allocations: 88.88 kB / 0.5337 GB, free: 82.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002571/1.363, allocations: 45.23 kB / 0.5337 GB, free: 82.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007914/1.371, allocations: 2.632 MB / 0.5363 GB, free: 79.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.81e-07/1.371, allocations: 0 / 0.5363 GB, free: 79.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00961/1.381, allocations: 0.9662 MB / 0.5372 GB, free: 79.01 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.0009912/1.382, allocations: 170.6 kB / 0.5374 GB, free: 78.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01223/1.394, allocations: 4.782 MB / 0.542 GB, free: 74.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.394, allocations: 0 / 0.542 GB, free: 74.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003536/1.398, allocations: 1.456 MB / 0.5435 GB, free: 72.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003639/1.401, allocations: 396.2 kB / 0.5438 GB, free: 72.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/1.424, allocations: 10.94 MB / 0.5545 GB, free: 61.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005164/1.429, allocations: 3.334 MB / 0.5578 GB, free: 57.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/1.431, allocations: 283.4 kB / 0.5581 GB, free: 57.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/1.431, allocations: 0 / 0.5581 GB, free: 57.59 MB / 410.7 MB Notification: Performance of Templates: time 0.4108/1.842, allocations: 71.96 MB / 0.6283 GB, free: 128.1 MB / 426.7 MB