Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.566e-05, allocations: 1.406 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 50.41 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3761/0.4774, allocations: 77.21 MB / 420.3 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/0.4779, allocations: 78.06 kB / 420.4 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00939/0.4873, allocations: 1.47 MB / 421.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.331e-06/0.4874, allocations: 0 / 421.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.4874, allocations: 3.938 kB / 421.8 MB, free: 15.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006406/0.4881, allocations: 350 kB / 422.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/0.4882, allocations: 12.03 kB / 422.2 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.646e-05/0.4882, allocations: 15.84 kB / 422.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.4886, allocations: 190.6 kB / 422.4 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4887, allocations: 0 / 422.4 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.4887, allocations: 7.875 kB / 422.4 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.4892, allocations: 108 kB / 422.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.4892, allocations: 4 kB / 422.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4893, allocations: 0 / 422.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4893, allocations: 3.953 kB / 422.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/0.4894, allocations: 15.81 kB / 422.5 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.4901, allocations: 269.3 kB / 422.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.4905, allocations: 133.8 kB / 422.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.4906, allocations: 30.83 kB / 423 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.4907, allocations: 3.938 kB / 423 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.4907, allocations: 30.56 kB / 423 MB, free: 14.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.934e-06/0.4908, allocations: 4 kB / 423 MB, free: 14.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003278/0.4911, allocations: 61.23 kB / 423.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/0.4912, allocations: 85.05 kB / 423.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.4915, allocations: 120.5 kB / 423.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.4915, allocations: 25.7 kB / 423.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.4916, allocations: 92 kB / 423.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.4917, allocations: 3.906 kB / 423.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-06/0.4917, allocations: 0 / 423.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.492, allocations: 322.6 kB / 423.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.492, allocations: 7.938 kB / 423.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.392e-05/0.4921, allocations: 31.3 kB / 423.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.714e-05/0.4922, allocations: 4 kB / 423.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.982e-06/0.4922, allocations: 4 kB / 423.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002493/0.4925, allocations: 61.12 kB / 423.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.4926, allocations: 6.812 kB / 423.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.721e-06/0.4926, allocations: 0 / 423.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.4926, allocations: 7.953 kB / 423.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.4928, allocations: 15.92 kB / 423.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.4928, allocations: 0 / 423.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.493, allocations: 11.84 kB / 423.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.493, allocations: 4.125 kB / 423.8 MB, free: 13.47 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 0.0001278/0.4932, allocations: 105 kB / 423.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.4934, allocations: 49.53 kB / 424 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.4935, allocations: 15.91 kB / 424 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.185e-06/0.4935, allocations: 0 / 424 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.4935, allocations: 3.953 kB / 424 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.784e-06/0.4935, allocations: 0 / 424 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.494, allocations: 169.1 kB / 424.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.849e-06/0.494, allocations: 3.984 kB / 424.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.4942, allocations: 15.94 kB / 424.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.898e-06/0.4942, allocations: 0 / 424.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4942, allocations: 0 / 424.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4943, allocations: 0 / 424.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4943, allocations: 4 kB / 424.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.4946, allocations: 173.8 kB / 424.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.4948, allocations: 89.09 kB / 424.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.4949, allocations: 7.812 kB / 424.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.4951, allocations: 4 kB / 424.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.4952, allocations: 4.188 kB / 424.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.4952, allocations: 0 / 424.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000176/0.4954, allocations: 110.7 kB / 424.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.179e-06/0.4954, allocations: 0 / 424.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007026/0.4961, allocations: 4 kB / 424.6 MB, free: 12.66 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.0001952/0.4963, allocations: 107.2 kB / 424.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.4965, allocations: 23.36 kB / 424.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.52e-06/0.4966, allocations: 0 / 424.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.66e-05/0.4966, allocations: 4 kB / 424.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.4972, allocations: 35.69 kB / 424.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.4977, allocations: 93.22 kB / 424.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.4983, allocations: 0.7006 MB / 425.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.62e-05/0.4984, allocations: 8.5 kB / 425.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.4984, allocations: 7.438 kB / 425.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of SimCode: time 2.211e-06/0.4985, allocations: 0 / 425.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of Templates: time 0.004907/0.5034, allocations: 477 kB / 426 MB, free: 11.2 MB / 346.7 MB