Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.048e-05, allocations: 7.234 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09228/0.09234, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4232/0.5156, allocations: 81.34 MB / 423.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.5159, allocations: 78.45 kB / 424 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02833/0.5442, allocations: 6.649 MB / 430.6 MB, free: 7.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5443, allocations: 0 / 430.6 MB, free: 7.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.5443, allocations: 4 kB / 430.6 MB, free: 7.285 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.0007594/0.5451, allocations: 0.4897 MB / 431.1 MB, free: 6.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.5452, allocations: 12.02 kB / 431.1 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.139e-05/0.5452, allocations: 23.72 kB / 431.2 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/0.5458, allocations: 287.8 kB / 431.4 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.5459, allocations: 4 kB / 431.4 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.5459, allocations: 7.188 kB / 431.5 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.5463, allocations: 153.5 kB / 431.6 MB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5463, allocations: 4 kB / 431.6 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.5464, allocations: 3.953 kB / 431.6 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.444e-06/0.5464, allocations: 4 kB / 431.6 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.5465, allocations: 38.78 kB / 431.7 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.5473, allocations: 392.9 kB / 432 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.5475, allocations: 117 kB / 432.2 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.627e-05/0.5476, allocations: 44.84 kB / 432.2 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.5477, allocations: 4 kB / 432.2 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.5479, allocations: 81.38 kB / 432.3 MB, free: 5.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.328e-06/0.5479, allocations: 0 / 432.3 MB, free: 5.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003628/0.5483, allocations: 122.8 kB / 432.4 MB, free: 5.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.5484, allocations: 158.2 kB / 432.6 MB, free: 5.285 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.5489, allocations: 298.8 kB / 432.8 MB, free: 5.047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.5489, allocations: 33.77 kB / 432.9 MB, free: 5.008 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5491, allocations: 129 kB / 433 MB, free: 4.906 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.5491, allocations: 15.5 kB / 433 MB, free: 4.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.5491, allocations: 3.188 kB / 433 MB, free: 4.895 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.5493, allocations: 338.6 kB / 433.4 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.5494, allocations: 18.81 kB / 433.4 MB, free: 4.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.5495, allocations: 92.73 kB / 433.5 MB, free: 4.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.838e-05/0.5496, allocations: 29.42 kB / 433.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.969e-06/0.5497, allocations: 0 / 433.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002923/0.55, allocations: 119.7 kB / 433.6 MB, free: 4.324 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.55, allocations: 11.98 kB / 433.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.525e-06/0.55, allocations: 0 / 433.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.55, allocations: 4 kB / 433.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.5502, allocations: 19.94 kB / 433.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5502, allocations: 3.984 kB / 433.6 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.5504, allocations: 11.22 kB / 433.7 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.5504, allocations: 4 kB / 433.7 MB, free: 4.273 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.0001229/0.5505, allocations: 119.4 kB / 433.8 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.5507, allocations: 73.08 kB / 433.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.551, allocations: 116.1 kB / 434 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.309e-06/0.5511, allocations: 4 kB / 434 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.5511, allocations: 0 / 434 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.173e-06/0.5511, allocations: 0 / 434 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.5514, allocations: 256.5 kB / 434.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.5515, allocations: 0 / 434.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.5516, allocations: 15.94 kB / 434.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.5516, allocations: 3.984 kB / 434.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.5516, allocations: 15.95 kB / 434.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.264e-06/0.5516, allocations: 0 / 434.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.229e-06/0.5516, allocations: 0 / 434.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.552, allocations: 196.3 kB / 434.4 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.5522, allocations: 126.4 kB / 434.6 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.5522, allocations: 3.312 kB / 434.6 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5524, allocations: 4 kB / 434.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.5525, allocations: 11.55 kB / 434.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.5525, allocations: 4 kB / 434.6 MB, free: 3.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000347/0.5528, allocations: 241.5 kB / 434.8 MB, free: 3.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.5529, allocations: 0 / 434.8 MB, free: 3.133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000427/0.5533, allocations: 51.06 kB / 434.9 MB, free: 3.086 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.001535/0.5548, allocations: 431.8 kB / 435.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003435/0.5552, allocations: 82.41 kB / 435.4 MB, free: 2.719 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.92e-06/0.5552, allocations: 4.062 kB / 435.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.642e-05/0.5553, allocations: 35.05 kB / 435.4 MB, free: 2.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.5558, allocations: 50.12 kB / 435.5 MB, free: 2.652 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000724/0.5565, allocations: 281.9 kB / 435.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.557, allocations: 0.7499 MB / 436.5 MB, free: 1.609 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.5572, allocations: 21.33 kB / 436.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/0.5573, allocations: 23.42 kB / 436.5 MB, free: 1.566 MB / 346.7 MB Notification: Performance of SimCode: time 1.894e-06/0.5573, allocations: 0 / 436.5 MB, free: 1.566 MB / 346.7 MB Notification: Performance of Templates: time 0.009231/0.5665, allocations: 2.739 MB / 439.3 MB, free: 14.87 MB / 362.7 MB