Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.505e-05, allocations: 4 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08874/0.08878, allocations: 50.42 MB / 342.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3512/0.44, allocations: 76.72 MB / 419.3 MB, free: 1.387 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.4403, allocations: 80.05 kB / 419.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00376/0.4441, allocations: 1.024 MB / 420.4 MB, free: 436 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.107e-06/0.4441, allocations: 0 / 420.4 MB, free: 436 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4442, allocations: 0 / 420.4 MB, free: 436 kB / 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.0003921/0.4446, allocations: 338.5 kB / 420.7 MB, free: 56 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4446, allocations: 12.03 kB / 420.7 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.4447, allocations: 10.7 kB / 420.7 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.4449, allocations: 179.1 kB / 420.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.4449, allocations: 7.938 kB / 420.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.445, allocations: 0 / 420.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.4452, allocations: 102.5 kB / 421 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.348e-06/0.4453, allocations: 0 / 421 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.4453, allocations: 0 / 421 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-06/0.4453, allocations: 4 kB / 421 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.767e-05/0.4454, allocations: 15.77 kB / 421 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.4456, allocations: 161.2 kB / 421.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.4457, allocations: 50.06 kB / 421.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/0.4458, allocations: 24.83 kB / 421.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4458, allocations: 0 / 421.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.4458, allocations: 34.5 kB / 421.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.828e-06/0.4459, allocations: 0 / 421.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001591/0.446, allocations: 53.75 kB / 421.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.4461, allocations: 51.41 kB / 421.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.4462, allocations: 96.88 kB / 421.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.4462, allocations: 29.7 kB / 421.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.4463, allocations: 154.4 kB / 421.7 MB, free: 15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/0.4463, allocations: 4 kB / 421.7 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-06/0.4463, allocations: 0 / 421.7 MB, free: 14.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4465, allocations: 322.7 kB / 422 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.4465, allocations: 7.75 kB / 422 MB, free: 14.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.4466, allocations: 23.44 kB / 422 MB, free: 14.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.032e-05/0.4466, allocations: 11.69 kB / 422 MB, free: 14.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.741e-06/0.4466, allocations: 3.938 kB / 422 MB, free: 14.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001037/0.4468, allocations: 45.62 kB / 422.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4468, allocations: 11.94 kB / 422.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.625e-06/0.4468, allocations: 0.875 kB / 422.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4468, allocations: 128 / 422.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.4469, allocations: 12 kB / 422.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.376e-06/0.4469, allocations: 0.5469 kB / 422.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.447, allocations: 7.625 kB / 422.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.447, allocations: 7.922 kB / 422.1 MB, free: 14.53 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.375e-05/0.4471, allocations: 108.9 kB / 422.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4472, allocations: 49.48 kB / 422.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.4472, allocations: 12.02 kB / 422.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.536e-06/0.4472, allocations: 4 kB / 422.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.673e-06/0.4473, allocations: 0 / 422.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4473, allocations: 4 kB / 422.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.4474, allocations: 165.4 kB / 422.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-06/0.4474, allocations: 0 / 422.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.4476, allocations: 12 kB / 422.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.322e-06/0.4476, allocations: 0 / 422.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4476, allocations: 3.984 kB / 422.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4476, allocations: 0 / 422.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-06/0.4476, allocations: 0 / 422.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.4478, allocations: 88.52 kB / 422.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.4478, allocations: 81.02 kB / 422.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.4479, allocations: 0 / 422.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.448, allocations: 11.98 kB / 422.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-06/0.448, allocations: 0 / 422.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-06/0.448, allocations: 3.938 kB / 422.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.292e-05/0.4481, allocations: 87.58 kB / 422.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.4481, allocations: 0 / 422.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.4483, allocations: 8 kB / 422.8 MB, free: 13.83 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: 0 () * 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.0001243/0.4485, allocations: 103.1 kB / 422.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.166e-05/0.4486, allocations: 19.81 kB / 422.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.261e-06/0.4486, allocations: 0 / 422.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.235e-06/0.4486, allocations: 0 / 422.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.4489, allocations: 31.59 kB / 422.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.4491, allocations: 102.6 kB / 423 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.4494, allocations: 0.6848 MB / 423.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.4495, allocations: 7.438 kB / 423.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.35e-06/0.4495, allocations: 0 / 423.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of Templates: time 0.00204/0.4516, allocations: 0.584 MB / 424.3 MB, free: 12.27 MB / 346.7 MB