Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.549e-05, allocations: 11.92 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3434, allocations: 48.68 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.1057/0.4492, allocations: 67.63 MB / 392.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04126/0.4905, allocations: 13.39 MB / 405.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01684/0.5074, allocations: 351.2 kB / 406.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01328/0.5207, allocations: 3.562 MB / 409.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03659/0.5574, allocations: 9.298 MB / 419.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.5625, allocations: 483.4 kB / 419.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005386/0.5679, allocations: 1.665 MB / 421.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009341/0.5773, allocations: 4.063 MB / 425.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.5796, allocations: 0.9349 MB / 426.2 MB, free: 9.953 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/0.5841, allocations: 1.851 MB / 428.1 MB, free: 8.098 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.5867, allocations: 0.5658 MB / 428.6 MB, free: 7.531 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001362/0.5881, allocations: 140 kB / 428.8 MB, free: 7.395 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003178/0.5914, allocations: 1.652 MB / 430.4 MB, free: 5.738 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.5932, allocations: 324 kB / 430.7 MB, free: 5.422 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.6044, allocations: 6.754 MB / 437.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.6045, allocations: 4 kB / 437.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.562e-06/0.6045, allocations: 3.984 kB / 437.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003274/0.6048, allocations: 0 / 437.5 MB, free: 14.64 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.1422/0.7471, allocations: 13.58 MB / 451.1 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.7472, allocations: 12.03 kB / 451.1 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/0.7627, allocations: 2.169 MB / 453.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/0.776, allocations: 2.882 MB / 456.1 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006514/0.7767, allocations: 291.5 kB / 456.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004405/0.7811, allocations: 411.5 kB / 456.8 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08347/0.8647, allocations: 15.09 MB / 471.9 MB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003012/0.865, allocations: 63.42 kB / 472 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002597/0.8676, allocations: 179.9 kB / 472.1 MB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007038/0.8747, allocations: 1.78 MB / 473.9 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3597/1.234, allocations: 15.27 MB / 489.2 MB, free: 121.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1127/1.347, allocations: 47.62 MB / 0.5242 GB, free: 87.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08767/1.435, allocations: 7.192 MB / 0.5313 GB, free: 83.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006932/1.442, allocations: 480.8 kB / 0.5317 GB, free: 83.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/1.442, allocations: 51.06 kB / 0.5318 GB, free: 83.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=212): time 7.083e-06/1.442, allocations: 0 / 0.5318 GB, free: 83.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.203/1.645, allocations: 14.19 MB / 0.5456 GB, free: 69.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.531e-05/1.645, allocations: 161.8 kB / 0.5458 GB, free: 69.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/1.658, allocations: 4.148 MB / 0.5498 GB, free: 65.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006075/1.659, allocations: 58.88 kB / 0.5499 GB, free: 64.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003801/1.662, allocations: 3.363 MB / 0.5532 GB, free: 61.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001679/1.664, allocations: 0.8385 MB / 0.554 GB, free: 60.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008731/1.665, allocations: 137.4 kB / 0.5541 GB, free: 60.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006267/1.666, allocations: 0.5919 MB / 0.5547 GB, free: 60.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007977/1.674, allocations: 2.234 MB / 0.5569 GB, free: 57.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0112/1.685, allocations: 6.47 MB / 0.5632 GB, free: 49.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/1.697, allocations: 3.726 MB / 0.5668 GB, free: 45.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000155/1.697, allocations: 40 kB / 0.5669 GB, free: 45.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02565/1.722, allocations: 8.37 MB / 0.575 GB, free: 37.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/1.723, allocations: 68.94 kB / 0.5751 GB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/1.723, allocations: 152 kB / 0.5753 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/1.723, allocations: 224 kB / 0.5755 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/1.733, allocations: 1.634 MB / 0.5771 GB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002871/1.734, allocations: 294.9 kB / 0.5773 GB, free: 34.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007809/1.741, allocations: 0.9173 MB / 0.5782 GB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/1.743, allocations: 443.9 kB / 0.5787 GB, free: 33.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 39 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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 (852): * Single equations (assignments): 849 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005431/1.748, allocations: 2.257 MB / 0.5809 GB, free: 31.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.749, allocations: 406.8 kB / 0.5813 GB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006903/1.756, allocations: 2.714 MB / 0.5839 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-05/1.756, allocations: 24 kB / 0.5839 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/1.756, allocations: 3.953 kB / 0.5839 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/1.756, allocations: 15.95 kB / 0.5839 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/1.777, allocations: 8.086 MB / 0.5918 GB, free: 19.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/1.777, allocations: 8 kB / 0.5919 GB, free: 19.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003985/1.781, allocations: 415.5 kB / 0.5922 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-05/1.781, allocations: 16 kB / 0.5923 GB, free: 19.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002745/1.781, allocations: 53.94 kB / 0.5923 GB, free: 19.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.09e-05/1.781, allocations: 12 kB / 0.5923 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.781, allocations: 11.94 kB / 0.5923 GB, free: 19.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/1.792, allocations: 6.362 MB / 0.5986 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.793, allocations: 0.507 MB / 0.599 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001542/1.795, allocations: 47.98 kB / 0.5991 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003385/1.798, allocations: 77.66 kB / 0.5992 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006311/1.799, allocations: 149.1 kB / 0.5993 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/1.799, allocations: 64 kB / 0.5994 GB, free: 11.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006797/1.806, allocations: 2.911 MB / 0.6022 GB, free: 8.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.806, allocations: 0 / 0.6022 GB, free: 8.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007564/1.814, allocations: 1.347 MB / 0.6035 GB, free: 7.309 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 205 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009152/1.815, allocations: 188.4 kB / 0.6037 GB, free: 7.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01168/1.826, allocations: 5.134 MB / 0.6087 GB, free: 2.016 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/1.827, allocations: 4.875 kB / 0.6087 GB, free: 2.012 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003088/1.83, allocations: 1.417 MB / 0.6101 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004001/1.834, allocations: 0.4912 MB / 0.6106 GB, free: 108 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0327/1.866, allocations: 13.29 MB / 0.6236 GB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008313/1.875, allocations: 3.69 MB / 0.6272 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002524/1.877, allocations: 363.3 kB / 0.6275 GB, free: 14.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.613e-06/1.877, allocations: 4 kB / 0.6275 GB, free: 14.59 MB / 442.7 MB Notification: Performance of Templates: time 0.4684/2.346, allocations: 64.96 MB / 0.691 GB, free: 111.8 MB / 442.7 MB