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_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadModel(ModelicaTest): time 1.995/1.995, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.313e-05, allocations: 4 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08782, allocations: 48.7 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3578/0.4456, allocations: 81.18 MB / 403 MB, free: 6.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.4459, allocations: 76.45 kB / 403 MB, free: 6.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3395/0.7854, allocations: 89.75 MB / 492.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.376e-06/0.7855, allocations: 4 kB / 492.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003605/0.7858, allocations: 99.98 kB / 492.9 MB, free: 11.14 MB / 394.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.07036/0.8562, allocations: 9.639 MB / 0.4907 GB, free: 1.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.8563, allocations: 8.031 kB / 0.4907 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.8679, allocations: 2.083 MB / 0.4928 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.8781, allocations: 3.39 MB / 0.4961 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005189/0.8787, allocations: 345.1 kB / 0.4964 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002956/0.8816, allocations: 475.6 kB / 0.4969 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09602/0.9777, allocations: 15.27 MB / 0.5118 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000299/0.978, allocations: 63.36 kB / 0.5119 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002303/0.9803, allocations: 223.9 kB / 0.5121 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0033/0.9837, allocations: 1.109 MB / 0.5131 GB, free: 9.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3608/1.344, allocations: 14.99 MB / 0.5278 GB, free: 83.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08251/1.427, allocations: 55.53 MB / 0.582 GB, free: 54.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05355/1.481, allocations: 7.196 MB / 0.589 GB, free: 53.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005241/1.486, allocations: 2.812 MB / 0.5918 GB, free: 52.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/1.497, allocations: 6.569 MB / 0.5982 GB, free: 47.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/1.497, allocations: 56.81 kB / 0.5983 GB, free: 47.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 6.45e-06/1.497, allocations: 3.25 kB / 0.5983 GB, free: 47.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.005582/1.502, allocations: 2.681 MB / 0.6009 GB, free: 46.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/1.502, allocations: 143.6 kB / 0.601 GB, free: 46.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008724/1.511, allocations: 4.215 MB / 0.6051 GB, free: 44.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003105/1.512, allocations: 54.12 kB / 0.6052 GB, free: 44.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002696/1.514, allocations: 3.584 MB / 0.6087 GB, free: 42.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009122/1.515, allocations: 0.7225 MB / 0.6094 GB, free: 41.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006115/1.516, allocations: 132.3 kB / 0.6095 GB, free: 41.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004167/1.516, allocations: 0.5889 MB / 0.6101 GB, free: 41.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0048/1.521, allocations: 2.158 MB / 0.6122 GB, free: 40.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006945/1.528, allocations: 6.365 MB / 0.6184 GB, free: 33.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007219/1.535, allocations: 3.702 MB / 0.622 GB, free: 32.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/1.535, allocations: 41.34 kB / 0.6221 GB, free: 32.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01918/1.555, allocations: 7.944 MB / 0.6298 GB, free: 29.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/1.555, allocations: 68 kB / 0.6299 GB, free: 29.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/1.555, allocations: 153.1 kB / 0.63 GB, free: 29.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/1.555, allocations: 220.3 kB / 0.6302 GB, free: 29.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007725/1.563, allocations: 1.625 MB / 0.6318 GB, free: 29.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002967/1.563, allocations: 296.1 kB / 0.6321 GB, free: 29.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007443/1.571, allocations: 0.9248 MB / 0.633 GB, free: 28.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001449/1.572, allocations: 441.7 kB / 0.6334 GB, free: 28.13 MB / 426.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 (846): * Single equations (assignments): 843 * 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.001403/1.574, allocations: 0.6272 MB / 0.6341 GB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008888/1.575, allocations: 404.7 kB / 0.6344 GB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/1.58, allocations: 2.514 MB / 0.6369 GB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-05/1.58, allocations: 25.09 kB / 0.6369 GB, free: 25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/1.58, allocations: 0 / 0.6369 GB, free: 25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/1.58, allocations: 9.844 kB / 0.6369 GB, free: 25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/1.591, allocations: 4.283 MB / 0.6411 GB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/1.591, allocations: 4 kB / 0.6411 GB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002574/1.593, allocations: 348.3 kB / 0.6414 GB, free: 21.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.629e-05/1.593, allocations: 8 kB / 0.6415 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002925/1.594, allocations: 35.42 kB / 0.6415 GB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.297e-05/1.594, allocations: 8 kB / 0.6415 GB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.771e-06/1.594, allocations: 0 / 0.6415 GB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00767/1.601, allocations: 4.852 MB / 0.6462 GB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.603, allocations: 0.4899 MB / 0.6467 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/1.604, allocations: 36.17 kB / 0.6467 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00248/1.607, allocations: 65.09 kB / 0.6468 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/1.607, allocations: 96.8 kB / 0.6469 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/1.607, allocations: 51.94 kB / 0.6469 GB, free: 16.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006903/1.614, allocations: 2.935 MB / 0.6498 GB, free: 13.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.106e-06/1.614, allocations: 4 kB / 0.6498 GB, free: 13.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007524/1.622, allocations: 1.338 MB / 0.6511 GB, free: 12.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (172): * Single equations (assignments): 169 * 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.0005867/1.622, allocations: 168.9 kB / 0.6513 GB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009396/1.632, allocations: 4.735 MB / 0.6559 GB, free: 7.906 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.002e-06/1.632, allocations: 2.25 kB / 0.6559 GB, free: 7.906 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002154/1.634, allocations: 1.245 MB / 0.6571 GB, free: 6.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/1.637, allocations: 484.2 kB / 0.6576 GB, free: 6.387 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.657, allocations: 8.725 MB / 0.6661 GB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008217/1.665, allocations: 3.68 MB / 0.6697 GB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008507/1.673, allocations: 2.044 MB / 0.6717 GB, free: 9.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/1.675, allocations: 311.3 kB / 0.672 GB, free: 9.375 MB / 442.7 MB Notification: Performance of SimCode: time 1.897e-06/1.675, allocations: 0 / 0.672 GB, free: 9.375 MB / 442.7 MB Notification: Performance of Templates: time 0.3958/2.071, allocations: 39.4 MB / 0.7105 GB, free: 108.9 MB / 458.7 MB