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_cpp_ModelicaTest.Blocks.Continuous") Notification: Performance of loadModel(ModelicaTest): time 2.452/2.452, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.359e-05, allocations: 7.984 kB / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3934, allocations: 54.85 MB / 362.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004729/0.3982, allocations: 2.573 MB / 365.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.402, allocations: 1.278 MB / 366.7 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006942/0.4027, allocations: 23.88 kB / 366.7 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.4033, allocations: 83.59 kB / 366.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008929/0.4042, allocations: 177.9 kB / 367 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.4059, allocations: 361.5 kB / 367.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.4074, allocations: 447 kB / 367.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.4079, allocations: 112 kB / 367.9 MB, free: 8.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007579/0.4086, allocations: 253.6 kB / 368.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006382/0.4093, allocations: 276.1 kB / 368.4 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.4094, allocations: 22.25 kB / 368.4 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.4096, allocations: 19.41 kB / 368.4 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.4098, allocations: 147.6 kB / 368.6 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.41, allocations: 38.22 kB / 368.6 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008869/0.4109, allocations: 0.4997 MB / 369.1 MB, free: 7.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4109, allocations: 0 / 369.1 MB, free: 7.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.4109, allocations: 7.875 kB / 369.1 MB, free: 7.328 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.851e-05/0.411, allocations: 0 / 369.1 MB, free: 7.328 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.002824/0.4138, allocations: 0.8627 MB / 370 MB, free: 6.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.4139, allocations: 12.03 kB / 370 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004044/0.4143, allocations: 79.06 kB / 370.1 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.4161, allocations: 0.5141 MB / 370.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.4163, allocations: 32.94 kB / 370.6 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.4164, allocations: 55.91 kB / 370.7 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.4183, allocations: 0.5365 MB / 371.2 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.4184, allocations: 8 kB / 371.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.333e-05/0.4185, allocations: 19.95 kB / 371.2 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.4185, allocations: 8 kB / 371.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.4205, allocations: 465.9 kB / 371.7 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006044/0.4266, allocations: 1.963 MB / 373.7 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.429, allocations: 0.5808 MB / 374.2 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.519e-05/0.4291, allocations: 4 kB / 374.2 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.4292, allocations: 42.56 kB / 374.3 MB, free: 2.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.717e-06/0.4292, allocations: 4 kB / 374.3 MB, free: 2.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.004578/0.4338, allocations: 1.148 MB / 375.4 MB, free: 1.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/0.4339, allocations: 136.5 kB / 375.6 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.4355, allocations: 0.5307 MB / 376.1 MB, free: 316 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.4358, allocations: 37.7 kB / 376.1 MB, free: 272 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.4361, allocations: 338.8 kB / 376.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.4364, allocations: 165.6 kB / 376.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.4365, allocations: 12 kB / 376.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4366, allocations: 338.8 kB / 377 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.4378, allocations: 276.9 kB / 377.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.4391, allocations: 388.8 kB / 377.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.4404, allocations: 306.5 kB / 377.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.4405, allocations: 4 kB / 377.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00286/0.4433, allocations: 0.7291 MB / 378.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004903/0.4439, allocations: 1.055 MB / 379.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.4439, allocations: 0 / 379.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.444, allocations: 15.88 kB / 379.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.4453, allocations: 147.8 kB / 379.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.4453, allocations: 8 kB / 379.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.4466, allocations: 107.5 kB / 380 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.4468, allocations: 20 kB / 380 MB, free: 12.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4468, allocations: 9.359 kB / 380 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002495/0.4493, allocations: 0.6553 MB / 380.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4494, allocations: 4 kB / 380.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4494, allocations: 4 kB / 380.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.4506, allocations: 140 kB / 380.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.4507, allocations: 19.92 kB / 380.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.4513, allocations: 67.66 kB / 380.9 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.4514, allocations: 20 kB / 380.9 MB, free: 11.35 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.0004604/0.4519, allocations: 201.7 kB / 381.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.4521, allocations: 71.11 kB / 381.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.4524, allocations: 81.64 kB / 381.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.4524, allocations: 4 kB / 381.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.4524, allocations: 0 / 381.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.4525, allocations: 3.984 kB / 381.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.4546, allocations: 0.8297 MB / 382.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.4546, allocations: 4 kB / 382.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.456, allocations: 111.9 kB / 382.2 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.456, allocations: 4 kB / 382.2 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-05/0.4561, allocations: 24.02 kB / 382.2 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4561, allocations: 0 / 382.2 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4562, allocations: 4 kB / 382.2 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003853/0.46, allocations: 1.203 MB / 383.4 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005116/0.4606, allocations: 188.3 kB / 383.6 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.4608, allocations: 8 kB / 383.6 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000965/0.4617, allocations: 63.94 kB / 383.7 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.4619, allocations: 39.88 kB / 383.7 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.462, allocations: 23.94 kB / 383.8 MB, free: 8.379 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.4631, allocations: 423 kB / 384.2 MB, free: 7.969 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.4631, allocations: 0 / 384.2 MB, free: 7.969 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001109/0.4642, allocations: 180 kB / 384.4 MB, free: 7.793 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.000211/0.4645, allocations: 115.1 kB / 384.5 MB, free: 7.672 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003845/0.4683, allocations: 0.9572 MB / 385.4 MB, free: 6.715 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.4684, allocations: 0 / 385.4 MB, free: 6.715 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.4696, allocations: 299.7 kB / 385.7 MB, free: 6.422 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.4711, allocations: 158.7 kB / 385.9 MB, free: 6.273 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.4754, allocations: 1.673 MB / 387.5 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.4762, allocations: 0.9377 MB / 388.5 MB, free: 3.582 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.4766, allocations: 47.42 kB / 388.5 MB, free: 3.535 MB / 314.7 MB Notification: Performance of SimCode: time 1.312e-06/0.4766, allocations: 0 / 388.5 MB, free: 3.535 MB / 314.7 MB Notification: Performance of Templates: time 0.02021/0.4969, allocations: 7.837 MB / 396.4 MB, free: 11.71 MB / 330.7 MB