Running command: translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.index|booleanTable.nextTime|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadModel(ModelicaTest): time 2.25/2.25, allocations: 235 MB / 247.2 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-05/5.492e-05, allocations: 8.938 kB / 304.9 MB, free: 5.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4233, allocations: 54.86 MB / 359.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.5633, allocations: 80.91 MB / 440.7 MB, free: 76 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.5635, allocations: 63.97 kB / 440.8 MB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008345/0.5719, allocations: 1.913 MB / 442.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.092e-06/0.5719, allocations: 0 / 442.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.572, allocations: 8 kB / 442.7 MB, free: 14.11 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006713/0.5727, allocations: 0.5304 MB / 443.2 MB, free: 13.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5727, allocations: 12.03 kB / 443.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.5728, allocations: 19.86 kB / 443.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.573, allocations: 163.8 kB / 443.4 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.5731, allocations: 89.11 kB / 443.5 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.5732, allocations: 12 kB / 443.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.5735, allocations: 147.5 kB / 443.6 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5735, allocations: 2.375 kB / 443.6 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.5735, allocations: 4 kB / 443.6 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.93e-06/0.5736, allocations: 4 kB / 443.7 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.5738, allocations: 71.94 kB / 443.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009049/0.5747, allocations: 0.5284 MB / 444.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.575, allocations: 147.7 kB / 444.4 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.5752, allocations: 90.8 kB / 444.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.5752, allocations: 4 kB / 444.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005709/0.5758, allocations: 463.3 kB / 444.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 3.011e-06/0.5759, allocations: 0 / 444.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007921/0.5767, allocations: 380.4 kB / 445.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/0.5769, allocations: 247.3 kB / 445.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.577, allocations: 123 kB / 445.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.5771, allocations: 33.7 kB / 445.7 MB, free: 10.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.5772, allocations: 100.6 kB / 445.8 MB, free: 10.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.5772, allocations: 39.5 kB / 445.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.5773, allocations: 12 kB / 445.9 MB, free: 10.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.5775, allocations: 322.8 kB / 446.2 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.5776, allocations: 46.17 kB / 446.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.5778, allocations: 119.6 kB / 446.3 MB, free: 10 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.5781, allocations: 196.5 kB / 446.5 MB, free: 9.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.159e-06/0.5781, allocations: 0 / 446.5 MB, free: 9.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006839/0.5788, allocations: 382.6 kB / 446.9 MB, free: 9.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.579, allocations: 160.6 kB / 447.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.579, allocations: 4 kB / 447.1 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.579, allocations: 4 kB / 447.1 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.5791, allocations: 11.06 kB / 447.1 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.5791, allocations: 4.609 kB / 447.1 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.5793, allocations: 20 kB / 447.1 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.5794, allocations: 12 kB / 447.1 MB, free: 9.129 MB / 378.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: 31 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition6,$whenCondition7,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition4,$whenCondition5,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next,$whenCondition1,$whenCondition2,$whenCondition3,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 5 * 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.0002906/0.5797, allocations: 265.9 kB / 447.4 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.5798, allocations: 23.81 kB / 447.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.5798, allocations: 17.61 kB / 447.4 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.8e-06/0.5798, allocations: 0 / 447.4 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5799, allocations: 0 / 447.4 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.398e-06/0.5799, allocations: 4 kB / 447.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009269/0.5808, allocations: 0.5564 MB / 448 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.661e-06/0.5808, allocations: 0 / 448 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.5809, allocations: 13.45 kB / 448 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.675e-06/0.5809, allocations: 0 / 448 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.026e-05/0.5809, allocations: 12 kB / 448 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.478e-06/0.581, allocations: 7.938 kB / 448 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/0.581, allocations: 3.984 kB / 448 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/0.5819, allocations: 0.5631 MB / 448.6 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.582, allocations: 85.02 kB / 448.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.5821, allocations: 12.62 kB / 448.7 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.5823, allocations: 19.98 kB / 448.7 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.5824, allocations: 19.92 kB / 448.7 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.5825, allocations: 15.98 kB / 448.7 MB, free: 7.344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.5826, allocations: 97.11 kB / 448.8 MB, free: 7.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.5826, allocations: 4 kB / 448.8 MB, free: 7.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005395/0.5831, allocations: 64.94 kB / 448.9 MB, free: 7.184 MB / 378.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: 22 (onDelay1.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition4,$whenCondition5,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next,$whenCondition6,$whenCondition7,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next) * Number of discrete states: 16 (onDelay2.t_next,onDelay2.delaySignal,$whenCondition7,$whenCondition6,onDelay3.t_next,onDelay3.delaySignal,$whenCondition5,$whenCondition4,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition2,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 4 * 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.0002665/0.5834, allocations: 131.2 kB / 449 MB, free: 7.047 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007342/0.5842, allocations: 493.2 kB / 449.5 MB, free: 6.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.56e-06/0.5842, allocations: 4 kB / 449.5 MB, free: 6.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004847/0.5847, allocations: 394.6 kB / 449.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.5849, allocations: 27.88 kB / 449.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.5856, allocations: 230 kB / 450.1 MB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.586, allocations: 0.7121 MB / 450.8 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.625e-05/0.5861, allocations: 8.375 kB / 450.9 MB, free: 5.035 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.5861, allocations: 11.44 kB / 450.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of SimCode: time 1.935e-06/0.5862, allocations: 4 kB / 450.9 MB, free: 5.023 MB / 378.7 MB Notification: Performance of Templates: time 0.006072/0.5922, allocations: 1.736 MB / 452.6 MB, free: 3.305 MB / 378.7 MB