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_ModelicaTest.Blocks.Continuous") Notification: Performance of loadModel(ModelicaTest): time 1.877/1.877, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.679e-05, allocations: 0 / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3832, allocations: 48.71 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.00578/0.3891, allocations: 2.569 MB / 327.4 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00489/0.394, allocations: 1.264 MB / 328.7 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007083/0.3948, allocations: 25.88 kB / 328.7 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.3954, allocations: 86.38 kB / 328.8 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009764/0.3964, allocations: 169.1 kB / 329 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.399, allocations: 431.5 kB / 329.4 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.4006, allocations: 467.2 kB / 329.9 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.401, allocations: 105.6 kB / 330 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000598/0.4016, allocations: 275.6 kB / 330.2 MB, free: 480 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005475/0.4021, allocations: 273.6 kB / 330.5 MB, free: 384 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.4022, allocations: 24.06 kB / 330.5 MB, free: 380 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.336e-05/0.4024, allocations: 20.59 kB / 330.5 MB, free: 380 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.4026, allocations: 141.2 kB / 330.7 MB, free: 324 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.4027, allocations: 37.22 kB / 330.7 MB, free: 320 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.4035, allocations: 0.4992 MB / 331.2 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4036, allocations: 1.594 kB / 331.2 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4036, allocations: 0 / 331.2 MB, free: 192 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.4036, allocations: 0 / 331.2 MB, free: 192 kB / 266.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.002618/0.4062, allocations: 0.8675 MB / 332.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4063, allocations: 12.25 kB / 332.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.4066, allocations: 84.83 kB / 332.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.4081, allocations: 0.507 MB / 332.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.4082, allocations: 34.88 kB / 332.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.4083, allocations: 56.36 kB / 332.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.4101, allocations: 0.5376 MB / 333.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.4102, allocations: 3.938 kB / 333.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.4103, allocations: 17.27 kB / 333.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.4103, allocations: 9.406 kB / 333.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.4123, allocations: 473.3 kB / 333.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005745/0.418, allocations: 1.951 MB / 335.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.4203, allocations: 0.5802 MB / 336.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.713e-05/0.4204, allocations: 11.95 kB / 336.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.4205, allocations: 38.66 kB / 336.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 6.422e-06/0.4205, allocations: 4 kB / 336.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.004472/0.425, allocations: 1.153 MB / 337.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.128e-05/0.4251, allocations: 138.6 kB / 337.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.4265, allocations: 0.5388 MB / 338.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.4266, allocations: 36.05 kB / 338.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.427, allocations: 319.7 kB / 338.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.4273, allocations: 166.1 kB / 338.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.4273, allocations: 10.5 kB / 338.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.4276, allocations: 384.1 kB / 339.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.4287, allocations: 277.6 kB / 339.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.4299, allocations: 383 kB / 339.8 MB, free: 11.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.4312, allocations: 312 kB / 340.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4312, allocations: 0 / 340.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002875/0.4341, allocations: 0.7731 MB / 340.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.4341, allocations: 14.3 kB / 340.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4342, allocations: 3.531 kB / 340.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.4342, allocations: 4.688 kB / 340.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.4355, allocations: 150 kB / 341 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.4355, allocations: 9.328 kB / 341 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.4367, allocations: 102.4 kB / 341.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/0.4368, allocations: 24.25 kB / 341.1 MB, free: 10.63 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.0004428/0.4372, allocations: 197 kB / 341.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.4374, allocations: 69 kB / 341.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.4377, allocations: 89.38 kB / 341.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.4377, allocations: 8.844 kB / 341.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.4377, allocations: 1.562 kB / 341.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.4377, allocations: 3.984 kB / 341.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.4397, allocations: 0.8273 MB / 342.3 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4398, allocations: 7.109 kB / 342.3 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.4411, allocations: 112 kB / 342.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.4411, allocations: 2.688 kB / 342.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/0.4412, allocations: 18.08 kB / 342.5 MB, free: 9.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.4412, allocations: 5.375 kB / 342.5 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.4413, allocations: 5.312 kB / 342.5 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003679/0.4449, allocations: 1.21 MB / 343.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/0.4454, allocations: 196.5 kB / 343.9 MB, free: 8.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.4456, allocations: 14.47 kB / 343.9 MB, free: 8.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009448/0.4465, allocations: 60.97 kB / 343.9 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.4467, allocations: 39.56 kB / 344 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.4468, allocations: 12.38 kB / 344 MB, free: 8.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001119/0.4479, allocations: 422.8 kB / 344.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.4479, allocations: 0 / 344.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008175/0.4488, allocations: 103.6 kB / 344.5 MB, free: 8.418 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.0002063/0.449, allocations: 119.4 kB / 344.6 MB, free: 8.309 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.4515, allocations: 0.6115 MB / 345.2 MB, free: 8.062 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4515, allocations: 0 / 345.2 MB, free: 8.062 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.4527, allocations: 301.9 kB / 345.5 MB, free: 7.941 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.4541, allocations: 158.3 kB / 345.7 MB, free: 7.867 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.4582, allocations: 1.634 MB / 347.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/0.4589, allocations: 0.9446 MB / 348.3 MB, free: 5.949 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007514/0.4597, allocations: 100.4 kB / 348.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.4599, allocations: 43.56 kB / 348.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.46, allocations: 0 / 348.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of Templates: time 0.01977/0.4797, allocations: 5.944 MB / 354.4 MB, free: 1.531 MB / 282.7 MB