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.2_cpp_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadModel(ModelicaTest): time 2.559/2.559, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.066e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3819, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004565/0.3865, allocations: 2.597 MB / 365.4 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.3902, allocations: 1.278 MB / 366.7 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005702/0.3908, allocations: 24.53 kB / 366.8 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004559/0.3913, allocations: 88.11 kB / 366.8 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000734/0.392, allocations: 169.8 kB / 367 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.3935, allocations: 365.2 kB / 367.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.3947, allocations: 443.2 kB / 367.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.395, allocations: 116.6 kB / 367.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006011/0.3956, allocations: 249.1 kB / 368.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.3962, allocations: 275.9 kB / 368.4 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3963, allocations: 26.09 kB / 368.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.3964, allocations: 19.56 kB / 368.5 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.3967, allocations: 151.7 kB / 368.6 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.3968, allocations: 34.31 kB / 368.6 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007612/0.3976, allocations: 0.4951 MB / 369.1 MB, free: 7.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3976, allocations: 0 / 369.1 MB, free: 7.312 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.297e-06/0.3976, allocations: 5.375 kB / 369.1 MB, free: 7.309 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.3977, allocations: 0 / 369.1 MB, free: 7.309 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002641/0.4003, allocations: 0.8682 MB / 370 MB, free: 6.609 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4004, allocations: 8.031 kB / 370 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002741/0.4007, allocations: 83.06 kB / 370.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.4023, allocations: 0.5024 MB / 370.6 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.4023, allocations: 36.94 kB / 370.6 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.4025, allocations: 63.89 kB / 370.7 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.4043, allocations: 0.5365 MB / 371.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.4043, allocations: 0 / 371.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.4044, allocations: 19.95 kB / 371.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.4044, allocations: 8 kB / 371.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.4063, allocations: 473.8 kB / 371.7 MB, free: 4.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006816/0.4131, allocations: 1.955 MB / 373.7 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.416, allocations: 0.5795 MB / 374.3 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.4161, allocations: 4 kB / 374.3 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/0.4162, allocations: 50.58 kB / 374.3 MB, free: 2.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 4.128e-06/0.4162, allocations: 0 / 374.3 MB, free: 2.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.005935/0.4221, allocations: 1.151 MB / 375.5 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.4223, allocations: 136.5 kB / 375.6 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.4243, allocations: 0.5346 MB / 376.1 MB, free: 272 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.4245, allocations: 33.7 kB / 376.2 MB, free: 232 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/0.425, allocations: 342.9 kB / 376.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/0.4253, allocations: 161.6 kB / 376.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.565e-05/0.4254, allocations: 16 kB / 376.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.4257, allocations: 334.8 kB / 377 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.4275, allocations: 273 kB / 377.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.4293, allocations: 384.9 kB / 377.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.431, allocations: 322.5 kB / 378 MB, free: 14.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.431, allocations: 0 / 378 MB, free: 14.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003819/0.4348, allocations: 0.7291 MB / 378.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006031/0.4355, allocations: 1.043 MB / 379.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.4355, allocations: 8 kB / 379.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/0.4356, allocations: 11.88 kB / 379.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/0.4374, allocations: 151.8 kB / 379.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/0.4374, allocations: 7.938 kB / 379.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.4392, allocations: 107.5 kB / 380 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.4393, allocations: 19.98 kB / 380 MB, free: 12.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4394, allocations: 13.52 kB / 380 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00349/0.4429, allocations: 0.6513 MB / 380.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.4429, allocations: 4 kB / 380.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.443, allocations: 4 kB / 380.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.4447, allocations: 148 kB / 380.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.4448, allocations: 4 kB / 380.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008776/0.4456, allocations: 75.64 kB / 380.9 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.4459, allocations: 24 kB / 381 MB, free: 11.31 MB / 314.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.0006124/0.4466, allocations: 197.6 kB / 381.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003864/0.447, allocations: 71.11 kB / 381.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.4473, allocations: 85.62 kB / 381.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.4473, allocations: 4 kB / 381.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.4473, allocations: 4 kB / 381.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.4474, allocations: 0 / 381.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.4502, allocations: 0.8336 MB / 382.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4503, allocations: 0 / 382.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.452, allocations: 119.9 kB / 382.3 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/0.4521, allocations: 4 kB / 382.3 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.383e-05/0.4522, allocations: 8 kB / 382.3 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.388e-05/0.4522, allocations: 7.984 kB / 382.3 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4522, allocations: 0 / 382.3 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005044/0.4573, allocations: 1.199 MB / 383.5 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/0.4578, allocations: 196.2 kB / 383.7 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/0.4581, allocations: 8 kB / 383.7 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.4595, allocations: 67.94 kB / 383.7 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.4597, allocations: 35.94 kB / 383.8 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.4598, allocations: 12 kB / 383.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001349/0.4612, allocations: 423 kB / 384.2 MB, free: 7.938 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4612, allocations: 0 / 384.2 MB, free: 7.938 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001693/0.4629, allocations: 184 kB / 384.4 MB, free: 7.758 MB / 314.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.0002406/0.4632, allocations: 115.1 kB / 384.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0051/0.4683, allocations: 0.961 MB / 385.5 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.4684, allocations: 0 / 385.5 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.47, allocations: 295.8 kB / 385.7 MB, free: 6.387 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.472, allocations: 160.3 kB / 385.9 MB, free: 6.234 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/0.4777, allocations: 1.673 MB / 387.6 MB, free: 4.512 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009361/0.4787, allocations: 0.9416 MB / 388.5 MB, free: 3.539 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005602/0.4792, allocations: 43.44 kB / 388.6 MB, free: 3.496 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4793, allocations: 0 / 388.6 MB, free: 3.496 MB / 314.7 MB Notification: Performance of Templates: time 0.02259/0.5019, allocations: 7.844 MB / 396.4 MB, free: 11.68 MB / 330.7 MB