Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.099e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 50.42 MB / 345 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.00215/0.1161, allocations: 1.167 MB / 346.2 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002409/0.1164, allocations: 36.12 kB / 346.2 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.1165, allocations: 0 / 346.2 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.1166, allocations: 0 / 346.2 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.1166, allocations: 7.938 kB / 346.2 MB, free: 7.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.1169, allocations: 23.89 kB / 346.2 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.14e-05/0.117, allocations: 15.98 kB / 346.2 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.285e-05/0.1171, allocations: 11.98 kB / 346.2 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.1171, allocations: 11.92 kB / 346.3 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.1172, allocations: 15.98 kB / 346.3 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.842e-05/0.1173, allocations: 4 kB / 346.3 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1173, allocations: 0 / 346.3 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.1173, allocations: 11.94 kB / 346.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.1174, allocations: 0 / 346.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.44e-05/0.1174, allocations: 15.95 kB / 346.3 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1175, allocations: 0 / 346.3 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1175, allocations: 4 kB / 346.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1175, allocations: 0 / 346.3 MB, free: 7.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006216/0.1181, allocations: 339.4 kB / 346.6 MB, free: 7.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.1182, allocations: 16.03 kB / 346.7 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.1182, allocations: 7.859 kB / 346.7 MB, free: 7.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1185, allocations: 179.3 kB / 346.8 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.1185, allocations: 7.984 kB / 346.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.1186, allocations: 7.938 kB / 346.9 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009042/0.1195, allocations: 163.2 kB / 347 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1195, allocations: 7.922 kB / 347 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1195, allocations: 4 kB / 347 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.1195, allocations: 4 kB / 347 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.12, allocations: 51.89 kB / 347.1 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.1202, allocations: 165.6 kB / 347.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.1208, allocations: 86.45 kB / 347.3 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.1208, allocations: 8.156 kB / 347.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1209, allocations: 34.56 kB / 347.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 3.246e-06/0.1209, allocations: 0 / 347.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0008336/0.1217, allocations: 113.6 kB / 347.5 MB, free: 6.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.1218, allocations: 59.41 kB / 347.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1219, allocations: 100.9 kB / 347.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.122, allocations: 29.7 kB / 347.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.1221, allocations: 154.6 kB / 347.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.1221, allocations: 0 / 347.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.1221, allocations: 0 / 347.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1223, allocations: 322.8 kB / 348.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.1223, allocations: 7.984 kB / 348.1 MB, free: 5.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.183e-05/0.1224, allocations: 27.44 kB / 348.2 MB, free: 5.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.1224, allocations: 8 kB / 348.2 MB, free: 5.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1224, allocations: 0 / 348.2 MB, free: 5.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001485/0.1226, allocations: 69.47 kB / 348.2 MB, free: 5.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1226, allocations: 4 kB / 348.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1226, allocations: 4 kB / 348.2 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1227, allocations: 0 / 348.2 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.1228, allocations: 8.125 kB / 348.3 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1228, allocations: 0 / 348.3 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.1228, allocations: 11.98 kB / 348.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1228, allocations: 3.938 kB / 348.3 MB, free: 5.398 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: 2 (ramp.counter,$CLKPRE.ramp.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001174/0.123, allocations: 121.9 kB / 348.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005094/0.1235, allocations: 89.58 kB / 348.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.1235, allocations: 7.906 kB / 348.5 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1235, allocations: 0 / 348.5 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.1236, allocations: 3.984 kB / 348.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1236, allocations: 4 kB / 348.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.1237, allocations: 161.6 kB / 348.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1237, allocations: 0 / 348.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.1239, allocations: 11.98 kB / 348.7 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1239, allocations: 4 kB / 348.7 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.124, allocations: 4 kB / 348.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.124, allocations: 0 / 348.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.124, allocations: 0 / 348.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/0.1245, allocations: 129.1 kB / 348.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.1246, allocations: 77.16 kB / 348.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.1247, allocations: 3.984 kB / 348.9 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.1248, allocations: 19.92 kB / 348.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-06/0.1248, allocations: 0 / 348.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1248, allocations: 4 kB / 348.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.129e-05/0.1249, allocations: 83.27 kB / 349 MB, free: 4.582 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1249, allocations: 4 kB / 349 MB, free: 4.578 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00025/0.1252, allocations: 8 kB / 349 MB, free: 4.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (ramp.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001821/0.1254, allocations: 99.25 kB / 349.1 MB, free: 4.465 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.1257, allocations: 43.89 kB / 349.1 MB, free: 4.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1257, allocations: 256 / 349.1 MB, free: 4.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.1257, allocations: 4 kB / 349.1 MB, free: 4.418 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.1262, allocations: 47.95 kB / 349.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.1268, allocations: 166.3 kB / 349.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.1272, allocations: 0.6848 MB / 350 MB, free: 3.461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.1273, allocations: 11.44 kB / 350 MB, free: 3.449 MB / 282.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1273, allocations: 0 / 350 MB, free: 3.449 MB / 282.7 MB Notification: Performance of Templates: time 0.002797/0.1301, allocations: 0.6772 MB / 350.7 MB, free: 2.781 MB / 282.7 MB