Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadModel(Modelica): time 2.134/2.134, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.351e-05/5.384e-05, allocations: 4 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 50.41 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4697/0.5711, allocations: 76.49 MB / 419.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.5714, allocations: 74.89 kB / 419.6 MB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003471/0.5749, allocations: 1.034 MB / 420.7 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.5749, allocations: 0.6562 kB / 420.7 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.5749, allocations: 8.656 kB / 420.7 MB, free: 0.7148 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.000364/0.5753, allocations: 337.6 kB / 421 MB, free: 352 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5754, allocations: 8.031 kB / 421 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.5754, allocations: 7.953 kB / 421 MB, free: 336 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.5756, allocations: 184.5 kB / 421.2 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.5757, allocations: 3.938 kB / 421.2 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.5757, allocations: 4 kB / 421.2 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.5759, allocations: 82.92 kB / 421.3 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.134e-06/0.5759, allocations: 0 / 421.3 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.869e-06/0.576, allocations: 0 / 421.3 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.253e-06/0.576, allocations: 4 kB / 421.3 MB, free: 12 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.576, allocations: 15.83 kB / 421.3 MB, free: 0 / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.5764, allocations: 252.8 kB / 421.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.948e-05/0.5765, allocations: 41.16 kB / 421.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.5766, allocations: 16.72 kB / 421.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.5766, allocations: 0 / 421.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.5766, allocations: 34.55 kB / 421.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 3.944e-06/0.5766, allocations: 3.984 kB / 421.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001749/0.5768, allocations: 56.56 kB / 421.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.5769, allocations: 77.11 kB / 421.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.577, allocations: 119 kB / 421.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.5771, allocations: 25.7 kB / 421.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.5772, allocations: 87.06 kB / 422 MB, free: 15.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.84e-06/0.5772, allocations: 0 / 422 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.5772, allocations: 0 / 422 MB, free: 15.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5773, allocations: 318 kB / 422.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.5774, allocations: 4.062 kB / 422.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.5774, allocations: 16.97 kB / 422.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.877e-05/0.5774, allocations: 0 / 422.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5775, allocations: 4 kB / 422.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.944e-05/0.5776, allocations: 48.97 kB / 422.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5776, allocations: 7.938 kB / 422.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.574e-06/0.5776, allocations: 5 kB / 422.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5776, allocations: 4 kB / 422.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.711e-05/0.5777, allocations: 3.953 kB / 422.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5777, allocations: 0 / 422.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.5777, allocations: 0 / 422.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.665e-06/0.5778, allocations: 4 kB / 422.4 MB, free: 14.79 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 7.932e-05/0.5778, allocations: 102.1 kB / 422.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/0.5779, allocations: 41.62 kB / 422.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.578, allocations: 10.72 kB / 422.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.578, allocations: 12.03 kB / 422.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.342e-06/0.578, allocations: 3.953 kB / 422.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.681e-06/0.578, allocations: 0 / 422.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.5783, allocations: 168.5 kB / 422.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-06/0.5783, allocations: 0 / 422.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.829e-06/0.5783, allocations: 0 / 422.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.916e-06/0.5783, allocations: 4 kB / 422.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.359e-06/0.5783, allocations: 0 / 422.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.5783, allocations: 0 / 422.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.919e-06/0.5784, allocations: 0 / 422.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.5785, allocations: 164.7 kB / 422.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.5786, allocations: 92.19 kB / 423 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.5787, allocations: 0 / 423 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.5788, allocations: 7.938 kB / 423 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.5788, allocations: 3.953 kB / 423 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.5788, allocations: 4 kB / 423 MB, free: 14.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.281e-05/0.5789, allocations: 106 kB / 423.1 MB, free: 14 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.5789, allocations: 0 / 423.1 MB, free: 14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.5792, allocations: 4 kB / 423.1 MB, free: 14 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.000128/0.5794, allocations: 99.25 kB / 423.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.329e-05/0.5795, allocations: 11.31 kB / 423.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.687e-06/0.5795, allocations: 0 / 423.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.554e-05/0.5795, allocations: 0 / 423.2 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.000271/0.5798, allocations: 27.58 kB / 423.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.5801, allocations: 88.97 kB / 423.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.5805, allocations: 0.6887 MB / 424 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.993e-05/0.5805, allocations: 8.484 kB / 424 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.5806, allocations: 7.438 kB / 424.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.509e-06/0.5806, allocations: 3.938 kB / 424.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of Templates: time 0.002787/0.5834, allocations: 388.1 kB / 424.4 MB, free: 12.65 MB / 346.7 MB