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.369/2.369, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.944e-05, allocations: 0 / 308 MB, free: 4 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3685, allocations: 54.87 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00397/0.3726, allocations: 2.31 MB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3739, allocations: 402.1 kB / 365.5 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.3743, allocations: 17.41 kB / 365.6 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.3744, allocations: 42.69 kB / 365.6 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005296/0.375, allocations: 160.6 kB / 365.8 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.3753, allocations: 69.03 kB / 365.8 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006988/0.376, allocations: 296.8 kB / 366.1 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.3763, allocations: 81.47 kB / 366.2 MB, free: 9.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.3765, allocations: 144.1 kB / 366.3 MB, free: 9.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.3769, allocations: 169.8 kB / 366.5 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.377, allocations: 17.62 kB / 366.5 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.3771, allocations: 17.59 kB / 366.5 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.85e-05/0.3772, allocations: 64.25 kB / 366.6 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3773, allocations: 53.12 kB / 366.7 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.3779, allocations: 386.6 kB / 367 MB, free: 8.887 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.378, allocations: 0 / 367 MB, free: 8.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.378, allocations: 0 / 367 MB, free: 8.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.378, allocations: 4 kB / 367 MB, free: 8.883 MB / 298.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.001423/0.3795, allocations: 0.6277 MB / 367.7 MB, free: 8.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3795, allocations: 8.719 kB / 367.7 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.3797, allocations: 54.19 kB / 367.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.3803, allocations: 292.2 kB / 368 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.3803, allocations: 32.03 kB / 368 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.3805, allocations: 56.41 kB / 368.1 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.3816, allocations: 449.8 kB / 368.5 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.128e-05/0.3817, allocations: 15.81 kB / 368.6 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.3818, allocations: 20.16 kB / 368.6 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.3818, allocations: 12.19 kB / 368.6 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.3826, allocations: 252.5 kB / 368.8 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003843/0.3865, allocations: 1.704 MB / 370.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008379/0.3874, allocations: 407.8 kB / 370.9 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.3874, allocations: 11.92 kB / 370.9 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.3875, allocations: 50.5 kB / 371 MB, free: 5.398 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.958e-06/0.3875, allocations: 0 / 371 MB, free: 5.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001162/0.3887, allocations: 349.2 kB / 371.3 MB, free: 5.051 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/0.3889, allocations: 273.5 kB / 371.6 MB, free: 4.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.3892, allocations: 222 kB / 371.8 MB, free: 4.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.3893, allocations: 33.7 kB / 371.9 MB, free: 4.457 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.3895, allocations: 302 kB / 372.1 MB, free: 4.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.3897, allocations: 181.5 kB / 372.3 MB, free: 3.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.3898, allocations: 8 kB / 372.3 MB, free: 3.969 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.39, allocations: 338.8 kB / 372.7 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.3903, allocations: 121.9 kB / 372.8 MB, free: 3.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.391, allocations: 417.6 kB / 373.2 MB, free: 2.965 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.3915, allocations: 183.8 kB / 373.4 MB, free: 2.785 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.3915, allocations: 4 kB / 373.4 MB, free: 2.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001402/0.3929, allocations: 0.5536 MB / 373.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.393, allocations: 8 kB / 373.9 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.393, allocations: 16.11 kB / 374 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.894e-05/0.3931, allocations: 16 kB / 374 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.3942, allocations: 179.7 kB / 374.1 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.21e-05/0.3942, allocations: 20.16 kB / 374.2 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.3947, allocations: 63.38 kB / 374.2 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/0.3948, allocations: 32 kB / 374.3 MB, free: 1.895 MB / 298.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.0003225/0.3952, allocations: 181.5 kB / 374.4 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.3954, allocations: 35.62 kB / 374.5 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.3956, allocations: 45.7 kB / 374.5 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.3956, allocations: 11.94 kB / 374.5 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.3956, allocations: 7.938 kB / 374.5 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.3956, allocations: 3.984 kB / 374.5 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.3973, allocations: 421.1 kB / 374.9 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.3973, allocations: 7.953 kB / 375 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.3986, allocations: 123.8 kB / 375.1 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/0.3986, allocations: 4 kB / 375.1 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.3987, allocations: 16 kB / 375.1 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.3987, allocations: 4 kB / 375.1 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.3987, allocations: 11.98 kB / 375.1 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.4002, allocations: 1.166 MB / 376.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.4004, allocations: 112.7 kB / 376.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/0.4005, allocations: 12 kB / 376.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006157/0.4011, allocations: 12 kB / 376.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.4012, allocations: 39.84 kB / 376.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.4013, allocations: 8 kB / 376.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002624/0.4015, allocations: 174 kB / 376.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4015, allocations: 0 / 376.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001207/0.4028, allocations: 135.7 kB / 376.8 MB, free: 15.24 MB / 314.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.0002057/0.403, allocations: 111.5 kB / 376.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009758/0.404, allocations: 352.7 kB / 377.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.404, allocations: 0 / 377.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.4043, allocations: 124.2 kB / 377.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.4056, allocations: 77.86 kB / 377.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/0.4106, allocations: 2.406 MB / 379.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/0.4112, allocations: 0.8489 MB / 380.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.4114, allocations: 39.38 kB / 380.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4114, allocations: 0 / 380.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of Templates: time 0.01295/0.4244, allocations: 4.859 MB / 385.6 MB, free: 6.359 MB / 314.7 MB