Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.274e-05, allocations: 4 kB / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09305, allocations: 50.42 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4756/0.5687, allocations: 76.26 MB / 418.8 MB, free: 1.879 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.569, allocations: 75.55 kB / 418.9 MB, free: 1.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002234/0.5713, allocations: 0.7023 MB / 419.6 MB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.332e-06/0.5713, allocations: 0 / 419.6 MB, free: 1.188 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.5714, allocations: 0 / 419.6 MB, free: 1.188 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.0004499/0.5718, allocations: 322.3 kB / 419.9 MB, free: 0.832 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.5719, allocations: 12.02 kB / 419.9 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.5719, allocations: 15.86 kB / 419.9 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.5721, allocations: 163.1 kB / 420.1 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.5722, allocations: 10.77 kB / 420.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.5722, allocations: 4 kB / 420.1 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.5725, allocations: 86.97 kB / 420.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.905e-06/0.5725, allocations: 1.188 kB / 420.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.762e-06/0.5725, allocations: 4 kB / 420.2 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.021e-06/0.5725, allocations: 3.953 kB / 420.2 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/0.5726, allocations: 11.75 kB / 420.2 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.5728, allocations: 157.5 kB / 420.4 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.5729, allocations: 34.33 kB / 420.4 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.573, allocations: 20.7 kB / 420.4 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.573, allocations: 3.984 kB / 420.4 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.5731, allocations: 34.56 kB / 420.5 MB, free: 200 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.86e-06/0.5731, allocations: 0 / 420.5 MB, free: 200 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001673/0.5732, allocations: 61.36 kB / 420.5 MB, free: 140 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.5733, allocations: 55.41 kB / 420.6 MB, free: 72 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.5734, allocations: 105.7 kB / 420.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.5735, allocations: 29.7 kB / 420.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.5735, allocations: 83.89 kB / 420.8 MB, free: 15.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.737e-06/0.5736, allocations: 0 / 420.8 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-06/0.5736, allocations: 4 kB / 420.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5737, allocations: 314.8 kB / 421.1 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.5738, allocations: 3.875 kB / 421.1 MB, free: 15.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.5738, allocations: 27.42 kB / 421.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.037e-05/0.5739, allocations: 11.94 kB / 421.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-06/0.5739, allocations: 0 / 421.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001191/0.574, allocations: 53.19 kB / 421.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.574, allocations: 11.94 kB / 421.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.067e-06/0.5741, allocations: 0 / 421.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.5741, allocations: 0 / 421.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.464e-05/0.5742, allocations: 8 kB / 421.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.784e-06/0.5742, allocations: 0 / 421.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.5742, allocations: 7.812 kB / 421.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.5742, allocations: 11.95 kB / 421.2 MB, free: 15.39 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.276e-05/0.5743, allocations: 101 kB / 421.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/0.5744, allocations: 53.41 kB / 421.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.857e-05/0.5745, allocations: 15.91 kB / 421.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-06/0.5745, allocations: 0 / 421.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.013e-06/0.5745, allocations: 0 / 421.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.253e-06/0.5745, allocations: 0 / 421.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.5747, allocations: 161.4 kB / 421.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5747, allocations: 0 / 421.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.038e-05/0.5748, allocations: 12 kB / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.313e-06/0.5748, allocations: 0 / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-06/0.5748, allocations: 0 / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.442e-06/0.5749, allocations: 4 kB / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.885e-06/0.5749, allocations: 0 / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.575, allocations: 72.77 kB / 421.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.5751, allocations: 89 kB / 421.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.5751, allocations: 0 / 421.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.452e-05/0.5752, allocations: 8 kB / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-06/0.5752, allocations: 0 / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-06/0.5752, allocations: 0 / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.677e-05/0.5753, allocations: 87.16 kB / 421.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.5753, allocations: 0 / 421.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.5756, allocations: 4 kB / 421.8 MB, free: 14.71 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.000138/0.5757, allocations: 107.9 kB / 421.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.953e-05/0.5758, allocations: 19.81 kB / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.872e-06/0.5758, allocations: 0 / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.5759, allocations: 0 / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.5761, allocations: 31.55 kB / 422 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002035/0.5763, allocations: 68.3 kB / 422.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.5766, allocations: 0.6809 MB / 422.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.89e-05/0.5767, allocations: 3.984 kB / 422.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.5767, allocations: 7.688 kB / 422.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of SimCode: time 2.371e-06/0.5767, allocations: 8 kB / 422.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of Templates: time 0.002537/0.5793, allocations: 282.9 kB / 423 MB, free: 13.48 MB / 346.7 MB