Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadModel(ModelicaTest): time 2.27/2.27, allocations: 270 MB / 282.7 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.391e-05, allocations: 4 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3226, allocations: 61.87 MB / 408.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.4693, allocations: 96.24 MB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.4696, allocations: 75.95 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5845/1.054, allocations: 92.12 MB / 0.5833 GB, free: 56.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.869e-06/1.054, allocations: 0 / 0.5833 GB, free: 56.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002161/1.054, allocations: 96 kB / 0.5834 GB, free: 56.57 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.07195/1.126, allocations: 9.671 MB / 0.5928 GB, free: 46.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.126, allocations: 8.031 kB / 0.5928 GB, free: 46.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/1.137, allocations: 2.076 MB / 0.5948 GB, free: 44.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008249/1.145, allocations: 3.418 MB / 0.5982 GB, free: 41.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/1.145, allocations: 345.1 kB / 0.5985 GB, free: 40.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/1.148, allocations: 483.6 kB / 0.599 GB, free: 40.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04155/1.189, allocations: 15.28 MB / 0.6139 GB, free: 24.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001954/1.189, allocations: 63.38 kB / 0.614 GB, free: 24.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/1.191, allocations: 219.9 kB / 0.6142 GB, free: 23.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002501/1.193, allocations: 1.124 MB / 0.6153 GB, free: 22.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04142/1.235, allocations: 15 MB / 0.6299 GB, free: 7.734 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09427/1.329, allocations: 55.63 MB / 0.6842 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05202/1.381, allocations: 7.192 MB / 0.6913 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00574/1.387, allocations: 2.818 MB / 0.694 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/1.399, allocations: 6.563 MB / 0.7004 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/1.399, allocations: 59.45 kB / 0.7005 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=176): time 5.474e-06/1.399, allocations: 4 kB / 0.7005 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176): time 0.005976/1.405, allocations: 2.691 MB / 0.7031 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.405, allocations: 145.5 kB / 0.7032 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008673/1.414, allocations: 4.251 MB / 0.7074 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002219/1.414, allocations: 49.7 kB / 0.7074 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003389/1.417, allocations: 3.477 MB / 0.7108 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/1.418, allocations: 0.7253 MB / 0.7115 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004512/1.419, allocations: 136 kB / 0.7117 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006115/1.419, allocations: 0.588 MB / 0.7122 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3071/1.726, allocations: 2.16 MB / 0.7144 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0069/1.733, allocations: 6.38 MB / 0.7206 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006881/1.74, allocations: 3.711 MB / 0.7242 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/1.74, allocations: 44.81 kB / 0.7243 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02452/1.765, allocations: 7.815 MB / 0.7319 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002094/1.765, allocations: 68.31 kB / 0.7319 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003135/1.766, allocations: 154.8 kB / 0.7321 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/1.766, allocations: 225.3 kB / 0.7323 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/1.78, allocations: 1.615 MB / 0.7339 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004613/1.78, allocations: 302.8 kB / 0.7342 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01363/1.794, allocations: 0.9327 MB / 0.7351 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001899/1.796, allocations: 440.4 kB / 0.7355 GB, free: 124.9 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.002018/1.798, allocations: 0.6243 MB / 0.7361 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.799, allocations: 403.7 kB / 0.7365 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009403/1.809, allocations: 2.518 MB / 0.739 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.247e-05/1.809, allocations: 20.53 kB / 0.739 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/1.809, allocations: 0 / 0.739 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.384e-05/1.809, allocations: 20.48 kB / 0.739 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/1.824, allocations: 4.291 MB / 0.7432 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/1.824, allocations: 0 / 0.7432 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004938/1.829, allocations: 344.3 kB / 0.7435 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.615e-05/1.83, allocations: 7.531 kB / 0.7435 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003581/1.83, allocations: 39.06 kB / 0.7436 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.386e-05/1.83, allocations: 10.94 kB / 0.7436 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.83, allocations: 0 / 0.7436 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.842, allocations: 4.856 MB / 0.7483 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/1.843, allocations: 0.4953 MB / 0.7488 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006911/1.844, allocations: 27.95 kB / 0.7488 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/1.846, allocations: 71.02 kB / 0.7489 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/1.846, allocations: 91.89 kB / 0.749 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/1.847, allocations: 52.91 kB / 0.749 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00588/1.853, allocations: 2.948 MB / 0.7519 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.001e-06/1.853, allocations: 0 / 0.7519 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007297/1.86, allocations: 1.351 MB / 0.7532 GB, free: 121.3 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.0005416/1.86, allocations: 183.1 kB / 0.7534 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00922/1.87, allocations: 4.743 MB / 0.758 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.493e-06/1.87, allocations: 0 / 0.758 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002183/1.872, allocations: 1.249 MB / 0.7593 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/1.875, allocations: 493.5 kB / 0.7597 GB, free: 119 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/1.894, allocations: 9.27 MB / 0.7688 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00477/1.899, allocations: 3.687 MB / 0.7724 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/1.9, allocations: 356.4 kB / 0.7727 GB, free: 111 MB / 0.5105 GB Notification: Performance of SimCode: time 1.524e-06/1.9, allocations: 0 / 0.7727 GB, free: 111 MB / 0.5105 GB Notification: Performance of Templates: time 0.09341/1.994, allocations: 63.79 MB / 0.835 GB, free: 57.87 MB / 0.5105 GB