Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadModel(Modelica): time 2.165/2.165, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/3.015e-05, allocations: 4 kB / 292.1 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 50.42 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.5725, allocations: 77.23 MB / 419.8 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.5728, allocations: 71.42 kB / 419.9 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005149/0.578, allocations: 1.427 MB / 421.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.019e-06/0.578, allocations: 0 / 421.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.578, allocations: 4 kB / 421.3 MB, free: 15.63 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004401/0.5785, allocations: 354.1 kB / 421.6 MB, free: 15.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5785, allocations: 8.031 kB / 421.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.5786, allocations: 11.86 kB / 421.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.5789, allocations: 202.8 kB / 421.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5789, allocations: 3.625 kB / 421.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.5789, allocations: 8 kB / 421.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.5793, allocations: 164.7 kB / 422 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5793, allocations: 3.984 kB / 422 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5794, allocations: 0 / 422 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.152e-06/0.5794, allocations: 3.953 kB / 422 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.813e-05/0.5795, allocations: 27.62 kB / 422.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.58, allocations: 368.5 kB / 422.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.5803, allocations: 104.5 kB / 422.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.5805, allocations: 50.33 kB / 422.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.5805, allocations: 4 kB / 422.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.5805, allocations: 42.33 kB / 422.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.599e-06/0.5806, allocations: 4 kB / 422.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002829/0.5809, allocations: 93.03 kB / 422.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/0.581, allocations: 106.8 kB / 422.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.5811, allocations: 122.1 kB / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.5811, allocations: 29.77 kB / 423 MB, free: 13.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.5812, allocations: 91.92 kB / 423.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.5813, allocations: 19.39 kB / 423.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-06/0.5813, allocations: 0 / 423.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5814, allocations: 314.7 kB / 423.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.695e-05/0.5815, allocations: 11.94 kB / 423.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.059e-05/0.5816, allocations: 71.53 kB / 423.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.107e-05/0.5816, allocations: 19.94 kB / 423.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.704e-06/0.5817, allocations: 0 / 423.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.5819, allocations: 89.05 kB / 423.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.5819, allocations: 10.66 kB / 423.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5819, allocations: 3.953 kB / 423.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.5819, allocations: 7.938 kB / 423.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.5821, allocations: 24.27 kB / 423.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.5821, allocations: 4.078 kB / 423.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.5822, allocations: 7.906 kB / 423.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.5822, allocations: 11.98 kB / 423.6 MB, free: 13.14 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.587e-05/0.5823, allocations: 112.5 kB / 423.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.5825, allocations: 73.34 kB / 423.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/0.5826, allocations: 16.55 kB / 423.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.16e-06/0.5826, allocations: 3.953 kB / 423.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.822e-06/0.5826, allocations: 0 / 423.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.751e-06/0.5826, allocations: 8 kB / 423.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.583, allocations: 180.9 kB / 424 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-06/0.583, allocations: 0 / 424 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.5832, allocations: 23.92 kB / 424.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.5832, allocations: 4 kB / 424.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5832, allocations: 3.812 kB / 424.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.187e-06/0.5832, allocations: 0 / 424.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.5832, allocations: 3.953 kB / 424.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.5837, allocations: 331.2 kB / 424.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.5838, allocations: 100.8 kB / 424.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.5838, allocations: 3.688 kB / 424.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.584, allocations: 8 kB / 424.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.5841, allocations: 7.891 kB / 424.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.5841, allocations: 4 kB / 424.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.5842, allocations: 102.6 kB / 424.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.5842, allocations: 0 / 424.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003936/0.5846, allocations: 15.94 kB / 424.6 MB, free: 12.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001421/0.5848, allocations: 99.94 kB / 424.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.5849, allocations: 51.44 kB / 424.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.71e-06/0.585, allocations: 0 / 424.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.585, allocations: 11.88 kB / 424.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.5854, allocations: 39.33 kB / 424.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.5858, allocations: 138.1 kB / 425 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.5862, allocations: 0.7089 MB / 425.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.5863, allocations: 8.656 kB / 425.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.5863, allocations: 11.44 kB / 425.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.478e-06/0.5863, allocations: 0 / 425.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of Templates: time 0.004766/0.5911, allocations: 0.6095 MB / 426.3 MB, free: 10.43 MB / 346.7 MB