Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadModel(Modelica): time 2.078/2.078, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.638e-05, allocations: 8 kB / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09304, allocations: 50.4 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3668/0.4599, allocations: 76.67 MB / 419.2 MB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.4602, allocations: 77.06 kB / 419.3 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003958/0.4642, allocations: 1.024 MB / 420.3 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.799e-06/0.4642, allocations: 0 / 420.3 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.4643, allocations: 4 kB / 420.3 MB, free: 0.5312 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.0004325/0.4647, allocations: 337.3 kB / 420.7 MB, free: 168 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4648, allocations: 8.031 kB / 420.7 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.4648, allocations: 14.7 kB / 420.7 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.4651, allocations: 174.8 kB / 420.9 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4651, allocations: 3.938 kB / 420.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.4651, allocations: 8 kB / 420.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.4654, allocations: 96.83 kB / 421 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.4655, allocations: 0 / 421 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.4655, allocations: 0 / 421 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-06/0.4655, allocations: 0 / 421 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.454e-05/0.4656, allocations: 18.39 kB / 421 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.4658, allocations: 165.3 kB / 421.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.4659, allocations: 52.53 kB / 421.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/0.466, allocations: 23.98 kB / 421.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.466, allocations: 0 / 421.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.4661, allocations: 34.56 kB / 421.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.4661, allocations: 0 / 421.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001799/0.4663, allocations: 48.81 kB / 421.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.4664, allocations: 59.41 kB / 421.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4665, allocations: 96.44 kB / 421.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.4665, allocations: 25.7 kB / 421.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.4666, allocations: 83.27 kB / 421.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.082e-06/0.4666, allocations: 3.938 kB / 421.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.4666, allocations: 3.375 kB / 421.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.4668, allocations: 326.7 kB / 421.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.4668, allocations: 0 / 421.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.4669, allocations: 31.38 kB / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.4669, allocations: 4 kB / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.872e-06/0.4669, allocations: 7.938 kB / 421.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001193/0.4671, allocations: 49.69 kB / 422 MB, free: 14.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4671, allocations: 12 kB / 422 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.852e-06/0.4671, allocations: 0 / 422 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4671, allocations: 0 / 422 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.4672, allocations: 12.86 kB / 422 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.39e-06/0.4672, allocations: 0 / 422 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/0.4673, allocations: 7.906 kB / 422 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-06/0.4673, allocations: 3.938 kB / 422 MB, free: 14.71 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 9.661e-05/0.4674, allocations: 112.6 kB / 422.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4675, allocations: 45.44 kB / 422.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.4676, allocations: 15.72 kB / 422.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.608e-06/0.4676, allocations: 0 / 422.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.81e-06/0.4676, allocations: 4 kB / 422.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.464e-06/0.4676, allocations: 0 / 422.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.4678, allocations: 163.9 kB / 422.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-06/0.4678, allocations: 0 / 422.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.4679, allocations: 15.98 kB / 422.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.458e-06/0.468, allocations: 0 / 422.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.468, allocations: 0 / 422.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.339e-06/0.468, allocations: 4 kB / 422.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.035e-06/0.468, allocations: 0 / 422.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.4682, allocations: 87.36 kB / 422.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.4682, allocations: 80.61 kB / 422.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.4683, allocations: 0 / 422.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.4683, allocations: 11.98 kB / 422.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-06/0.4684, allocations: 0 / 422.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.4684, allocations: 4 kB / 422.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.265e-05/0.4685, allocations: 91 kB / 422.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.4685, allocations: 0 / 422.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002654/0.4688, allocations: 4 kB / 422.6 MB, free: 14.01 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.0001445/0.4689, allocations: 99.48 kB / 422.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.469, allocations: 26.98 kB / 422.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.09e-06/0.469, allocations: 0 / 422.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.63e-06/0.4691, allocations: 256 / 422.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.4693, allocations: 35.33 kB / 422.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.4696, allocations: 70.16 kB / 422.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.47, allocations: 0.6956 MB / 423.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.096e-05/0.47, allocations: 0 / 423.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.47, allocations: 7.438 kB / 423.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.625e-06/0.47, allocations: 0 / 423.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of Templates: time 0.002842/0.4729, allocations: 376.4 kB / 423.9 MB, free: 12.69 MB / 346.7 MB