Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadModel(ModelicaTest): time 2.203/2.203, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.908e-05, allocations: 4 kB / 304.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3222, allocations: 54.85 MB / 359.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4466, allocations: 81 MB / 440.7 MB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.4469, allocations: 68.03 kB / 440.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02828/0.4752, allocations: 6.873 MB / 447.7 MB, free: 9.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.011e-06/0.4752, allocations: 0 / 447.7 MB, free: 9.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.4753, allocations: 8 kB / 447.7 MB, free: 9.094 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001039/0.4763, allocations: 0.6031 MB / 448.3 MB, free: 8.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4764, allocations: 12.03 kB / 448.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.4765, allocations: 51.42 kB / 448.4 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.4768, allocations: 222.4 kB / 448.6 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.4768, allocations: 33 kB / 448.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.4769, allocations: 51.91 kB / 448.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009184/0.4779, allocations: 449 kB / 449.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.27e-05/0.4779, allocations: 7.906 kB / 449.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/0.478, allocations: 20 kB / 449.1 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.478, allocations: 12 kB / 449.1 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005883/0.4786, allocations: 239.8 kB / 449.4 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.4818, allocations: 1.707 MB / 451.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.4826, allocations: 388 kB / 451.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.4829, allocations: 156.3 kB / 451.6 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.4829, allocations: 4 kB / 451.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.483, allocations: 46.5 kB / 451.7 MB, free: 4.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.548e-06/0.483, allocations: 0 / 451.7 MB, free: 4.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008704/0.4839, allocations: 277.2 kB / 451.9 MB, free: 4.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.484, allocations: 270.4 kB / 452.2 MB, free: 4.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.4844, allocations: 219.1 kB / 452.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.4844, allocations: 29.7 kB / 452.4 MB, free: 3.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.4847, allocations: 302 kB / 452.7 MB, free: 3.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.4849, allocations: 189.3 kB / 452.9 MB, free: 3.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.4849, allocations: 12 kB / 452.9 MB, free: 3.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4851, allocations: 334.8 kB / 453.3 MB, free: 3.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.4854, allocations: 113.6 kB / 453.4 MB, free: 3.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/0.486, allocations: 406 kB / 453.8 MB, free: 2.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.4864, allocations: 171.8 kB / 453.9 MB, free: 2.305 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.4864, allocations: 4 kB / 453.9 MB, free: 2.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001164/0.4876, allocations: 0.52 MB / 454.5 MB, free: 1.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.4876, allocations: 13.72 kB / 454.5 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.4877, allocations: 9.781 kB / 454.5 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.714e-05/0.4877, allocations: 19.98 kB / 454.5 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007636/0.4885, allocations: 176.4 kB / 454.7 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.151e-05/0.4885, allocations: 27.92 kB / 454.7 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.489, allocations: 59.38 kB / 454.8 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.489, allocations: 36 kB / 454.8 MB, free: 1.445 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * 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.0001816/0.4892, allocations: 148.7 kB / 454.9 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.4895, allocations: 43.48 kB / 455 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.4897, allocations: 41.83 kB / 455 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.4897, allocations: 8 kB / 455 MB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.4897, allocations: 4 kB / 455 MB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.4897, allocations: 3.984 kB / 455 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.4912, allocations: 417.2 kB / 455.4 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.884e-06/0.4912, allocations: 0 / 455.4 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008415/0.492, allocations: 127.8 kB / 455.6 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.4921, allocations: 7.953 kB / 455.6 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.506e-05/0.4921, allocations: 16 kB / 455.6 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.4922, allocations: 4 kB / 455.6 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.795e-06/0.4922, allocations: 320 / 455.6 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.4935, allocations: 1.167 MB / 456.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.4937, allocations: 120.6 kB / 456.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.4937, allocations: 12 kB / 456.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.4943, allocations: 12 kB / 456.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.4944, allocations: 27.97 kB / 456.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.4945, allocations: 23.88 kB / 457 MB, free: 15.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002284/0.4947, allocations: 171.1 kB / 457.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.4947, allocations: 0 / 457.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001152/0.4959, allocations: 135.7 kB / 457.3 MB, free: 14.83 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * 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.0001742/0.4961, allocations: 115.2 kB / 457.4 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007672/0.4969, allocations: 329.3 kB / 457.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.31e-06/0.4969, allocations: 0 / 457.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.4971, allocations: 119.8 kB / 457.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.4982, allocations: 85.09 kB / 457.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.5019, allocations: 2.02 MB / 459.9 MB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.5026, allocations: 0.8356 MB / 460.7 MB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.5027, allocations: 35.44 kB / 460.8 MB, free: 11.22 MB / 394.7 MB Notification: Performance of SimCode: time 2.434e-06/0.5027, allocations: 4 kB / 460.8 MB, free: 11.22 MB / 394.7 MB Notification: Performance of Templates: time 0.009609/0.5124, allocations: 4.837 MB / 465.6 MB, free: 6.383 MB / 394.7 MB