Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadModel(Modelica): time 2.203/2.203, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.112e-05, allocations: 6.812 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09173, allocations: 50.41 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3913/0.483, allocations: 76.25 MB / 419.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004002/0.4835, allocations: 70.77 kB / 419.4 MB, free: 1.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005182/0.4887, allocations: 0.8505 MB / 420.3 MB, free: 1.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.852e-06/0.4888, allocations: 4 kB / 420.3 MB, free: 1.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.4888, allocations: 0 / 420.3 MB, free: 1.094 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.0007226/0.4896, allocations: 333.9 kB / 420.6 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/0.4897, allocations: 16.03 kB / 420.6 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.4898, allocations: 7.859 kB / 420.6 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.4901, allocations: 178.5 kB / 420.8 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.4902, allocations: 3.688 kB / 420.8 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.4902, allocations: 4 kB / 420.8 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.4907, allocations: 97.08 kB / 420.9 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4907, allocations: 0 / 420.9 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.4908, allocations: 7.984 kB / 420.9 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4908, allocations: 0 / 420.9 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.491, allocations: 22.33 kB / 420.9 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.4913, allocations: 161.5 kB / 421.1 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.4916, allocations: 49.19 kB / 421.1 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.4917, allocations: 23.33 kB / 421.1 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4917, allocations: 0 / 421.1 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.4918, allocations: 34.56 kB / 421.2 MB, free: 64 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.297e-06/0.4918, allocations: 0 / 421.2 MB, free: 64 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003062/0.4921, allocations: 55.67 kB / 421.2 MB, free: 8 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.4923, allocations: 58.16 kB / 421.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.4925, allocations: 99.98 kB / 421.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.4925, allocations: 25.7 kB / 421.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.4926, allocations: 87.27 kB / 421.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.4927, allocations: 0 / 421.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-06/0.4927, allocations: 7.938 kB / 421.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000242/0.493, allocations: 321.9 kB / 421.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-05/0.493, allocations: 7.625 kB / 421.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.4931, allocations: 24.06 kB / 421.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.383e-05/0.4932, allocations: 15.5 kB / 421.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.714e-06/0.4932, allocations: 0 / 421.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002352/0.4935, allocations: 60.78 kB / 421.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.4935, allocations: 4 kB / 421.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.848e-06/0.4935, allocations: 0 / 421.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.4936, allocations: 4 kB / 421.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.4937, allocations: 7.938 kB / 421.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.4937, allocations: 4 kB / 421.9 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.829e-05/0.4938, allocations: 4.125 kB / 421.9 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.4939, allocations: 11.56 kB / 422 MB, free: 15.25 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 0.0001491/0.494, allocations: 115.3 kB / 422.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.4943, allocations: 56.03 kB / 422.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.4943, allocations: 6.969 kB / 422.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.948e-06/0.4944, allocations: 0 / 422.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.4944, allocations: 0 / 422.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.254e-06/0.4944, allocations: 7.938 kB / 422.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.4947, allocations: 164.4 kB / 422.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-06/0.4947, allocations: 3.938 kB / 422.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.495, allocations: 11.98 kB / 422.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.638e-06/0.495, allocations: 8 kB / 422.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.495, allocations: 3.984 kB / 422.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.4951, allocations: 0 / 422.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.711e-06/0.4951, allocations: 0 / 422.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.4954, allocations: 82.67 kB / 422.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/0.4955, allocations: 81.11 kB / 422.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.4955, allocations: 0 / 422.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.4957, allocations: 7.984 kB / 422.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-06/0.4958, allocations: 8 kB / 422.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.4958, allocations: 3.984 kB / 422.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.4959, allocations: 83.52 kB / 422.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.175e-06/0.4959, allocations: 0 / 422.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005849/0.4965, allocations: 8 kB / 422.6 MB, free: 14.54 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.0002246/0.4968, allocations: 106.6 kB / 422.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.497, allocations: 15.38 kB / 422.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.811e-06/0.497, allocations: 4.25 kB / 422.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.07e-06/0.497, allocations: 3.984 kB / 422.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.4975, allocations: 42.47 kB / 422.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.498, allocations: 71.84 kB / 422.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.4986, allocations: 0.6848 MB / 423.5 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.686e-05/0.4986, allocations: 3.938 kB / 423.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.4987, allocations: 15.42 kB / 423.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of SimCode: time 2.169e-06/0.4987, allocations: 4 kB / 423.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of Templates: time 0.004937/0.5037, allocations: 471.3 kB / 424 MB, free: 13.11 MB / 346.7 MB