Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadModel(Modelica): time 2.004/2.004, 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.073e-05, allocations: 4 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09141/0.09147, allocations: 50.42 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4151/0.5067, allocations: 76.5 MB / 419.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003838/0.5071, allocations: 78.58 kB / 419.7 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005952/0.5131, allocations: 1.088 MB / 420.8 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.359e-06/0.5131, allocations: 0 / 420.8 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.5132, allocations: 4 kB / 420.8 MB, free: 0.6055 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.0005389/0.5137, allocations: 342.2 kB / 421.1 MB, free: 236 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.5138, allocations: 12.03 kB / 421.1 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.5139, allocations: 7.953 kB / 421.1 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.5143, allocations: 193.2 kB / 421.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.5143, allocations: 0 / 421.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.5144, allocations: 3.938 kB / 421.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.5147, allocations: 85.31 kB / 421.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5147, allocations: 4 kB / 421.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5148, allocations: 0 / 421.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5148, allocations: 0 / 421.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.836e-05/0.5149, allocations: 11.95 kB / 421.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.5155, allocations: 261.8 kB / 421.7 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.5156, allocations: 45.09 kB / 421.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.5157, allocations: 13.66 kB / 421.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.5158, allocations: 0 / 421.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.5159, allocations: 38.61 kB / 421.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 3.41e-06/0.5159, allocations: 0 / 421.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002594/0.5162, allocations: 49.44 kB / 421.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/0.5163, allocations: 85.17 kB / 421.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.5165, allocations: 117.7 kB / 422 MB, free: 15.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.5165, allocations: 25.7 kB / 422 MB, free: 15.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.5166, allocations: 87.94 kB / 422.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.5167, allocations: 3.906 kB / 422.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-06/0.5167, allocations: 0 / 422.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.5169, allocations: 318.8 kB / 422.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.517, allocations: 4 kB / 422.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.718e-05/0.517, allocations: 17.66 kB / 422.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/0.5171, allocations: 9.094 kB / 422.5 MB, free: 14.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.608e-06/0.5171, allocations: 0 / 422.5 MB, free: 14.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001683/0.5173, allocations: 41.69 kB / 422.5 MB, free: 14.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5174, allocations: 4 kB / 422.5 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5174, allocations: 4 kB / 422.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.5174, allocations: 8.078 kB / 422.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.5176, allocations: 4 kB / 422.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5176, allocations: 3.938 kB / 422.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.495e-05/0.5177, allocations: 7.984 kB / 422.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.5178, allocations: 0 / 422.5 MB, free: 14.64 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 0.0001151/0.5179, allocations: 112.7 kB / 422.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.518, allocations: 33.61 kB / 422.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.5181, allocations: 11.56 kB / 422.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.852e-06/0.5181, allocations: 4 kB / 422.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.59e-06/0.5182, allocations: 3.953 kB / 422.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.5182, allocations: 7.984 kB / 422.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.5186, allocations: 157.6 kB / 422.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.5186, allocations: 0 / 422.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.5187, allocations: 7.984 kB / 422.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-06/0.5187, allocations: 0 / 422.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.5188, allocations: 4 kB / 422.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.32e-06/0.5188, allocations: 0 / 422.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.898e-06/0.5188, allocations: 0 / 422.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.519, allocations: 165.3 kB / 423 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.5192, allocations: 88.97 kB / 423.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.5192, allocations: 0 / 423.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.5194, allocations: 7.984 kB / 423.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.5195, allocations: 11.92 kB / 423.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.5195, allocations: 7.984 kB / 423.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.5197, allocations: 107.5 kB / 423.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.339e-06/0.5197, allocations: 0 / 423.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.5203, allocations: 4 kB / 423.2 MB, free: 13.85 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.0001622/0.5205, allocations: 95.25 kB / 423.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.5206, allocations: 15.69 kB / 423.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5206, allocations: 0 / 423.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.5207, allocations: 8.125 kB / 423.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.5212, allocations: 23.83 kB / 423.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.5216, allocations: 85.5 kB / 423.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.522, allocations: 0.6887 MB / 424.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.281e-05/0.5221, allocations: 4.484 kB / 424.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.5221, allocations: 11.44 kB / 424.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.835e-06/0.5221, allocations: 160 / 424.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of Templates: time 0.003258/0.5254, allocations: 393.7 kB / 424.6 MB, free: 12.5 MB / 346.7 MB