Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadModel(ModelicaTest): time 2.139/2.139, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.928e-05/3.935e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4281, allocations: 48.7 MB / 324.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.005573/0.4337, allocations: 2.593 MB / 327.4 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.4378, allocations: 1.269 MB / 328.7 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004916/0.4383, allocations: 23.81 kB / 328.7 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.4388, allocations: 82.72 kB / 328.8 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007657/0.4396, allocations: 175.6 kB / 329 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.4418, allocations: 432.6 kB / 329.4 MB, free: 492 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.4434, allocations: 463.9 kB / 329.9 MB, free: 216 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/0.4438, allocations: 107.2 kB / 330 MB, free: 172 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006932/0.4445, allocations: 269.3 kB / 330.2 MB, free: 60 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006524/0.4452, allocations: 284.5 kB / 330.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.4453, allocations: 20.88 kB / 330.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.4455, allocations: 20.16 kB / 330.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.4457, allocations: 145.1 kB / 330.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.4459, allocations: 33.97 kB / 330.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008499/0.4467, allocations: 0.4987 MB / 331.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.4468, allocations: 0 / 331.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4468, allocations: 1.094 kB / 331.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.4468, allocations: 0 / 331.2 MB, free: 15.77 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002875/0.4497, allocations: 0.8667 MB / 332.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.4498, allocations: 13.56 kB / 332.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.4501, allocations: 84.73 kB / 332.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.4516, allocations: 0.5067 MB / 332.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.4517, allocations: 38.88 kB / 332.7 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.4519, allocations: 52.61 kB / 332.8 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.4537, allocations: 0.5371 MB / 333.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.4537, allocations: 2.047 kB / 333.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/0.4538, allocations: 20.09 kB / 333.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.4539, allocations: 13.38 kB / 333.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.4558, allocations: 470.3 kB / 333.8 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00583/0.4617, allocations: 1.948 MB / 335.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.4639, allocations: 0.5772 MB / 336.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.059e-05/0.464, allocations: 8.406 kB / 336.3 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.4641, allocations: 46.3 kB / 336.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 3.086e-06/0.4641, allocations: 1.156 kB / 336.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.004499/0.4686, allocations: 1.16 MB / 337.5 MB, free: 12.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/0.4687, allocations: 138.9 kB / 337.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.4701, allocations: 0.535 MB / 338.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.4703, allocations: 39.39 kB / 338.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.4706, allocations: 341 kB / 338.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.4708, allocations: 164 kB / 338.7 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.4709, allocations: 10.69 kB / 338.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.471, allocations: 331.1 kB / 339.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.4722, allocations: 274.4 kB / 339.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.4734, allocations: 383.9 kB / 339.7 MB, free: 11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.4746, allocations: 316.9 kB / 340 MB, free: 10.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.4747, allocations: 1.062 kB / 340 MB, free: 10.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002667/0.4773, allocations: 0.7236 MB / 340.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.4774, allocations: 14.52 kB / 340.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.4774, allocations: 3.406 kB / 340.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.4775, allocations: 8.797 kB / 340.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.4787, allocations: 150.5 kB / 340.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.4788, allocations: 5.375 kB / 340.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.4799, allocations: 114.4 kB / 341 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.48, allocations: 18.12 kB / 341.1 MB, free: 10.42 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0004453/0.4805, allocations: 198 kB / 341.3 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.4807, allocations: 74.69 kB / 341.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.4809, allocations: 89.95 kB / 341.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.481, allocations: 4.438 kB / 341.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.481, allocations: 1.375 kB / 341.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.481, allocations: 1.406 kB / 341.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.483, allocations: 0.8255 MB / 342.3 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.483, allocations: 1.031 kB / 342.3 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.4843, allocations: 116.3 kB / 342.4 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.4843, allocations: 3.469 kB / 342.4 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.874e-05/0.4844, allocations: 25.8 kB / 342.4 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/0.4844, allocations: 5.234 kB / 342.4 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4844, allocations: 1.094 kB / 342.4 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003506/0.4879, allocations: 1.208 MB / 343.6 MB, free: 8.695 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.4883, allocations: 192.4 kB / 343.8 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.4885, allocations: 13 kB / 343.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009514/0.4894, allocations: 65.53 kB / 343.9 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.4896, allocations: 37.06 kB / 343.9 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/0.4897, allocations: 8.188 kB / 343.9 MB, free: 8.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009503/0.4906, allocations: 430.2 kB / 344.3 MB, free: 8.215 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4906, allocations: 0 / 344.3 MB, free: 8.215 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007093/0.4914, allocations: 103.7 kB / 344.4 MB, free: 8.203 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0001785/0.4915, allocations: 112 kB / 344.5 MB, free: 8.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.4939, allocations: 0.6186 MB / 345.2 MB, free: 7.848 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4939, allocations: 0 / 345.2 MB, free: 7.848 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.4951, allocations: 301.1 kB / 345.5 MB, free: 7.727 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.4964, allocations: 164.9 kB / 345.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.5004, allocations: 1.675 MB / 347.3 MB, free: 6.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.5011, allocations: 0.9511 MB / 348.2 MB, free: 5.688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.5015, allocations: 42.81 kB / 348.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5015, allocations: 0 / 348.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of Templates: time 0.01865/0.5201, allocations: 7.828 MB / 356.1 MB, free: 15.81 MB / 298.7 MB