Running command: translateModel(ModelicaTest.Blocks.Continuous,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") Notification: Performance of loadModel(ModelicaTest): time 1.947/1.947, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.879e-05, allocations: 7.984 kB / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3536, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004203/0.3579, allocations: 2.566 MB / 327.4 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00358/0.3615, allocations: 1.273 MB / 328.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006798/0.3623, allocations: 27.97 kB / 328.7 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.3628, allocations: 79.34 kB / 328.8 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008628/0.3636, allocations: 175.5 kB / 329 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.3655, allocations: 435.2 kB / 329.4 MB, free: 0.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.3669, allocations: 463.9 kB / 329.8 MB, free: 236 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.3673, allocations: 105.4 kB / 329.9 MB, free: 192 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006899/0.368, allocations: 272.1 kB / 330.2 MB, free: 76 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009061/0.3689, allocations: 282.2 kB / 330.5 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.3692, allocations: 20.5 kB / 330.5 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.3694, allocations: 19.44 kB / 330.5 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004454/0.3699, allocations: 140.5 kB / 330.7 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.3701, allocations: 34.59 kB / 330.7 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.3718, allocations: 0.4984 MB / 331.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3718, allocations: 0 / 331.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.888e-06/0.3719, allocations: 1.125 kB / 331.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.307e-05/0.3719, allocations: 0 / 331.2 MB, free: 15.8 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.004379/0.3763, allocations: 0.8712 MB / 332.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.889e-05/0.3764, allocations: 9.875 kB / 332.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.377, allocations: 83.81 kB / 332.1 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.3795, allocations: 0.5142 MB / 332.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.814e-05/0.3796, allocations: 38.69 kB / 332.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/0.3799, allocations: 52.09 kB / 332.8 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.3824, allocations: 0.538 MB / 333.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.3825, allocations: 1.375 kB / 333.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/0.3826, allocations: 20.33 kB / 333.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.3826, allocations: 11 kB / 333.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.3846, allocations: 465.8 kB / 333.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006438/0.3911, allocations: 1.947 MB / 335.7 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.3935, allocations: 0.5851 MB / 336.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.814e-05/0.3936, allocations: 5.016 kB / 336.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.3937, allocations: 46.64 kB / 336.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 3.026e-06/0.3937, allocations: 0 / 336.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.004813/0.3985, allocations: 1.156 MB / 337.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.3987, allocations: 137.8 kB / 337.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.4003, allocations: 0.5356 MB / 338.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.4005, allocations: 40.61 kB / 338.2 MB, free: 12.06 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.4009, allocations: 340.8 kB / 338.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.4012, allocations: 163.8 kB / 338.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.4012, allocations: 10.66 kB / 338.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4014, allocations: 329.4 kB / 339 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.4027, allocations: 275.4 kB / 339.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.404, allocations: 391.5 kB / 339.7 MB, free: 11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.4054, allocations: 307.4 kB / 340 MB, free: 10.87 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.4054, allocations: 1.312 kB / 340 MB, free: 10.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003022/0.4085, allocations: 0.7246 MB / 340.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.4086, allocations: 14.33 kB / 340.7 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.4086, allocations: 2.375 kB / 340.7 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.4086, allocations: 7.688 kB / 340.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.4103, allocations: 150.2 kB / 340.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.43e-05/0.4104, allocations: 9.75 kB / 340.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.4118, allocations: 114 kB / 341 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/0.4119, allocations: 18.62 kB / 341 MB, free: 10.43 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.0005019/0.4124, allocations: 201.8 kB / 341.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.4127, allocations: 67.59 kB / 341.3 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.4129, allocations: 89.59 kB / 341.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.413, allocations: 5.562 kB / 341.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.413, allocations: 1 kB / 341.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.413, allocations: 6.188 kB / 341.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.4152, allocations: 0.8241 MB / 342.2 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.4152, allocations: 0 / 342.2 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.4166, allocations: 116.3 kB / 342.3 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.4166, allocations: 2.156 kB / 342.3 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-05/0.4167, allocations: 17.73 kB / 342.4 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.4167, allocations: 6.312 kB / 342.4 MB, free: 9.438 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4167, allocations: 1.281 kB / 342.4 MB, free: 9.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/0.4205, allocations: 1.211 MB / 343.6 MB, free: 8.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.421, allocations: 192.3 kB / 343.8 MB, free: 8.539 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.4212, allocations: 17.36 kB / 343.8 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.4222, allocations: 61.92 kB / 343.8 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.4224, allocations: 39.86 kB / 343.9 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/0.4225, allocations: 19.92 kB / 343.9 MB, free: 8.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001457/0.424, allocations: 418.6 kB / 344.3 MB, free: 8.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.424, allocations: 4 kB / 344.3 MB, free: 8.227 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001173/0.4252, allocations: 107.6 kB / 344.4 MB, free: 8.211 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.0002833/0.4255, allocations: 116.5 kB / 344.5 MB, free: 8.105 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.4284, allocations: 0.6144 MB / 345.1 MB, free: 7.855 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4284, allocations: 1.406 kB / 345.1 MB, free: 7.855 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.4297, allocations: 300.4 kB / 345.4 MB, free: 7.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.4311, allocations: 157.2 kB / 345.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.4353, allocations: 1.675 MB / 347.3 MB, free: 6.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.4361, allocations: 0.9475 MB / 348.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/0.4365, allocations: 45.61 kB / 348.3 MB, free: 5.691 MB / 282.7 MB Notification: Performance of SimCode: time 1.083e-06/0.4365, allocations: 0 / 348.3 MB, free: 5.691 MB / 282.7 MB Notification: Performance of Templates: time 0.02032/0.4569, allocations: 7.831 MB / 356.1 MB, free: 15.84 MB / 298.7 MB