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_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 270 MB / 283.6 MB, free: 1.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.571e-05, allocations: 0 / 348.4 MB, free: 2.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3205, allocations: 61.88 MB / 410.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/0.5303, allocations: 96.23 MB / 0.4946 GB, free: 10.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/0.5307, allocations: 79.95 kB / 0.4947 GB, free: 10.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6228/1.154, allocations: 92.13 MB / 0.5847 GB, free: 56.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.238e-06/1.154, allocations: 4 kB / 0.5847 GB, free: 56.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003139/1.154, allocations: 96 kB / 0.5848 GB, free: 56.84 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.06631/1.22, allocations: 9.663 MB / 0.5942 GB, free: 47.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.22, allocations: 16.02 kB / 0.5942 GB, free: 47.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/1.232, allocations: 2.073 MB / 0.5963 GB, free: 45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008785/1.241, allocations: 3.414 MB / 0.5996 GB, free: 41.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/1.241, allocations: 345.1 kB / 0.5999 GB, free: 41.19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002658/1.244, allocations: 483.6 kB / 0.6004 GB, free: 40.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0442/1.288, allocations: 15.28 MB / 0.6153 GB, free: 24.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002723/1.288, allocations: 59.38 kB / 0.6154 GB, free: 24.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002335/1.291, allocations: 215.9 kB / 0.6156 GB, free: 24.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002751/1.293, allocations: 1.12 MB / 0.6167 GB, free: 23.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0422/1.336, allocations: 15.01 MB / 0.6313 GB, free: 8.012 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09899/1.435, allocations: 55.62 MB / 0.6856 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0513/1.486, allocations: 7.2 MB / 0.6927 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00595/1.492, allocations: 2.819 MB / 0.6954 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01307/1.505, allocations: 6.559 MB / 0.7018 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.891e-05/1.505, allocations: 63.44 kB / 0.7019 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=176): time 6.01e-06/1.505, allocations: 0 / 0.7019 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176): time 0.006518/1.512, allocations: 2.682 MB / 0.7045 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.512, allocations: 157.4 kB / 0.7047 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/1.522, allocations: 4.247 MB / 0.7088 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002929/1.523, allocations: 53.64 kB / 0.7088 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004067/1.527, allocations: 3.589 MB / 0.7124 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/1.528, allocations: 0.7253 MB / 0.7131 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006205/1.529, allocations: 136 kB / 0.7132 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006072/1.529, allocations: 0.5832 MB / 0.7138 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3177/1.847, allocations: 2.16 MB / 0.7159 GB, free: 131 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007336/1.854, allocations: 6.382 MB / 0.7221 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007104/1.862, allocations: 3.707 MB / 0.7257 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/1.862, allocations: 44.97 kB / 0.7258 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01871/1.88, allocations: 7.962 MB / 0.7335 GB, free: 125 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/1.881, allocations: 74.75 kB / 0.7336 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/1.881, allocations: 155.7 kB / 0.7338 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/1.881, allocations: 221.7 kB / 0.734 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00778/1.889, allocations: 1.62 MB / 0.7356 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002756/1.889, allocations: 305.4 kB / 0.7358 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007627/1.897, allocations: 0.9252 MB / 0.7367 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/1.898, allocations: 441.4 kB / 0.7372 GB, free: 124.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (849): * Single equations (assignments): 846 * 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.001718/1.9, allocations: 0.6327 MB / 0.7378 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009056/1.901, allocations: 401.2 kB / 0.7382 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005579/1.907, allocations: 2.522 MB / 0.7406 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.043e-05/1.907, allocations: 22.66 kB / 0.7407 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.907, allocations: 0 / 0.7407 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-05/1.907, allocations: 14.98 kB / 0.7407 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009928/1.917, allocations: 4.282 MB / 0.7449 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-05/1.917, allocations: 5.672 kB / 0.7449 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002642/1.919, allocations: 342.2 kB / 0.7452 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.237e-05/1.919, allocations: 6.688 kB / 0.7452 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002401/1.92, allocations: 39.58 kB / 0.7452 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/1.92, allocations: 10.53 kB / 0.7452 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.101e-06/1.92, allocations: 6.188 kB / 0.7452 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007879/1.928, allocations: 4.853 MB / 0.75 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.929, allocations: 0.4892 MB / 0.7505 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009518/1.93, allocations: 33 kB / 0.7505 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/1.932, allocations: 64.22 kB / 0.7506 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003927/1.933, allocations: 97.67 kB / 0.7506 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.933, allocations: 56.17 kB / 0.7507 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008474/1.942, allocations: 2.95 MB / 0.7536 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.052e-06/1.942, allocations: 0 / 0.7536 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007743/1.949, allocations: 1.349 MB / 0.7549 GB, free: 121.1 MB / 0.5105 GB 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.0005307/1.95, allocations: 183.8 kB / 0.7551 GB, free: 121 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009265/1.959, allocations: 4.738 MB / 0.7597 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.959, allocations: 2.062 kB / 0.7597 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002309/1.962, allocations: 1.254 MB / 0.7609 GB, free: 119 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/1.965, allocations: 491.3 kB / 0.7614 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/1.985, allocations: 8.739 MB / 0.7699 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01037/1.995, allocations: 3.682 MB / 0.7735 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01016/2.006, allocations: 2.058 MB / 0.7755 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/2.007, allocations: 310.2 kB / 0.7758 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.69e-06/2.007, allocations: 0 / 0.7758 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.1065/2.114, allocations: 39.6 MB / 0.8145 GB, free: 80.95 MB / 0.5105 GB