Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadModel(Modelica): time 2.258/2.258, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.057e-05/3.067e-05, allocations: 8 kB / 292.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08812/0.08818, allocations: 50.42 MB / 343.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3576/0.4458, allocations: 76.67 MB / 419.8 MB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.4461, allocations: 75.58 kB / 419.8 MB, free: 1.461 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004002/0.4501, allocations: 1.16 MB / 421 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd: time 5.831e-06/0.4501, allocations: 0 / 421 MB, free: 448 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.4502, allocations: 3.938 kB / 421 MB, free: 444 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003863/0.4506, allocations: 342.7 kB / 421.3 MB, free: 60 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4506, allocations: 8.031 kB / 421.3 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.4507, allocations: 11.86 kB / 421.3 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.4509, allocations: 182.2 kB / 421.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.451, allocations: 4 kB / 421.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.451, allocations: 11.19 kB / 421.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.4513, allocations: 106.6 kB / 421.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4513, allocations: 0.875 kB / 421.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4513, allocations: 2.375 kB / 421.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-06/0.4514, allocations: 4 kB / 421.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.006e-05/0.4514, allocations: 14.77 kB / 421.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.4519, allocations: 259.8 kB / 421.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.4521, allocations: 132 kB / 422.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.4522, allocations: 32.66 kB / 422.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.4522, allocations: 0 / 422.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.4522, allocations: 30.56 kB / 422.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 4.31e-06/0.4523, allocations: 0 / 422.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001919/0.4525, allocations: 61.2 kB / 422.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.4525, allocations: 80.3 kB / 422.3 MB, free: 15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.4527, allocations: 125.2 kB / 422.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.4527, allocations: 25.7 kB / 422.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.4528, allocations: 87.08 kB / 422.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.4528, allocations: 3.125 kB / 422.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.4528, allocations: 3.938 kB / 422.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.453, allocations: 322.1 kB / 422.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.453, allocations: 0 / 422.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.992e-05/0.4531, allocations: 34.44 kB / 422.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.4531, allocations: 9.156 kB / 422.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.818e-06/0.4531, allocations: 0 / 422.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001244/0.4533, allocations: 56.84 kB / 422.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4533, allocations: 4.125 kB / 422.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.274e-06/0.4533, allocations: 4 kB / 422.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.4534, allocations: 11.95 kB / 422.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.4534, allocations: 8 kB / 422.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.734e-06/0.4535, allocations: 0 / 422.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.4535, allocations: 11.36 kB / 422.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.4536, allocations: 4 kB / 422.9 MB, free: 14.29 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.408e-05/0.4536, allocations: 104.9 kB / 423 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.4538, allocations: 56.97 kB / 423.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.4538, allocations: 15.41 kB / 423.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.983e-06/0.4538, allocations: 0 / 423.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.786e-06/0.4539, allocations: 3.953 kB / 423.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.82e-06/0.4539, allocations: 0 / 423.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.4541, allocations: 164.2 kB / 423.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-06/0.4541, allocations: 4 kB / 423.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.4542, allocations: 8 kB / 423.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.755e-06/0.4542, allocations: 0 / 423.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4542, allocations: 3.984 kB / 423.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.593e-06/0.4543, allocations: 0 / 423.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.449e-06/0.4543, allocations: 4 kB / 423.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.4545, allocations: 176 kB / 423.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.4546, allocations: 96.12 kB / 423.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.4546, allocations: 0 / 423.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.4547, allocations: 4 kB / 423.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.4548, allocations: 7.953 kB / 423.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-06/0.4548, allocations: 4 kB / 423.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.792e-05/0.4549, allocations: 109.1 kB / 423.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4549, allocations: 0 / 423.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003108/0.4552, allocations: 4 kB / 423.7 MB, free: 13.46 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: 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.0001366/0.4554, allocations: 95.25 kB / 423.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.4555, allocations: 29.36 kB / 423.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.65e-06/0.4555, allocations: 256 / 423.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.767e-05/0.4555, allocations: 4 kB / 423.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.4558, allocations: 22.66 kB / 423.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.4561, allocations: 103.6 kB / 423.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.4565, allocations: 0.6887 MB / 424.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.258e-05/0.4566, allocations: 3.984 kB / 424.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.4566, allocations: 15.5 kB / 424.7 MB, free: 12.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.881e-06/0.4566, allocations: 0 / 424.7 MB, free: 12.47 MB / 346.7 MB Notification: Performance of Templates: time 0.002941/0.4596, allocations: 441.9 kB / 425.1 MB, free: 12.05 MB / 346.7 MB