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_trunk_cpp_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.751e-05/3.751e-05, allocations: 4 kB / 349 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1435, allocations: 61.89 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004908/0.1485, allocations: 2.899 MB / 413.8 MB, free: 9.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003396/0.1519, allocations: 1.149 MB / 415 MB, free: 8.812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006911/0.1527, allocations: 43.81 kB / 415 MB, free: 8.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.1528, allocations: 43.45 kB / 415 MB, free: 8.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008649/0.1537, allocations: 151.4 kB / 415.2 MB, free: 8.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.1555, allocations: 471.1 kB / 415.7 MB, free: 8.117 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.1572, allocations: 0.5551 MB / 416.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.1577, allocations: 158.1 kB / 416.4 MB, free: 7.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006189/0.1583, allocations: 263.2 kB / 416.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.1588, allocations: 250.8 kB / 416.9 MB, free: 6.902 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1589, allocations: 24 kB / 416.9 MB, free: 6.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.159, allocations: 20 kB / 416.9 MB, free: 6.859 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1591, allocations: 107.5 kB / 417 MB, free: 6.754 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.1593, allocations: 36 kB / 417 MB, free: 6.719 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008577/0.1601, allocations: 0.5653 MB / 417.6 MB, free: 6.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1602, allocations: 4 kB / 417.6 MB, free: 6.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1602, allocations: 0 / 417.6 MB, free: 6.148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.1602, allocations: 4 kB / 417.6 MB, free: 6.145 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003201/0.1634, allocations: 0.998 MB / 418.6 MB, free: 5.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1635, allocations: 12.03 kB / 418.6 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003194/0.1638, allocations: 90.97 kB / 418.7 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.165, allocations: 0.5226 MB / 419.2 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.274e-05/0.1652, allocations: 41 kB / 419.3 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.1653, allocations: 55.91 kB / 419.3 MB, free: 4.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/0.168, allocations: 0.7461 MB / 420.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.1681, allocations: 7.984 kB / 420.1 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.294e-05/0.1682, allocations: 20 kB / 420.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.1682, allocations: 15.98 kB / 420.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.1713, allocations: 0.6401 MB / 420.8 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00612/0.1775, allocations: 2.337 MB / 423.1 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3797/0.5573, allocations: 0.8057 MB / 423.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.5574, allocations: 9.781 kB / 423.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.5575, allocations: 43.5 kB / 424 MB, free: 12.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 3.827e-06/0.5575, allocations: 3.906 kB / 424 MB, free: 12.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.00984/0.5674, allocations: 2.152 MB / 426.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.5675, allocations: 189.5 kB / 426.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009824/0.5685, allocations: 497 kB / 426.8 MB, free: 12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.5687, allocations: 36.14 kB / 426.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.5689, allocations: 365.8 kB / 427.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.5692, allocations: 181 kB / 427.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.5692, allocations: 9.844 kB / 427.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.5693, allocations: 337.1 kB / 427.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.571, allocations: 343.6 kB / 428 MB, free: 11.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.5728, allocations: 460 kB / 428.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.5745, allocations: 357.5 kB / 428.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5745, allocations: 1.531 kB / 428.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003576/0.5781, allocations: 0.8369 MB / 429.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.5783, allocations: 0.8804 MB / 430.5 MB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.5783, allocations: 3.203 kB / 430.5 MB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.5784, allocations: 4.688 kB / 430.6 MB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.5801, allocations: 218.1 kB / 430.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.5801, allocations: 6.438 kB / 430.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.5814, allocations: 114.1 kB / 430.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/0.5815, allocations: 21.92 kB / 430.9 MB, free: 9.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.5815, allocations: 5.562 kB / 430.9 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002496/0.584, allocations: 0.6142 MB / 431.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5841, allocations: 6.906 kB / 431.5 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.5841, allocations: 5.375 kB / 431.5 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.5855, allocations: 173.6 kB / 431.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.5856, allocations: 14.12 kB / 431.7 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006954/0.5863, allocations: 72.91 kB / 431.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.5863, allocations: 20.58 kB / 431.8 MB, free: 9.332 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0004872/0.5868, allocations: 189.5 kB / 432 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.5871, allocations: 69.98 kB / 432.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.5873, allocations: 85.09 kB / 432.1 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.5874, allocations: 5.406 kB / 432.2 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.5874, allocations: 4.562 kB / 432.2 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.5874, allocations: 6.828 kB / 432.2 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005066/0.5925, allocations: 1.546 MB / 433.7 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.5925, allocations: 2.625 kB / 433.7 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/0.5941, allocations: 175.5 kB / 433.9 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/0.5941, allocations: 3.125 kB / 433.9 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.449e-05/0.5942, allocations: 17.64 kB / 433.9 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.5942, allocations: 3.672 kB / 433.9 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5942, allocations: 1.438 kB / 433.9 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005353/0.5996, allocations: 1.438 MB / 435.3 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.6001, allocations: 191.3 kB / 435.5 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.6002, allocations: 16.38 kB / 435.6 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.6014, allocations: 110.6 kB / 435.7 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.6016, allocations: 46.42 kB / 435.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.6017, allocations: 19.02 kB / 435.7 MB, free: 7.516 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007122/0.6024, allocations: 388.8 kB / 436.1 MB, free: 7.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.6024, allocations: 1.094 kB / 436.1 MB, free: 7.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001012/0.6034, allocations: 184.6 kB / 436.3 MB, free: 7.312 MB / 346.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.0001711/0.6036, allocations: 116 kB / 436.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004879/0.6085, allocations: 1.094 MB / 437.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.6086, allocations: 4 kB / 437.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.6104, allocations: 408.3 kB / 437.9 MB, free: 6.848 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.612, allocations: 173.1 kB / 438.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006707/0.6187, allocations: 1.806 MB / 439.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.6193, allocations: 0.938 MB / 440.8 MB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/0.6198, allocations: 58.95 kB / 440.9 MB, free: 5.129 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6198, allocations: 5.031 kB / 440.9 MB, free: 5.125 MB / 346.7 MB Notification: Performance of Templates: time 0.022/0.6418, allocations: 8.523 MB / 449.4 MB, free: 2.102 MB / 346.7 MB