Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadModel(Modelica): time 2.234/2.234, allocations: 225.8 MB / 239.4 MB, free: 1.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.197e-05, allocations: 0 / 292.7 MB, free: 11.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.09381, allocations: 50.42 MB / 343.1 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.4657, allocations: 76.02 MB / 419.1 MB, free: 8.324 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.466, allocations: 75.42 kB / 419.2 MB, free: 8.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001961/0.468, allocations: 0.7112 MB / 419.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.468, allocations: 0 / 419.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.4681, allocations: 0 / 419.9 MB, free: 7.988 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.0002542/0.4683, allocations: 323.4 kB / 420.2 MB, free: 7.648 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4684, allocations: 11.53 kB / 420.2 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.4684, allocations: 7.859 kB / 420.2 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.4686, allocations: 176.8 kB / 420.4 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4686, allocations: 2.844 kB / 420.4 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.4686, allocations: 0 / 420.4 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.4688, allocations: 93.48 kB / 420.5 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4689, allocations: 0 / 420.5 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-06/0.4689, allocations: 0 / 420.5 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-06/0.4689, allocations: 7.953 kB / 420.5 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.286e-05/0.469, allocations: 18.23 kB / 420.5 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/0.4691, allocations: 154.8 kB / 420.7 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/0.4692, allocations: 37.88 kB / 420.7 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.4692, allocations: 19.55 kB / 420.7 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.4693, allocations: 0 / 420.7 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.4693, allocations: 34.56 kB / 420.7 MB, free: 7.113 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.99e-06/0.4693, allocations: 3.812 kB / 420.7 MB, free: 7.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001361/0.4695, allocations: 51.66 kB / 420.8 MB, free: 7.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.4695, allocations: 55.28 kB / 420.9 MB, free: 7.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.4696, allocations: 103.9 kB / 421 MB, free: 6.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.403e-06/0.4696, allocations: 25.7 kB / 421 MB, free: 6.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.238e-05/0.4696, allocations: 83.27 kB / 421.1 MB, free: 6.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.191e-06/0.4696, allocations: 3.875 kB / 421.1 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-06/0.4696, allocations: 2.625 kB / 421.1 MB, free: 6.801 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.4697, allocations: 316.9 kB / 421.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.4697, allocations: 6.688 kB / 421.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.4698, allocations: 29.28 kB / 421.4 MB, free: 6.449 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.4698, allocations: 6.906 kB / 421.4 MB, free: 6.449 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.542e-06/0.4698, allocations: 4 kB / 421.4 MB, free: 6.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.42e-05/0.4699, allocations: 50.45 kB / 421.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4699, allocations: 10.41 kB / 421.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.026e-06/0.47, allocations: 3.812 kB / 421.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.47, allocations: 3.938 kB / 421.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.4701, allocations: 7.75 kB / 421.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.674e-06/0.4701, allocations: 3.984 kB / 421.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.4701, allocations: 3.938 kB / 421.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.4701, allocations: 7.891 kB / 421.5 MB, free: 6.391 MB / 330.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 4.59e-05/0.4702, allocations: 108.5 kB / 421.6 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.4703, allocations: 50.94 kB / 421.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.4703, allocations: 10.58 kB / 421.7 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4703, allocations: 192 / 421.7 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.788e-06/0.4703, allocations: 0 / 421.7 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.109e-06/0.4704, allocations: 3.984 kB / 421.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.472e-05/0.4704, allocations: 161.9 kB / 421.8 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-06/0.4704, allocations: 0 / 421.8 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.107e-05/0.4705, allocations: 10.41 kB / 421.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.353e-06/0.4706, allocations: 7.969 kB / 421.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-06/0.4706, allocations: 0 / 421.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.4706, allocations: 0 / 421.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.876e-06/0.4706, allocations: 0 / 421.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.735e-05/0.4707, allocations: 76.14 kB / 421.9 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.4707, allocations: 81.02 kB / 422 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.4708, allocations: 3.438 kB / 422 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.225e-05/0.4708, allocations: 11.81 kB / 422 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-06/0.4708, allocations: 0 / 422 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-06/0.4708, allocations: 0 / 422 MB, free: 5.867 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.284e-05/0.4709, allocations: 88.89 kB / 422.1 MB, free: 5.793 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.96e-07/0.4709, allocations: 0 / 422.1 MB, free: 5.793 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.4712, allocations: 3.969 kB / 422.1 MB, free: 5.793 MB / 330.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 9.324e-05/0.4713, allocations: 102.4 kB / 422.2 MB, free: 5.699 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.498e-05/0.4714, allocations: 14.75 kB / 422.2 MB, free: 5.699 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.841e-06/0.4714, allocations: 4.062 kB / 422.2 MB, free: 5.695 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.14e-06/0.4714, allocations: 2.719 kB / 422.2 MB, free: 5.695 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.4716, allocations: 19.45 kB / 422.3 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.4718, allocations: 73.66 kB / 422.3 MB, free: 5.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.4719, allocations: 0.6859 MB / 423 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.4719, allocations: 2.906 kB / 423 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.4719, allocations: 11.31 kB / 423 MB, free: 4.914 MB / 330.7 MB Notification: Performance of SimCode: time 1.495e-06/0.472, allocations: 4 kB / 423 MB, free: 4.91 MB / 330.7 MB Notification: Performance of Templates: time 0.0024/0.4744, allocations: 280.6 kB / 423.3 MB, free: 4.871 MB / 330.7 MB