Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Limiters") Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.975e-05, allocations: 0 / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3471, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002247/0.3494, allocations: 1.3 MB / 326.1 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3506, allocations: 0.5145 MB / 326.6 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.264e-05/0.3507, allocations: 3.75 kB / 326.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.3508, allocations: 9.719 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.947e-05/0.3509, allocations: 19.84 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.3515, allocations: 140.1 kB / 326.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.3517, allocations: 81.41 kB / 326.9 MB, free: 1.988 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3518, allocations: 25.33 kB / 326.9 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.352, allocations: 59.89 kB / 327 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.3521, allocations: 58.61 kB / 327 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.741e-05/0.3522, allocations: 6.25 kB / 327 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.3522, allocations: 7.438 kB / 327.1 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.3523, allocations: 28.61 kB / 327.1 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.3524, allocations: 8.125 kB / 327.1 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.3525, allocations: 95.3 kB / 327.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3526, allocations: 0 / 327.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3526, allocations: 0 / 327.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3526, allocations: 0 / 327.2 MB, free: 1.906 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000772/0.3534, allocations: 425.7 kB / 327.6 MB, free: 1.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3534, allocations: 7.844 kB / 327.6 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.3535, allocations: 16.91 kB / 327.6 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.3538, allocations: 217.1 kB / 327.8 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.213e-05/0.3539, allocations: 91 kB / 327.9 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.354, allocations: 9.281 kB / 327.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/0.3546, allocations: 177.8 kB / 328.1 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3546, allocations: 1.172 kB / 328.1 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.3547, allocations: 5.469 kB / 328.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3547, allocations: 2.719 kB / 328.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007429/0.3554, allocations: 144.5 kB / 328.3 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.357, allocations: 0.4897 MB / 328.7 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/0.3579, allocations: 201.6 kB / 328.9 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.358, allocations: 10.81 kB / 329 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.358, allocations: 34.23 kB / 329 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 3.647e-06/0.358, allocations: 0 / 329 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.002212/0.3603, allocations: 0.5891 MB / 329.6 MB, free: 300 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3603, allocations: 106.6 kB / 329.7 MB, free: 172 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.3605, allocations: 148.2 kB / 329.8 MB, free: 56 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3606, allocations: 27.95 kB / 329.8 MB, free: 24 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.3607, allocations: 175 kB / 330 MB, free: 15.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.3608, allocations: 34.47 kB / 330.1 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.3608, allocations: 0 / 330.1 MB, free: 15.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3609, allocations: 318 kB / 330.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.3611, allocations: 40.83 kB / 330.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.3614, allocations: 80.8 kB / 330.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.3617, allocations: 45.28 kB / 330.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3617, allocations: 4.031 kB / 330.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005417/0.3622, allocations: 138 kB / 330.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.3623, allocations: 9.328 kB / 330.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3623, allocations: 1.922 kB / 330.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.3623, allocations: 5.188 kB / 330.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.3627, allocations: 49.64 kB / 330.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3627, allocations: 1.859 kB / 330.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.3629, allocations: 15.92 kB / 330.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.363, allocations: 11.22 kB / 330.8 MB, free: 15.36 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001499/0.3631, allocations: 118 kB / 330.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.3632, allocations: 13.78 kB / 330.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.3633, allocations: 19.2 kB / 330.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3633, allocations: 1.062 kB / 330.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3633, allocations: 0 / 330.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3633, allocations: 2.094 kB / 330.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.3647, allocations: 0.5125 MB / 331.4 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3647, allocations: 5.031 kB / 331.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.3652, allocations: 62.12 kB / 331.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3652, allocations: 1.938 kB / 331.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.3652, allocations: 2.031 kB / 331.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3652, allocations: 1.375 kB / 331.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3652, allocations: 0.6094 kB / 331.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.3665, allocations: 396.3 kB / 331.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.3667, allocations: 106.4 kB / 332 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.3667, allocations: 2.141 kB / 332 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.3672, allocations: 49.88 kB / 332 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.3673, allocations: 6.422 kB / 332 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.3673, allocations: 8.25 kB / 332 MB, free: 14.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.3675, allocations: 125.2 kB / 332.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3675, allocations: 0 / 332.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003383/0.3678, allocations: 22.59 kB / 332.2 MB, free: 14.4 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001437/0.368, allocations: 97.5 kB / 332.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006466/0.3687, allocations: 132.1 kB / 332.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3687, allocations: 4 kB / 332.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.3691, allocations: 76.95 kB / 332.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3694, allocations: 22.69 kB / 332.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008851/0.3703, allocations: 341 kB / 332.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3706, allocations: 0.7093 MB / 333.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.3707, allocations: 18.38 kB / 333.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3707, allocations: 3.938 kB / 333.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of Templates: time 0.004877/0.3756, allocations: 1.615 MB / 335.2 MB, free: 13.19 MB / 282.7 MB