Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadModel(Modelica): time 2.155/2.155, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.56e-05, allocations: 4 kB / 292.1 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0959/0.09596, allocations: 50.41 MB / 342.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4078/0.5038, allocations: 76.22 MB / 418.8 MB, free: 1.938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.5041, allocations: 70.27 kB / 418.9 MB, free: 1.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00273/0.5068, allocations: 0.7854 MB / 419.6 MB, free: 1.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.456e-06/0.5069, allocations: 6.828 kB / 419.6 MB, free: 1.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.5069, allocations: 0 / 419.6 MB, free: 1.18 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.0003883/0.5073, allocations: 322.4 kB / 420 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5074, allocations: 12.03 kB / 420 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.5074, allocations: 7.859 kB / 420 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.5077, allocations: 175 kB / 420.1 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.5077, allocations: 4 kB / 420.2 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.5077, allocations: 0 / 420.2 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.508, allocations: 98.14 kB / 420.2 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.63e-06/0.508, allocations: 0 / 420.2 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.508, allocations: 0 / 420.2 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5081, allocations: 0 / 420.2 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.257e-05/0.5081, allocations: 15.89 kB / 420.3 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.5083, allocations: 161.3 kB / 420.4 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.5085, allocations: 33.83 kB / 420.5 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.089e-05/0.5085, allocations: 28.33 kB / 420.5 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.5086, allocations: 3.984 kB / 420.5 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.5086, allocations: 38.44 kB / 420.5 MB, free: 180 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.728e-06/0.5086, allocations: 0 / 420.5 MB, free: 180 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001664/0.5088, allocations: 53.28 kB / 420.6 MB, free: 124 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.5089, allocations: 59.41 kB / 420.6 MB, free: 52 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.509, allocations: 97.31 kB / 420.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.509, allocations: 29.58 kB / 420.8 MB, free: 15.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.5091, allocations: 80.14 kB / 420.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.5091, allocations: 0 / 420.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-06/0.5091, allocations: 3.875 kB / 420.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5093, allocations: 322.8 kB / 421.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.5094, allocations: 4 kB / 421.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.5094, allocations: 35.06 kB / 421.2 MB, free: 15.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.772e-05/0.5095, allocations: 11.88 kB / 421.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5095, allocations: 0 / 421.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001302/0.5096, allocations: 61.44 kB / 421.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5096, allocations: 4 kB / 421.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.953e-06/0.5097, allocations: 0 / 421.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.5097, allocations: 4 kB / 421.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.5098, allocations: 11.98 kB / 421.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.168e-06/0.5098, allocations: 0 / 421.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.5098, allocations: 3.906 kB / 421.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.5099, allocations: 4 kB / 421.3 MB, free: 15.37 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 (step.counter,$CLKPRE.step.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 9.538e-05/0.51, allocations: 113.5 kB / 421.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.5101, allocations: 57.5 kB / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.5101, allocations: 7.906 kB / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5101, allocations: 0 / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.122e-06/0.5102, allocations: 0 / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.25e-06/0.5102, allocations: 0 / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.5103, allocations: 161.4 kB / 421.6 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-06/0.5103, allocations: 0 / 421.6 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.356e-05/0.5104, allocations: 8 kB / 421.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.684e-06/0.5105, allocations: 4 kB / 421.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.638e-06/0.5105, allocations: 3.938 kB / 421.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.666e-06/0.5105, allocations: 0 / 421.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5105, allocations: 4 kB / 421.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.5107, allocations: 84.59 kB / 421.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.5107, allocations: 81.05 kB / 421.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.5108, allocations: 0 / 421.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.5108, allocations: 4 kB / 421.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-06/0.5108, allocations: 0 / 421.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5109, allocations: 4 kB / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.854e-05/0.5109, allocations: 91.27 kB / 421.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.511, allocations: 7.938 kB / 421.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.5112, allocations: 4 kB / 421.9 MB, free: 14.68 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 (step.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.0001459/0.5114, allocations: 99.25 kB / 422 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.5115, allocations: 15.88 kB / 422 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.991e-06/0.5115, allocations: 3.938 kB / 422 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.587e-06/0.5115, allocations: 0 / 422 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.5118, allocations: 27.45 kB / 422.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.5121, allocations: 69.66 kB / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.5125, allocations: 0.6887 MB / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.718e-05/0.5125, allocations: 0 / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.5125, allocations: 7.438 kB / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.57e-06/0.5126, allocations: 4 kB / 422.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of Templates: time 0.002943/0.5155, allocations: 389.2 kB / 423.2 MB, free: 13.36 MB / 346.7 MB