Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadModel(ModelicaTest): time 1.981/1.981, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.551e-05, allocations: 7.938 kB / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3452, allocations: 48.7 MB / 324.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004262/0.3495, allocations: 2.644 MB / 327.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.3526, allocations: 1.059 MB / 328.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006506/0.3533, allocations: 31.22 kB / 328.6 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.3534, allocations: 46.5 kB / 328.6 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007582/0.3542, allocations: 138.5 kB / 328.8 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.3569, allocations: 0.6305 MB / 329.4 MB, free: 480 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001759/0.3586, allocations: 0.4931 MB / 329.9 MB, free: 176 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.3591, allocations: 140.4 kB / 330 MB, free: 120 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.36, allocations: 306 kB / 330.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005951/0.3607, allocations: 237.4 kB / 330.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3608, allocations: 19.09 kB / 330.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.3609, allocations: 24.09 kB / 330.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3611, allocations: 89 kB / 330.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3612, allocations: 31.66 kB / 330.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000916/0.3622, allocations: 0.4884 MB / 331.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3622, allocations: 1.406 kB / 331.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.3622, allocations: 0 / 331.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.208e-05/0.3623, allocations: 0 / 331.2 MB, free: 15.72 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00321/0.3655, allocations: 0.9146 MB / 332.1 MB, free: 15.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.3655, allocations: 9.281 kB / 332.1 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.3659, allocations: 79 kB / 332.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.3672, allocations: 483.7 kB / 332.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.614e-05/0.3673, allocations: 34.88 kB / 332.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.3675, allocations: 44.88 kB / 332.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.3701, allocations: 0.6051 MB / 333.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.3702, allocations: 0 / 333.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/0.3703, allocations: 21.14 kB / 333.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.3703, allocations: 14.94 kB / 333.4 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/0.3733, allocations: 0.5744 MB / 334 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005639/0.379, allocations: 1.526 MB / 335.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005567/0.3846, allocations: 0.9915 MB / 336.5 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.3848, allocations: 7.438 kB / 336.5 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.893e-05/0.3849, allocations: 47.31 kB / 336.5 MB, free: 12.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=48): time 5.991e-06/0.3849, allocations: 3.938 kB / 336.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=50): time 0.01212/0.3971, allocations: 1.975 MB / 338.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.3973, allocations: 191.8 kB / 338.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/0.3982, allocations: 419.2 kB / 339.1 MB, free: 11.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.3983, allocations: 35.52 kB / 339.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.3986, allocations: 315.7 kB / 339.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.3989, allocations: 176.2 kB / 339.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.399, allocations: 11.59 kB / 339.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3992, allocations: 328.1 kB / 340 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.4007, allocations: 311.2 kB / 340.3 MB, free: 10.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.4023, allocations: 368.9 kB / 340.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.4039, allocations: 313.4 kB / 340.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.4039, allocations: 0 / 340.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003292/0.4072, allocations: 0.7158 MB / 341.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.4073, allocations: 9.703 kB / 341.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4073, allocations: 7.453 kB / 341.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.4073, allocations: 6.297 kB / 341.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.409, allocations: 201.4 kB / 341.9 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.409, allocations: 1.344 kB / 341.9 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4101, allocations: 94.27 kB / 342 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.4102, allocations: 15.53 kB / 342 MB, free: 10.04 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0004374/0.4106, allocations: 179.7 kB / 342.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.4108, allocations: 66.59 kB / 342.2 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/0.4138, allocations: 0.6942 MB / 342.9 MB, free: 9.504 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.4138, allocations: 9.594 kB / 342.9 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4138, allocations: 0 / 342.9 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.4139, allocations: 5.422 kB / 342.9 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00491/0.4188, allocations: 1.429 MB / 344.3 MB, free: 8.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.4189, allocations: 9.125 kB / 344.4 MB, free: 8.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.4203, allocations: 160.7 kB / 344.5 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/0.4204, allocations: 6.828 kB / 344.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.948e-05/0.4205, allocations: 16.62 kB / 344.5 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.4205, allocations: 2.938 kB / 344.5 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.4205, allocations: 5.688 kB / 344.5 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005085/0.4256, allocations: 1.343 MB / 345.9 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.4261, allocations: 177.3 kB / 346.1 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.4263, allocations: 19.72 kB / 346.1 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.4274, allocations: 92.31 kB / 346.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.4275, allocations: 46.2 kB / 346.2 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/0.4276, allocations: 14.22 kB / 346.2 MB, free: 7.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006599/0.4283, allocations: 336.2 kB / 346.6 MB, free: 7.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4283, allocations: 0 / 346.6 MB, free: 7.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007406/0.4291, allocations: 100.5 kB / 346.7 MB, free: 7.254 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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.0002066/0.4293, allocations: 113.4 kB / 346.8 MB, free: 7.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003305/0.4326, allocations: 0.6846 MB / 347.5 MB, free: 6.887 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.4326, allocations: 0 / 347.5 MB, free: 6.887 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001666/0.4343, allocations: 377.2 kB / 347.8 MB, free: 6.742 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.4357, allocations: 133.9 kB / 348 MB, free: 6.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.4416, allocations: 1.677 MB / 349.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/0.4423, allocations: 0.9071 MB / 350.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/0.4427, allocations: 59.22 kB / 350.6 MB, free: 4.785 MB / 282.7 MB Notification: Performance of SimCode: time 1.392e-06/0.4428, allocations: 1.156 kB / 350.6 MB, free: 4.785 MB / 282.7 MB Notification: Performance of Templates: time 0.01934/0.4621, allocations: 7.265 MB / 357.9 MB, free: 13.96 MB / 298.7 MB