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 1.954/1.954, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.636e-05, allocations: 4 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09125, allocations: 50.42 MB / 342.6 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3765/0.4678, allocations: 76.3 MB / 418.8 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.4681, allocations: 78.19 kB / 418.9 MB, free: 1.699 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002992/0.4711, allocations: 0.8557 MB / 419.8 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.02e-06/0.4711, allocations: 0 / 419.8 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.4712, allocations: 0 / 419.8 MB, free: 0.9219 MB / 330.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.0004356/0.4716, allocations: 334.4 kB / 420.1 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4717, allocations: 16.02 kB / 420.1 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.4717, allocations: 11.86 kB / 420.1 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.4719, allocations: 179 kB / 420.3 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.472, allocations: 4 kB / 420.3 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.472, allocations: 7.875 kB / 420.3 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.4723, allocations: 102.3 kB / 420.4 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.851e-06/0.4723, allocations: 4 kB / 420.4 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4723, allocations: 0 / 420.4 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4723, allocations: 0 / 420.4 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.005e-05/0.4724, allocations: 19.81 kB / 420.4 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.4726, allocations: 161.5 kB / 420.6 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.4728, allocations: 50.36 kB / 420.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/0.4729, allocations: 16.67 kB / 420.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.4729, allocations: 4.125 kB / 420.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.4729, allocations: 42.5 kB / 420.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.206e-06/0.4729, allocations: 0 / 420.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000167/0.4731, allocations: 49.28 kB / 420.8 MB, free: 15.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.4732, allocations: 63.09 kB / 420.8 MB, free: 15.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.4733, allocations: 97.11 kB / 420.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.4733, allocations: 25.7 kB / 420.9 MB, free: 15.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.4734, allocations: 150.6 kB / 421.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.4735, allocations: 7.984 kB / 421.1 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-06/0.4735, allocations: 7.938 kB / 421.1 MB, free: 15.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4736, allocations: 314.8 kB / 421.4 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.4737, allocations: 4 kB / 421.4 MB, free: 15.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-05/0.4737, allocations: 27.12 kB / 421.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.4738, allocations: 11.88 kB / 421.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4738, allocations: 0 / 421.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001223/0.4739, allocations: 57.56 kB / 421.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.474, allocations: 4 kB / 421.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.474, allocations: 0 / 421.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.474, allocations: 4 kB / 421.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.4741, allocations: 19.86 kB / 421.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.186e-06/0.4741, allocations: 0 / 421.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.4741, allocations: 8.031 kB / 421.5 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.871e-06/0.4742, allocations: 4 kB / 421.5 MB, free: 15.01 MB / 346.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 9.033e-05/0.4743, allocations: 112.6 kB / 421.7 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.4744, allocations: 49.44 kB / 421.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.4744, allocations: 7.906 kB / 421.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.347e-06/0.4744, allocations: 4 kB / 421.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.722e-06/0.4744, allocations: 0 / 421.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.4745, allocations: 3.938 kB / 421.7 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.4746, allocations: 161.4 kB / 421.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-06/0.4746, allocations: 4 kB / 421.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.4748, allocations: 28.03 kB / 421.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.414e-06/0.4748, allocations: 96 / 421.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.4748, allocations: 7.734 kB / 421.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.291e-06/0.4748, allocations: 0 / 421.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.851e-06/0.4748, allocations: 320 / 421.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.475, allocations: 84.61 kB / 422 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.4751, allocations: 81.09 kB / 422.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.4751, allocations: 0 / 422.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.4752, allocations: 15.98 kB / 422.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-06/0.4752, allocations: 0 / 422.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.4752, allocations: 3.938 kB / 422.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.542e-05/0.4753, allocations: 87.27 kB / 422.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.4753, allocations: 0 / 422.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.4756, allocations: 7.875 kB / 422.2 MB, free: 14.3 MB / 346.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.0001338/0.4757, allocations: 99.25 kB / 422.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.4759, allocations: 31.8 kB / 422.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.8e-06/0.4759, allocations: 0 / 422.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.288e-06/0.4759, allocations: 0 / 422.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.4761, allocations: 29.92 kB / 422.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.4764, allocations: 102.4 kB / 422.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.4768, allocations: 0.6809 MB / 423.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.466e-05/0.4769, allocations: 19.36 kB / 423.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of SimCode: time 1.368e-06/0.4769, allocations: 0 / 423.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of Templates: time 0.002269/0.4792, allocations: 0.6629 MB / 423.8 MB, free: 12.64 MB / 346.7 MB