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_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.851e-05, allocations: 0 / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1306, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.4347/0.5654, allocations: 70.76 MB / 481.7 MB, free: 176 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04565/0.6111, allocations: 14.16 MB / 495.8 MB, free: 2.594 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01922/0.6303, allocations: 375.1 kB / 496.2 MB, free: 2.227 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01391/0.6443, allocations: 3.659 MB / 499.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04099/0.6853, allocations: 9.862 MB / 0.4978 GB, free: 4.664 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005263/0.6906, allocations: 475.5 kB / 0.4982 GB, free: 4.199 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00573/0.6964, allocations: 1.673 MB / 0.4999 GB, free: 2.523 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00956/0.706, allocations: 4.084 MB / 0.5039 GB, free: 14.4 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.7084, allocations: 0.9271 MB / 0.5048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004207/0.7127, allocations: 1.855 MB / 0.5066 GB, free: 11.61 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.7152, allocations: 0.5345 MB / 0.5071 GB, free: 11.08 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.7166, allocations: 139.9 kB / 0.5072 GB, free: 10.94 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003007/0.7197, allocations: 1.656 MB / 0.5088 GB, free: 9.281 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001753/0.7215, allocations: 324 kB / 0.5092 GB, free: 8.965 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.7324, allocations: 6.743 MB / 0.5157 GB, free: 2.207 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.7325, allocations: 0 / 0.5157 GB, free: 2.207 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.7325, allocations: 3.938 kB / 0.5157 GB, free: 2.203 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000286/0.7328, allocations: 0 / 0.5157 GB, free: 2.203 MB / 426.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.1801/0.9128, allocations: 9.427 MB / 0.525 GB, free: 8.699 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.9129, allocations: 8.031 kB / 0.525 GB, free: 8.691 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/0.9271, allocations: 2.177 MB / 0.5271 GB, free: 6.504 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.9383, allocations: 3.155 MB / 0.5302 GB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004268/0.9387, allocations: 299.5 kB / 0.5305 GB, free: 3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003342/0.9421, allocations: 407.5 kB / 0.5308 GB, free: 2.602 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1059/1.048, allocations: 19.53 MB / 0.5499 GB, free: 14.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002947/1.048, allocations: 39.59 kB / 0.55 GB, free: 14.31 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003108/1.052, allocations: 187.8 kB / 0.5501 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01535/1.067, allocations: 2.338 MB / 0.5524 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1215/1.188, allocations: 22.39 MB / 0.5743 GB, free: 5.359 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5022/1.691, allocations: 52.44 MB / 0.6255 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1452/1.836, allocations: 9.191 MB / 0.6345 GB, free: 139 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003465/1.839, allocations: 354.5 kB / 0.6348 GB, free: 139 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/1.84, allocations: 50.31 kB / 0.6349 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=212): time 7.204e-06/1.84, allocations: 0 / 0.6349 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=212): time 0.2833/2.123, allocations: 16.37 MB / 0.6508 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/2.123, allocations: 150 kB / 0.651 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008912/2.132, allocations: 4.181 MB / 0.6551 GB, free: 135 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005961/2.133, allocations: 53.17 kB / 0.6551 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002582/2.135, allocations: 3.387 MB / 0.6584 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/2.137, allocations: 0.8307 MB / 0.6592 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006948/2.137, allocations: 134.5 kB / 0.6594 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004011/2.138, allocations: 0.6013 MB / 0.66 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006518/2.144, allocations: 3.143 MB / 0.663 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009072/2.153, allocations: 7.41 MB / 0.6703 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/2.168, allocations: 4.682 MB / 0.6748 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002135/2.168, allocations: 44 kB / 0.6749 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.03513/2.203, allocations: 10.41 MB / 0.685 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/2.203, allocations: 72 kB / 0.6851 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002117/2.203, allocations: 152 kB / 0.6852 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/2.204, allocations: 228 kB / 0.6855 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01151/2.215, allocations: 1.793 MB / 0.6872 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003133/2.216, allocations: 302.8 kB / 0.6875 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009095/2.225, allocations: 0.9316 MB / 0.6884 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/2.226, allocations: 0.5117 MB / 0.6889 GB, free: 100.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 (855): * Single equations (assignments): 852 * 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.005781/2.232, allocations: 2.269 MB / 0.6911 GB, free: 98.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/2.233, allocations: 402.8 kB / 0.6915 GB, free: 98.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/2.243, allocations: 4.857 MB / 0.6963 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.471e-05/2.243, allocations: 24 kB / 0.6963 GB, free: 93.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/2.244, allocations: 4 kB / 0.6963 GB, free: 93.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-05/2.244, allocations: 19.88 kB / 0.6963 GB, free: 93.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02739/2.271, allocations: 11.51 MB / 0.7075 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-05/2.271, allocations: 4 kB / 0.7076 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005645/2.277, allocations: 0.6006 MB / 0.7081 GB, free: 81.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-05/2.277, allocations: 19.95 kB / 0.7082 GB, free: 81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005663/2.277, allocations: 153.4 kB / 0.7083 GB, free: 80.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.286e-05/2.277, allocations: 16.47 kB / 0.7083 GB, free: 80.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/2.277, allocations: 12.41 kB / 0.7083 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/2.293, allocations: 9.831 MB / 0.7179 GB, free: 70.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/2.295, allocations: 0.5109 MB / 0.7184 GB, free: 70.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/2.296, allocations: 57.38 kB / 0.7185 GB, free: 70.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004258/2.301, allocations: 89.59 kB / 0.7186 GB, free: 69.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007638/2.301, allocations: 240.8 kB / 0.7188 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004381/2.302, allocations: 160.9 kB / 0.719 GB, free: 69.53 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007047/2.309, allocations: 2.923 MB / 0.7218 GB, free: 66.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.61e-07/2.309, allocations: 0 / 0.7218 GB, free: 66.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009245/2.318, allocations: 1.375 MB / 0.7232 GB, free: 65.23 MB / 0.5105 GB 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.0008471/2.319, allocations: 191.6 kB / 0.7233 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01391/2.333, allocations: 7.055 MB / 0.7302 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/2.333, allocations: 0 / 0.7302 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004614/2.338, allocations: 2.439 MB / 0.7326 GB, free: 55.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003938/2.342, allocations: 0.4959 MB / 0.7331 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02953/2.371, allocations: 14.56 MB / 0.7473 GB, free: 40.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007029/2.378, allocations: 3.706 MB / 0.7509 GB, free: 36.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003195/2.382, allocations: 0.6316 MB / 0.7515 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.473e-06/2.382, allocations: 0 / 0.7515 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.5491/2.931, allocations: 72.77 MB / 0.8226 GB, free: 173.8 MB / 0.5417 GB