Running command: translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadModel(Modelica): time 2.211/2.211, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.517e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 50.41 MB / 345 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002188/0.1109, allocations: 1.343 MB / 346.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009128/0.1118, allocations: 395.6 kB / 346.7 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.788e-05/0.1119, allocations: 4 kB / 346.7 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.112, allocations: 7.922 kB / 346.7 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.1121, allocations: 19.92 kB / 346.7 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.1123, allocations: 39.94 kB / 346.8 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1125, allocations: 71.8 kB / 346.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.1126, allocations: 15.98 kB / 346.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/0.1127, allocations: 31.91 kB / 346.9 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.187e-05/0.1128, allocations: 31.84 kB / 346.9 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.313e-05/0.1128, allocations: 4 kB / 346.9 MB, free: 7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.1129, allocations: 4 kB / 346.9 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.1129, allocations: 23.91 kB / 346.9 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.1129, allocations: 4 kB / 346.9 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1131, allocations: 64.09 kB / 347 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1131, allocations: 0 / 347 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1131, allocations: 0 / 347 MB, free: 6.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1131, allocations: 0 / 347 MB, free: 6.906 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006288/0.1137, allocations: 407.1 kB / 347.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1138, allocations: 12.02 kB / 347.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.1139, allocations: 15.86 kB / 347.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.1141, allocations: 203.4 kB / 347.6 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.1142, allocations: 4 kB / 347.6 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.1142, allocations: 15.91 kB / 347.7 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.1147, allocations: 148.1 kB / 347.8 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1147, allocations: 3.938 kB / 347.8 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.1147, allocations: 7.984 kB / 347.8 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1148, allocations: 0 / 347.8 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.1151, allocations: 83.89 kB / 347.9 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009141/0.1161, allocations: 0.5516 MB / 348.4 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.1167, allocations: 150.5 kB / 348.6 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1167, allocations: 8.188 kB / 348.6 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1168, allocations: 38.5 kB / 348.6 MB, free: 5.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.1168, allocations: 0 / 348.6 MB, free: 5.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.001803/0.1186, allocations: 0.5603 MB / 349.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.1187, allocations: 59.34 kB / 349.3 MB, free: 4.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1188, allocations: 143.6 kB / 349.4 MB, free: 4.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1189, allocations: 29.7 kB / 349.4 MB, free: 4.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.119, allocations: 174.3 kB / 349.6 MB, free: 4.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.119, allocations: 47.34 kB / 349.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.119, allocations: 0 / 349.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1192, allocations: 322.8 kB / 350 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.1195, allocations: 63.95 kB / 350 MB, free: 3.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.1198, allocations: 83.39 kB / 350.1 MB, free: 3.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1201, allocations: 67.91 kB / 350.2 MB, free: 3.473 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1201, allocations: 4 kB / 350.2 MB, free: 3.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006772/0.1208, allocations: 189.5 kB / 350.4 MB, free: 3.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1208, allocations: 12 kB / 350.4 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1208, allocations: 0 / 350.4 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1208, allocations: 0 / 350.4 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.1212, allocations: 47.97 kB / 350.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1212, allocations: 0 / 350.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.1213, allocations: 19.98 kB / 350.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.1214, allocations: 7.953 kB / 350.4 MB, free: 3.191 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001179/0.1215, allocations: 121.8 kB / 350.6 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.1216, allocations: 15.89 kB / 350.6 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.1216, allocations: 16.72 kB / 350.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1216, allocations: 0 / 350.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1216, allocations: 0 / 350.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1217, allocations: 0 / 350.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.1229, allocations: 0.5242 MB / 351.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.123, allocations: 4 kB / 351.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.1233, allocations: 43.97 kB / 351.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1233, allocations: 0 / 351.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.1233, allocations: 8 kB / 351.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.1233, allocations: 3.953 kB / 351.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1234, allocations: 0 / 351.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1244, allocations: 376.4 kB / 351.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.1244, allocations: 88.97 kB / 351.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.1245, allocations: 8 kB / 351.6 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.1247, allocations: 20.03 kB / 351.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.1248, allocations: 15.92 kB / 351.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1248, allocations: 4 kB / 351.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1249, allocations: 113.3 kB / 351.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1249, allocations: 0 / 351.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.1253, allocations: 20 kB / 351.8 MB, free: 1.703 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001471/0.1254, allocations: 103.2 kB / 351.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006412/0.1261, allocations: 144 kB / 352 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.1261, allocations: 0 / 352 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.1264, allocations: 79.84 kB / 352.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.1269, allocations: 41.73 kB / 352.2 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/0.1278, allocations: 403.3 kB / 352.6 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1282, allocations: 0.7242 MB / 353.3 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.1282, allocations: 15.44 kB / 353.3 MB, free: 140 kB / 282.7 MB Notification: Performance of SimCode: time 3.276e-06/0.1283, allocations: 0 / 353.3 MB, free: 140 kB / 282.7 MB Notification: Performance of Templates: time 0.004567/0.1328, allocations: 1.626 MB / 354.9 MB, free: 14.51 MB / 298.7 MB