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.1_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadModel(ModelicaTest): time 2.067/2.067, allocations: 209.2 MB / 224.4 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.699e-05, allocations: 4 kB / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.359, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003793/0.3629, allocations: 2.307 MB / 327.2 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3642, allocations: 400.2 kB / 327.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.3645, allocations: 14.72 kB / 327.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.3646, allocations: 48.73 kB / 327.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004916/0.3651, allocations: 164.1 kB / 327.8 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.3654, allocations: 69.78 kB / 327.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004994/0.3659, allocations: 290.8 kB / 328.1 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.3662, allocations: 81.78 kB / 328.2 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.3664, allocations: 143.8 kB / 328.3 MB, free: 1.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.3668, allocations: 173.8 kB / 328.5 MB, free: 1.074 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3669, allocations: 21.06 kB / 328.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.3669, allocations: 17.03 kB / 328.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.367, allocations: 67.41 kB / 328.6 MB, free: 1.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.3672, allocations: 53.03 kB / 328.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006372/0.3678, allocations: 383.8 kB / 329 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3678, allocations: 0 / 329 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3679, allocations: 0 / 329 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.3679, allocations: 0 / 329 MB, free: 0.9453 MB / 266.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.00125/0.3692, allocations: 0.6195 MB / 329.7 MB, free: 456 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.3692, allocations: 9.281 kB / 329.7 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.3694, allocations: 53.41 kB / 329.7 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.3698, allocations: 285.7 kB / 330 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.3699, allocations: 35.88 kB / 330 MB, free: 144 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.37, allocations: 57.66 kB / 330.1 MB, free: 120 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.3712, allocations: 448.9 kB / 330.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/0.3713, allocations: 10.09 kB / 330.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.3713, allocations: 23.84 kB / 330.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.3714, allocations: 13.31 kB / 330.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007376/0.3721, allocations: 253.9 kB / 330.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/0.3759, allocations: 1.7 MB / 332.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/0.3768, allocations: 417.4 kB / 332.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.3769, allocations: 10.14 kB / 332.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.3769, allocations: 44.7 kB / 333 MB, free: 14.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 3.196e-06/0.3769, allocations: 4 kB / 333 MB, free: 14.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.001116/0.3781, allocations: 356 kB / 333.3 MB, free: 13.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.3782, allocations: 265.6 kB / 333.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.3786, allocations: 224.9 kB / 333.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.3787, allocations: 32.45 kB / 333.8 MB, free: 13.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.3789, allocations: 308.4 kB / 334.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.3791, allocations: 178.6 kB / 334.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.3792, allocations: 16.12 kB / 334.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3793, allocations: 337.5 kB / 334.7 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.3797, allocations: 117.3 kB / 334.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/0.3803, allocations: 413.7 kB / 335.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.3808, allocations: 180.8 kB / 335.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.3808, allocations: 2.75 kB / 335.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001359/0.3822, allocations: 0.5525 MB / 335.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.3822, allocations: 12.81 kB / 335.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.3823, allocations: 10.75 kB / 335.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.153e-05/0.3823, allocations: 19.77 kB / 336 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.3835, allocations: 175.9 kB / 336.1 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.624e-05/0.3836, allocations: 25.36 kB / 336.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.3841, allocations: 67.31 kB / 336.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.3842, allocations: 35.94 kB / 336.3 MB, free: 11.85 MB / 282.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.000342/0.3845, allocations: 181.4 kB / 336.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.3848, allocations: 38.64 kB / 336.5 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.3849, allocations: 43.38 kB / 336.5 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.385, allocations: 10.5 kB / 336.5 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.385, allocations: 6.047 kB / 336.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.385, allocations: 4.922 kB / 336.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.3867, allocations: 418.6 kB / 336.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.3868, allocations: 3.156 kB / 336.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.388, allocations: 122.4 kB / 337.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/0.3881, allocations: 5.5 kB / 337.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.3881, allocations: 15.31 kB / 337.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.3881, allocations: 8.297 kB / 337.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3882, allocations: 2.75 kB / 337.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.3895, allocations: 1.18 MB / 338.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.3898, allocations: 112.8 kB / 338.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.673e-05/0.3899, allocations: 21.11 kB / 338.4 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.3904, allocations: 6.172 kB / 338.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/0.3906, allocations: 35.41 kB / 338.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.3906, allocations: 14.19 kB / 338.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002522/0.3909, allocations: 170.7 kB / 338.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3909, allocations: 1.062 kB / 338.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001208/0.3921, allocations: 135.8 kB / 338.8 MB, free: 10.02 MB / 282.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.0001861/0.3923, allocations: 114.2 kB / 338.9 MB, free: 9.914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.3933, allocations: 342.4 kB / 339.2 MB, free: 9.805 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3934, allocations: 0 / 339.2 MB, free: 9.805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.3937, allocations: 128.9 kB / 339.3 MB, free: 9.766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.395, allocations: 81.25 kB / 339.4 MB, free: 9.742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.4003, allocations: 2.419 MB / 341.8 MB, free: 7.918 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/0.401, allocations: 0.8389 MB / 342.7 MB, free: 7.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.4012, allocations: 35.66 kB / 342.7 MB, free: 7.207 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4012, allocations: 4 kB / 342.7 MB, free: 7.203 MB / 282.7 MB Notification: Performance of Templates: time 0.01401/0.4153, allocations: 4.854 MB / 347.6 MB, free: 5.125 MB / 282.7 MB