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_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadModel(ModelicaTest): time 2.587/2.587, allocations: 270 MB / 283.6 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.096e-05, allocations: 4 kB / 348.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3287, allocations: 61.88 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.4816, allocations: 96.23 MB / 0.4946 GB, free: 10.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4819, allocations: 79.94 kB / 0.4947 GB, free: 10.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6187/1.101, allocations: 92.12 MB / 0.5847 GB, free: 56.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.101, allocations: 4 kB / 0.5847 GB, free: 56.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002715/1.101, allocations: 99.98 kB / 0.5848 GB, free: 56.73 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.07349/1.174, allocations: 9.667 MB / 0.5942 GB, free: 46.99 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/1.175, allocations: 12.03 kB / 0.5942 GB, free: 46.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/1.185, allocations: 2.076 MB / 0.5962 GB, free: 44.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00886/1.194, allocations: 3.41 MB / 0.5996 GB, free: 41.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003826/1.195, allocations: 345.1 kB / 0.5999 GB, free: 41.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002734/1.198, allocations: 483.6 kB / 0.6004 GB, free: 40.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04529/1.243, allocations: 15.27 MB / 0.6153 GB, free: 24.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000272/1.243, allocations: 67.25 kB / 0.6153 GB, free: 24.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002201/1.245, allocations: 227.9 kB / 0.6156 GB, free: 24.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002857/1.248, allocations: 1.117 MB / 0.6167 GB, free: 22.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04314/1.291, allocations: 15 MB / 0.6313 GB, free: 7.898 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0974/1.389, allocations: 55.63 MB / 0.6856 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05224/1.441, allocations: 7.18 MB / 0.6926 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006034/1.447, allocations: 2.823 MB / 0.6954 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0133/1.461, allocations: 6.566 MB / 0.7018 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.694e-05/1.461, allocations: 59.52 kB / 0.7019 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=176): time 6.283e-06/1.461, allocations: 0 / 0.7019 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176): time 0.006752/1.468, allocations: 2.69 MB / 0.7045 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.468, allocations: 141.5 kB / 0.7046 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/1.479, allocations: 4.24 MB / 0.7088 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003058/1.479, allocations: 53.7 kB / 0.7088 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004098/1.483, allocations: 3.592 MB / 0.7123 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/1.484, allocations: 0.7331 MB / 0.713 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008577/1.485, allocations: 132 kB / 0.7132 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008172/1.486, allocations: 0.5832 MB / 0.7137 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3516/1.838, allocations: 2.157 MB / 0.7158 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006949/1.845, allocations: 6.384 MB / 0.7221 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006957/1.852, allocations: 3.703 MB / 0.7257 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001481/1.852, allocations: 48.91 kB / 0.7257 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01881/1.871, allocations: 7.969 MB / 0.7335 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/1.871, allocations: 73.62 kB / 0.7336 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/1.871, allocations: 153.5 kB / 0.7337 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/1.871, allocations: 227.5 kB / 0.734 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006874/1.878, allocations: 1.62 MB / 0.7355 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002364/1.879, allocations: 296.5 kB / 0.7358 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006973/1.885, allocations: 0.926 MB / 0.7367 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001275/1.887, allocations: 444.5 kB / 0.7372 GB, free: 125.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.001209/1.888, allocations: 0.6305 MB / 0.7378 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008233/1.889, allocations: 408.6 kB / 0.7382 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004915/1.894, allocations: 2.512 MB / 0.7406 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.735e-05/1.894, allocations: 21.94 kB / 0.7406 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.894, allocations: 0 / 0.7406 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/1.894, allocations: 14.98 kB / 0.7406 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008527/1.902, allocations: 4.287 MB / 0.7448 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/1.903, allocations: 3.938 kB / 0.7448 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/1.905, allocations: 345 kB / 0.7452 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-05/1.905, allocations: 6.469 kB / 0.7452 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/1.906, allocations: 36.8 kB / 0.7452 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/1.906, allocations: 9.328 kB / 0.7452 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.766e-06/1.906, allocations: 2.719 kB / 0.7452 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007273/1.913, allocations: 4.858 MB / 0.75 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.914, allocations: 0.4888 MB / 0.7504 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006473/1.915, allocations: 32.3 kB / 0.7505 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/1.917, allocations: 68.86 kB / 0.7505 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/1.917, allocations: 95.75 kB / 0.7506 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.917, allocations: 54.97 kB / 0.7507 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005627/1.923, allocations: 2.953 MB / 0.7536 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.97e-07/1.923, allocations: 0 / 0.7536 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007211/1.93, allocations: 1.348 MB / 0.7549 GB, free: 122.2 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.0005181/1.93, allocations: 182.9 kB / 0.7551 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009584/1.94, allocations: 4.735 MB / 0.7597 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.874e-06/1.94, allocations: 0.875 kB / 0.7597 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002188/1.942, allocations: 1.25 MB / 0.7609 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/1.945, allocations: 497.9 kB / 0.7614 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.964, allocations: 8.74 MB / 0.7699 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005272/1.969, allocations: 3.686 MB / 0.7735 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01211/1.981, allocations: 2.059 MB / 0.7755 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002422/1.984, allocations: 313.1 kB / 0.7758 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-06/1.984, allocations: 0 / 0.7758 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.1616/2.145, allocations: 39.59 MB / 0.8145 GB, free: 81.91 MB / 0.5105 GB