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.96/1.96, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.392e-05, allocations: 4 kB / 273 MB, free: 3.684 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08466, allocations: 48.7 MB / 321.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3387/0.4234, allocations: 75.67 MB / 397.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.4236, allocations: 65.69 kB / 397.5 MB, free: 7.078 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.439, allocations: 3.693 MB / 401.2 MB, free: 6.207 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4391, allocations: 1.312 kB / 401.2 MB, free: 6.207 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.4391, allocations: 1.312 kB / 401.2 MB, free: 6.207 MB / 314.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.0006474/0.4398, allocations: 451.6 kB / 401.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4398, allocations: 11.62 kB / 401.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.4399, allocations: 23.25 kB / 401.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.4404, allocations: 251.6 kB / 401.9 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.525e-05/0.4405, allocations: 92.81 kB / 402 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.4405, allocations: 7.625 kB / 402 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.4408, allocations: 134.5 kB / 402.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4408, allocations: 0 / 402.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.4409, allocations: 7.938 kB / 402.1 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-06/0.4409, allocations: 3.688 kB / 402.1 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.4411, allocations: 61.2 kB / 402.2 MB, free: 5.375 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.4422, allocations: 496.2 kB / 402.7 MB, free: 5.012 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.4424, allocations: 72.22 kB / 402.7 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.4424, allocations: 35.78 kB / 402.8 MB, free: 4.969 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.4425, allocations: 11.89 kB / 402.8 MB, free: 4.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.4425, allocations: 30.56 kB / 402.8 MB, free: 4.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.307e-06/0.4425, allocations: 0 / 402.8 MB, free: 4.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002783/0.4428, allocations: 94.48 kB / 402.9 MB, free: 4.871 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.4429, allocations: 102.8 kB / 403 MB, free: 4.746 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.443, allocations: 140.6 kB / 403.2 MB, free: 4.645 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4431, allocations: 29.67 kB / 403.2 MB, free: 4.613 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.4431, allocations: 177.9 kB / 403.4 MB, free: 4.453 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.4432, allocations: 23.53 kB / 403.4 MB, free: 4.434 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.932e-06/0.4432, allocations: 3.875 kB / 403.4 MB, free: 4.434 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.92e-05/0.4432, allocations: 318.7 kB / 403.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/0.4433, allocations: 26.72 kB / 403.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.704e-05/0.4434, allocations: 49.16 kB / 403.8 MB, free: 4.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.532e-05/0.4435, allocations: 19.25 kB / 403.8 MB, free: 4.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.55e-06/0.4435, allocations: 0 / 403.8 MB, free: 4.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002152/0.4438, allocations: 103.1 kB / 403.9 MB, free: 4.043 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4438, allocations: 7.828 kB / 403.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.4438, allocations: 0 / 403.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4438, allocations: 3.938 kB / 403.9 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.4441, allocations: 46.69 kB / 403.9 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4441, allocations: 0 / 403.9 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.4443, allocations: 27.36 kB / 404 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.4443, allocations: 0 / 404 MB, free: 4.012 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.855e-05/0.4444, allocations: 116.7 kB / 404.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.4444, allocations: 11.72 kB / 404.1 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.4445, allocations: 17.27 kB / 404.1 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.845e-06/0.4445, allocations: 3.938 kB / 404.1 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.939e-06/0.4445, allocations: 0 / 404.1 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4445, allocations: 4 kB / 404.1 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.4448, allocations: 231.5 kB / 404.3 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4448, allocations: 0 / 404.3 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.4451, allocations: 46.7 kB / 404.4 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4451, allocations: 3.844 kB / 404.4 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.4451, allocations: 4 kB / 404.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.163e-06/0.4451, allocations: 3.953 kB / 404.4 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.958e-06/0.4451, allocations: 3.984 kB / 404.4 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.4454, allocations: 215.5 kB / 404.6 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.4457, allocations: 100.6 kB / 404.7 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.4457, allocations: 0 / 404.7 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.446, allocations: 54.77 kB / 404.8 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.4461, allocations: 3.953 kB / 404.8 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.4461, allocations: 7.828 kB / 404.8 MB, free: 19.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.4463, allocations: 123.6 kB / 404.9 MB, free: 19.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.4463, allocations: 4 kB / 404.9 MB, free: 19.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.4466, allocations: 27.16 kB / 404.9 MB, free: 19.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001474/0.4468, allocations: 106.2 kB / 405 MB, free: 19.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.447, allocations: 50.27 kB / 405.1 MB, free: 19.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.39e-06/0.447, allocations: 0 / 405.1 MB, free: 19.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.4471, allocations: 30.81 kB / 405.1 MB, free: 19.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.4474, allocations: 15.3 kB / 405.1 MB, free: 19.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.4478, allocations: 175 kB / 405.3 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.4482, allocations: 0.7034 MB / 406 MB, free: 18.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.4482, allocations: 19.11 kB / 406 MB, free: 18.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.535e-06/0.4483, allocations: 0 / 406 MB, free: 18.3 MB / 330.7 MB Notification: Performance of Templates: time 0.003241/0.4515, allocations: 1.568 MB / 407.6 MB, free: 17.52 MB / 330.7 MB