Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadModel(Modelica): time 2.136/2.136, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.832e-05, allocations: 0 / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09034, allocations: 50.42 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5192, allocations: 81.34 MB / 424.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.5196, allocations: 84.78 kB / 424.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02935/0.5489, allocations: 6.639 MB / 431.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.491e-06/0.549, allocations: 4 kB / 431.2 MB, free: 7.277 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.37e-05/0.549, allocations: 0 / 431.2 MB, free: 7.277 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007768/0.5498, allocations: 0.5009 MB / 431.7 MB, free: 6.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5499, allocations: 8.031 kB / 431.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.346e-05/0.55, allocations: 23.72 kB / 431.7 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/0.5506, allocations: 285.7 kB / 432 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.5506, allocations: 11.25 kB / 432 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.5506, allocations: 7 kB / 432 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.551, allocations: 149.6 kB / 432.1 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.401e-06/0.5511, allocations: 0 / 432.1 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.5511, allocations: 6.703 kB / 432.1 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.431e-06/0.5511, allocations: 4 kB / 432.1 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.5512, allocations: 38.23 kB / 432.2 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/0.5519, allocations: 392.4 kB / 432.6 MB, free: 5.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.5522, allocations: 110.6 kB / 432.7 MB, free: 5.703 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.5523, allocations: 53.45 kB / 432.7 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.5523, allocations: 7.984 kB / 432.7 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.5525, allocations: 73.64 kB / 432.8 MB, free: 5.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.231e-06/0.5526, allocations: 0 / 432.8 MB, free: 5.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003589/0.5529, allocations: 125.2 kB / 432.9 MB, free: 5.461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.5531, allocations: 166.2 kB / 433.1 MB, free: 5.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.5535, allocations: 302.5 kB / 433.4 MB, free: 5.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.5536, allocations: 25.7 kB / 433.4 MB, free: 4.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.5537, allocations: 128.2 kB / 433.5 MB, free: 4.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.5537, allocations: 15.8 kB / 433.5 MB, free: 4.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.931e-06/0.5538, allocations: 3.188 kB / 433.6 MB, free: 4.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5539, allocations: 336.2 kB / 433.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.481e-05/0.554, allocations: 26.67 kB / 433.9 MB, free: 4.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.5542, allocations: 84.23 kB / 434 MB, free: 4.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.709e-05/0.5543, allocations: 37.55 kB / 434 MB, free: 4.402 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.004e-06/0.5543, allocations: 0 / 434 MB, free: 4.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002983/0.5546, allocations: 121.4 kB / 434.1 MB, free: 4.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5546, allocations: 4 kB / 434.1 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.686e-06/0.5547, allocations: 0 / 434.1 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5547, allocations: 4 kB / 434.2 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.5549, allocations: 23.92 kB / 434.2 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.333e-06/0.5549, allocations: 0 / 434.2 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.555, allocations: 12.03 kB / 434.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.5551, allocations: 7.984 kB / 434.2 MB, free: 4.246 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001203/0.5552, allocations: 119.7 kB / 434.3 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.5553, allocations: 64.78 kB / 434.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.5556, allocations: 113.4 kB / 434.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5557, allocations: 4 kB / 434.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.166e-06/0.5557, allocations: 0 / 434.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.246e-06/0.5557, allocations: 0 / 434.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.556, allocations: 265.6 kB / 434.7 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-06/0.556, allocations: 0 / 434.7 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.5562, allocations: 15.94 kB / 434.8 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.5562, allocations: 0 / 434.8 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.5562, allocations: 15.08 kB / 434.8 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.785e-06/0.5562, allocations: 3.984 kB / 434.8 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.281e-06/0.5562, allocations: 0 / 434.8 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.5566, allocations: 189.2 kB / 435 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.5568, allocations: 118.3 kB / 435.1 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.5569, allocations: 7.172 kB / 435.1 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.557, allocations: 4 kB / 435.1 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.5571, allocations: 11.89 kB / 435.1 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.5571, allocations: 7.938 kB / 435.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003453/0.5574, allocations: 240.8 kB / 435.3 MB, free: 3.117 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.5575, allocations: 0 / 435.3 MB, free: 3.117 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004268/0.5579, allocations: 59.11 kB / 435.4 MB, free: 3.066 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001521/0.5594, allocations: 421.2 kB / 435.8 MB, free: 2.766 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.5598, allocations: 85.59 kB / 435.9 MB, free: 2.703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.602e-06/0.5598, allocations: 0 / 435.9 MB, free: 2.703 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.273e-05/0.5599, allocations: 31.05 kB / 435.9 MB, free: 2.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.5604, allocations: 58.28 kB / 436 MB, free: 2.633 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006945/0.5611, allocations: 285.5 kB / 436.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.5615, allocations: 0.7471 MB / 437 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.5617, allocations: 21.33 kB / 437 MB, free: 1.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.5618, allocations: 27.42 kB / 437.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of SimCode: time 2.154e-06/0.5618, allocations: 0 / 437.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of Templates: time 0.008855/0.5707, allocations: 2.729 MB / 439.8 MB, free: 14.85 MB / 362.7 MB