Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadModel(Modelica): time 2.286/2.286, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.412e-05, allocations: 6.812 kB / 292.2 MB, free: 8.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09661, allocations: 50.41 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3708/0.4674, allocations: 76.49 MB / 419.1 MB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4677, allocations: 74.33 kB / 419.1 MB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003783/0.4715, allocations: 1.1 MB / 420.2 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4715, allocations: 0.8438 kB / 420.2 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.4716, allocations: 0 / 420.2 MB, free: 0.5977 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003986/0.472, allocations: 346.5 kB / 420.6 MB, free: 224 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.472, allocations: 8.031 kB / 420.6 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.4721, allocations: 7.953 kB / 420.6 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.4723, allocations: 189.4 kB / 420.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4724, allocations: 7.875 kB / 420.8 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.4724, allocations: 3.938 kB / 420.8 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.4726, allocations: 88.75 kB / 420.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.163e-06/0.4727, allocations: 0 / 420.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4727, allocations: 3.812 kB / 420.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-06/0.4727, allocations: 0 / 420.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.424e-05/0.4727, allocations: 7.781 kB / 420.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.4732, allocations: 265.5 kB / 421.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.014e-05/0.4733, allocations: 41.75 kB / 421.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.4733, allocations: 17.53 kB / 421.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.4733, allocations: 0 / 421.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.4734, allocations: 30.56 kB / 421.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 2.09e-06/0.4734, allocations: 4 kB / 421.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001723/0.4736, allocations: 57.3 kB / 421.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.4737, allocations: 77.11 kB / 421.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.4738, allocations: 117.4 kB / 421.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4739, allocations: 25.7 kB / 421.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.4739, allocations: 87.77 kB / 421.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.474, allocations: 3.906 kB / 421.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-06/0.474, allocations: 4.062 kB / 421.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4741, allocations: 318.6 kB / 421.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.4742, allocations: 4 kB / 421.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.4742, allocations: 13.16 kB / 421.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.4742, allocations: 9.094 kB / 421.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4742, allocations: 0 / 421.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.535e-05/0.4744, allocations: 41.77 kB / 422 MB, free: 14.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4744, allocations: 4 kB / 422 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.02e-06/0.4744, allocations: 0 / 422 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4744, allocations: 7.938 kB / 422 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.4745, allocations: 8 kB / 422 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.102e-06/0.4746, allocations: 3.938 kB / 422 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.4746, allocations: 7.438 kB / 422 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-06/0.4746, allocations: 0 / 422 MB, free: 14.63 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.297e-05/0.4747, allocations: 109 kB / 422.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.4748, allocations: 41.59 kB / 422.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.4749, allocations: 11.53 kB / 422.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.4749, allocations: 7.938 kB / 422.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4749, allocations: 0 / 422.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.254e-06/0.4749, allocations: 0 / 422.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.4752, allocations: 165 kB / 422.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-06/0.4752, allocations: 0 / 422.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.4753, allocations: 8 kB / 422.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.561e-06/0.4753, allocations: 0 / 422.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-06/0.4753, allocations: 4.031 kB / 422.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4753, allocations: 0 / 422.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.604e-06/0.4753, allocations: 7.953 kB / 422.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.4755, allocations: 157.8 kB / 422.5 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.4756, allocations: 88.97 kB / 422.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.4756, allocations: 4.031 kB / 422.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.4757, allocations: 7.953 kB / 422.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.4758, allocations: 3.938 kB / 422.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.372e-06/0.4758, allocations: 3.984 kB / 422.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.281e-05/0.4759, allocations: 103.3 kB / 422.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.49e-07/0.4759, allocations: 0 / 422.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.4762, allocations: 4 kB / 422.7 MB, free: 13.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001288/0.4764, allocations: 103.2 kB / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.686e-05/0.4765, allocations: 19.69 kB / 422.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.487e-06/0.4765, allocations: 0 / 422.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.4765, allocations: 0 / 422.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.4768, allocations: 25.22 kB / 422.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.4771, allocations: 93.36 kB / 422.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.4775, allocations: 0.6925 MB / 423.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.662e-05/0.4775, allocations: 4.781 kB / 423.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.4776, allocations: 7.438 kB / 423.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4776, allocations: 0 / 423.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of Templates: time 0.002767/0.4803, allocations: 397.6 kB / 424 MB, free: 12.49 MB / 346.7 MB