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.2_cpp_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 234.9 MB / 250.1 MB, free: 9.926 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.127e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3805, allocations: 54.85 MB / 362.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.006526/0.3871, allocations: 2.633 MB / 365.5 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.391, allocations: 1.011 MB / 366.5 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006295/0.3916, allocations: 30.25 kB / 366.5 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.3918, allocations: 43.45 kB / 366.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008432/0.3927, allocations: 145.3 kB / 366.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.3946, allocations: 387.6 kB / 367.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.3961, allocations: 451.5 kB / 367.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004673/0.3966, allocations: 136.4 kB / 367.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.3973, allocations: 237.3 kB / 367.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.3979, allocations: 223.5 kB / 368.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.398, allocations: 25.03 kB / 368.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.3982, allocations: 19.44 kB / 368.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.3984, allocations: 106.9 kB / 368.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.3985, allocations: 30.97 kB / 368.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.3996, allocations: 0.4923 MB / 368.8 MB, free: 7.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3996, allocations: 0 / 368.8 MB, free: 7.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3996, allocations: 0 / 368.8 MB, free: 7.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.3996, allocations: 1.281 kB / 368.8 MB, free: 7.531 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.003967/0.4036, allocations: 0.9374 MB / 369.7 MB, free: 6.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.4037, allocations: 9.938 kB / 369.7 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.404, allocations: 81.16 kB / 369.8 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.4054, allocations: 474.5 kB / 370.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.818e-05/0.4055, allocations: 41 kB / 370.3 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.4057, allocations: 40 kB / 370.3 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.4089, allocations: 0.6419 MB / 371 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.4089, allocations: 3.906 kB / 371 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.4091, allocations: 16 kB / 371 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.4091, allocations: 11.95 kB / 371 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/0.4128, allocations: 0.5972 MB / 371.6 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006303/0.4191, allocations: 1.527 MB / 373.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004793/0.4239, allocations: 0.8278 MB / 374 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.004e-05/0.4241, allocations: 8 kB / 374 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.4241, allocations: 38.56 kB / 374 MB, free: 2.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 4.429e-06/0.4242, allocations: 0 / 374 MB, free: 2.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.0116/0.4358, allocations: 2.068 MB / 376.1 MB, free: 316 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.436, allocations: 187.9 kB / 376.3 MB, free: 84 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.437, allocations: 410.3 kB / 376.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.4372, allocations: 37.7 kB / 376.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.4375, allocations: 311 kB / 377 MB, free: 15.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.4378, allocations: 165.5 kB / 377.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.4379, allocations: 12 kB / 377.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4381, allocations: 338.8 kB / 377.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.4403, allocations: 324.9 kB / 377.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.4425, allocations: 403 kB / 378.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.4447, allocations: 336.9 kB / 378.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4447, allocations: 0 / 378.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004665/0.4494, allocations: 0.7729 MB / 379.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.4496, allocations: 183.8 kB / 379.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4496, allocations: 7.922 kB / 379.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.4496, allocations: 4 kB / 379.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.4518, allocations: 207.8 kB / 379.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/0.4519, allocations: 7.953 kB / 379.7 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4533, allocations: 107.8 kB / 379.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.4534, allocations: 16 kB / 379.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4535, allocations: 5.406 kB / 379.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003145/0.4566, allocations: 0.5412 MB / 380.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4566, allocations: 8 kB / 380.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.4567, allocations: 4 kB / 380.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.4581, allocations: 167.8 kB / 380.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4581, allocations: 4 kB / 380.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.4588, allocations: 63.95 kB / 380.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.4588, allocations: 20 kB / 380.7 MB, free: 11.63 MB / 314.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 (56): * Single equations (assignments): 56 * 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.0004019/0.4592, allocations: 173.7 kB / 380.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.4595, allocations: 67.23 kB / 380.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.4597, allocations: 77.94 kB / 381 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.4597, allocations: 4 kB / 381 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.4598, allocations: 0 / 381 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.4598, allocations: 0 / 381 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005094/0.4649, allocations: 1.477 MB / 382.4 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.465, allocations: 4 kB / 382.5 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002417/0.4674, allocations: 171.9 kB / 382.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.36e-05/0.4675, allocations: 7.938 kB / 382.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.4676, allocations: 8 kB / 382.6 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.4677, allocations: 4 kB / 382.6 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4677, allocations: 0 / 382.6 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008002/0.4757, allocations: 1.405 MB / 384 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007271/0.4765, allocations: 184.2 kB / 384.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/0.4768, allocations: 12 kB / 384.2 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/0.4792, allocations: 107.9 kB / 384.3 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.4795, allocations: 43.88 kB / 384.4 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.4797, allocations: 19.98 kB / 384.4 MB, free: 7.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009169/0.4806, allocations: 322.9 kB / 384.7 MB, free: 7.438 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.4806, allocations: 0 / 384.7 MB, free: 7.438 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001389/0.482, allocations: 160 kB / 384.9 MB, free: 7.281 MB / 314.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 (48): * Single equations (assignments): 48 * 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.0003052/0.4824, allocations: 118.1 kB / 385 MB, free: 7.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005639/0.488, allocations: 1.039 MB / 386 MB, free: 6.117 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.4881, allocations: 0 / 386 MB, free: 6.117 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001785/0.4899, allocations: 391.8 kB / 386.4 MB, free: 5.734 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.4911, allocations: 133 kB / 386.5 MB, free: 5.605 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/0.4968, allocations: 1.671 MB / 388.2 MB, free: 3.891 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.4974, allocations: 0.9024 MB / 389.1 MB, free: 2.961 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.4979, allocations: 55.41 kB / 389.2 MB, free: 2.91 MB / 314.7 MB Notification: Performance of SimCode: time 1.312e-06/0.4979, allocations: 0 / 389.2 MB, free: 2.91 MB / 314.7 MB Notification: Performance of Templates: time 0.01813/0.516, allocations: 7.323 MB / 396.5 MB, free: 11.62 MB / 330.7 MB