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_trunk_cpp_ModelicaTest.Blocks.Limiters") Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 269 MB / 284.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.893e-05, allocations: 7.984 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1284, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002349/0.1308, allocations: 1.339 MB / 412.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1322, allocations: 0.5189 MB / 412.8 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1323, allocations: 4 kB / 412.8 MB, free: 11 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.1323, allocations: 7.875 kB / 412.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.1325, allocations: 7.984 kB / 412.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.133, allocations: 115.7 kB / 412.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.1332, allocations: 91.83 kB / 413 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1333, allocations: 23.89 kB / 413 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.1335, allocations: 59.81 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1336, allocations: 47.83 kB / 413.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.099e-05/0.1337, allocations: 4 kB / 413.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.1337, allocations: 8 kB / 413.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.1338, allocations: 31.84 kB / 413.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.1338, allocations: 8 kB / 413.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.134, allocations: 88.08 kB / 413.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.134, allocations: 0 / 413.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.134, allocations: 0 / 413.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.134, allocations: 4 kB / 413.3 MB, free: 10.51 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008317/0.1349, allocations: 431.1 kB / 413.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1349, allocations: 8.031 kB / 413.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.135, allocations: 19.81 kB / 413.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.1353, allocations: 211.4 kB / 413.9 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1354, allocations: 4 kB / 413.9 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.1354, allocations: 11.95 kB / 413.9 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.1361, allocations: 190.8 kB / 414.1 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1361, allocations: 0 / 414.1 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.1362, allocations: 8 kB / 414.1 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.1362, allocations: 0 / 414.1 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.137, allocations: 163.8 kB / 414.3 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.1383, allocations: 476.5 kB / 414.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.1395, allocations: 250.4 kB / 415 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.1396, allocations: 0 / 415 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1396, allocations: 34.56 kB / 415 MB, free: 8.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.1396, allocations: 4 kB / 415 MB, free: 8.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.002667/0.1423, allocations: 0.6502 MB / 415.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.1424, allocations: 110.7 kB / 415.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1426, allocations: 142.9 kB / 415.9 MB, free: 7.586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1427, allocations: 33.64 kB / 416 MB, free: 7.547 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1428, allocations: 174.5 kB / 416.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.1428, allocations: 31.55 kB / 416.2 MB, free: 7.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.1429, allocations: 0 / 416.2 MB, free: 7.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.143, allocations: 310.8 kB / 416.5 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.1435, allocations: 87.94 kB / 416.6 MB, free: 6.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/0.144, allocations: 114.5 kB / 416.7 MB, free: 6.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.1444, allocations: 79.98 kB / 416.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1444, allocations: 0 / 416.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0009706/0.1454, allocations: 221.4 kB / 417 MB, free: 6.523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/0.1455, allocations: 93 kB / 417.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1455, allocations: 0 / 417.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1455, allocations: 3.953 kB / 417.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.1459, allocations: 51.91 kB / 417.1 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1459, allocations: 0 / 417.1 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.1462, allocations: 31.97 kB / 417.1 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.1462, allocations: 8 kB / 417.1 MB, free: 6.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.1463, allocations: 0 / 417.1 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004045/0.1467, allocations: 99.88 kB / 417.2 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1467, allocations: 3.984 kB / 417.3 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-06/0.1467, allocations: 0 / 417.3 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.1469, allocations: 27.98 kB / 417.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.1469, allocations: 0 / 417.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.1471, allocations: 19.98 kB / 417.3 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1471, allocations: 0 / 417.3 MB, free: 6.184 MB / 346.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 (10): * Single equations (assignments): 10 * 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.0001446/0.1472, allocations: 117.8 kB / 417.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.1473, allocations: 16.28 kB / 417.4 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.1474, allocations: 16.72 kB / 417.4 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1474, allocations: 3.984 kB / 417.4 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1474, allocations: 0 / 417.4 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1474, allocations: 3.938 kB / 417.5 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.149, allocations: 0.5504 MB / 418 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.149, allocations: 4 kB / 418 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.1494, allocations: 51.98 kB / 418.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.1494, allocations: 0 / 418.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.1494, allocations: 7.938 kB / 418.1 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1494, allocations: 0 / 418.1 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1494, allocations: 0 / 418.1 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.1509, allocations: 433.6 kB / 418.5 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.151, allocations: 85.05 kB / 418.6 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.1511, allocations: 4 kB / 418.6 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/0.1516, allocations: 56.02 kB / 418.6 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.1517, allocations: 7.984 kB / 418.6 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.1517, allocations: 7.953 kB / 418.6 MB, free: 4.723 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1519, allocations: 122.3 kB / 418.8 MB, free: 4.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1519, allocations: 0 / 418.8 MB, free: 4.605 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004268/0.1523, allocations: 32 kB / 418.8 MB, free: 4.574 MB / 346.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 (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 Backend phase and start with SimCode phase: time 0.0001445/0.1525, allocations: 103.2 kB / 418.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.1536, allocations: 235.8 kB / 419.1 MB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1537, allocations: 0 / 419.1 MB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.1541, allocations: 103.9 kB / 419.2 MB, free: 4.133 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.1546, allocations: 32.39 kB / 419.3 MB, free: 4.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009875/0.1556, allocations: 361.7 kB / 419.6 MB, free: 3.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.1559, allocations: 0.7127 MB / 420.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.108e-05/0.156, allocations: 15.42 kB / 420.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.156, allocations: 7.938 kB / 420.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of Templates: time 0.004913/0.1609, allocations: 1.774 MB / 422.1 MB, free: 1.191 MB / 346.7 MB