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.2_ModelicaTest.Blocks.Continuous") Notification: Performance of loadModel(ModelicaTest): time 2.84/2.84, allocations: 234.9 MB / 249.4 MB, free: 11 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.834e-05, allocations: 0 / 308 MB, free: 340 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3799, allocations: 54.86 MB / 362.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.006122/0.3861, allocations: 2.579 MB / 365.5 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.3906, allocations: 1.271 MB / 366.7 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.3913, allocations: 23.94 kB / 366.7 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005565/0.3919, allocations: 87.41 kB / 366.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009561/0.3929, allocations: 175.4 kB / 367 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.395, allocations: 355.3 kB / 367.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.3968, allocations: 455.2 kB / 367.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.3973, allocations: 111.1 kB / 367.9 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008347/0.3981, allocations: 251.2 kB / 368.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008046/0.399, allocations: 275 kB / 368.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.3991, allocations: 20 kB / 368.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.3993, allocations: 23.94 kB / 368.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.3996, allocations: 139.5 kB / 368.6 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.3998, allocations: 40 kB / 368.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.4008, allocations: 0.4949 MB / 369.1 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4009, allocations: 0 / 369.1 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.477e-06/0.4009, allocations: 3.938 kB / 369.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.4009, allocations: 0 / 369.1 MB, free: 5.547 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.003406/0.4043, allocations: 0.8771 MB / 370 MB, free: 4.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.842e-05/0.4044, allocations: 12.03 kB / 370 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/0.4048, allocations: 79.06 kB / 370.1 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.4069, allocations: 0.5025 MB / 370.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.347e-05/0.407, allocations: 36.94 kB / 370.6 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.4073, allocations: 55.89 kB / 370.7 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.4097, allocations: 0.5404 MB / 371.2 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.4098, allocations: 0 / 371.2 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.4099, allocations: 19.95 kB / 371.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.41, allocations: 15.94 kB / 371.3 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/0.4126, allocations: 469.9 kB / 371.7 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007633/0.4203, allocations: 1.951 MB / 373.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/0.4234, allocations: 0.5809 MB / 374.3 MB, free: 212 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.4236, allocations: 8.094 kB / 374.3 MB, free: 204 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.4236, allocations: 42.48 kB / 374.3 MB, free: 152 kB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 4.829e-06/0.4236, allocations: 4 kB / 374.3 MB, free: 148 kB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.00635/0.43, allocations: 1.152 MB / 375.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.4302, allocations: 136.5 kB / 375.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.4321, allocations: 0.5307 MB / 376.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.4324, allocations: 37.7 kB / 376.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.4329, allocations: 324.3 kB / 376.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/0.4332, allocations: 165.6 kB / 376.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.4333, allocations: 8 kB / 376.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002915/0.4336, allocations: 394.7 kB / 377 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.4353, allocations: 273 kB / 377.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.4372, allocations: 380.9 kB / 377.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.4391, allocations: 317 kB / 378 MB, free: 12.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.4392, allocations: 4 kB / 378 MB, free: 12.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.004011/0.4432, allocations: 0.7715 MB / 378.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006243/0.4439, allocations: 1.047 MB / 379.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.4439, allocations: 4 kB / 379.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.4439, allocations: 7.938 kB / 379.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.4456, allocations: 155.8 kB / 380 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.463e-05/0.4457, allocations: 7.938 kB / 380 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.4472, allocations: 103.6 kB / 380.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/0.4473, allocations: 20 kB / 380.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4474, allocations: 3.953 kB / 380.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003414/0.4508, allocations: 0.663 MB / 380.8 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4509, allocations: 4 kB / 380.8 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.4509, allocations: 8 kB / 380.8 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.4527, allocations: 140 kB / 380.9 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-05/0.4528, allocations: 8 kB / 380.9 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.4545, allocations: 99.52 kB / 381 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.4547, allocations: 16 kB / 381 MB, free: 9.23 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.0007421/0.4555, allocations: 205.6 kB / 381.2 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005229/0.456, allocations: 79.14 kB / 381.3 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.4564, allocations: 89.64 kB / 381.4 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.4565, allocations: 4 kB / 381.4 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.4565, allocations: 3.984 kB / 381.4 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.4565, allocations: 0 / 381.4 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/0.4601, allocations: 0.8375 MB / 382.2 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.4602, allocations: 4 kB / 382.3 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.462, allocations: 111.9 kB / 382.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-05/0.4621, allocations: 3.984 kB / 382.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.4622, allocations: 16 kB / 382.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.4623, allocations: 0 / 382.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.4623, allocations: 4 kB / 382.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004608/0.4669, allocations: 1.203 MB / 383.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/0.4674, allocations: 184.2 kB / 383.8 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.4676, allocations: 19.98 kB / 383.8 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009679/0.4686, allocations: 63.94 kB / 383.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.4688, allocations: 31.95 kB / 383.9 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.4689, allocations: 19.98 kB / 383.9 MB, free: 6.242 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.4699, allocations: 419 kB / 384.3 MB, free: 5.836 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.47, allocations: 0 / 384.3 MB, free: 5.836 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001053/0.471, allocations: 176 kB / 384.5 MB, free: 5.664 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.0002142/0.4712, allocations: 123.1 kB / 384.6 MB, free: 5.535 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003861/0.4751, allocations: 0.9805 MB / 385.6 MB, free: 4.555 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4752, allocations: 0 / 385.6 MB, free: 4.555 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.4764, allocations: 303.8 kB / 385.9 MB, free: 4.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.4779, allocations: 153.6 kB / 386 MB, free: 4.113 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.4824, allocations: 1.637 MB / 387.7 MB, free: 2.438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.4831, allocations: 0.943 MB / 388.6 MB, free: 1.465 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001268/0.4844, allocations: 190.5 kB / 388.8 MB, free: 1.273 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.4847, allocations: 35.44 kB / 388.8 MB, free: 1.238 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4847, allocations: 0 / 388.8 MB, free: 1.238 MB / 314.7 MB Notification: Performance of Templates: time 0.02682/0.5115, allocations: 7.547 MB / 396.4 MB, free: 9.715 MB / 330.7 MB