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.1_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadModel(ModelicaTest): time 2.274/2.274, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.395e-05, allocations: 7.984 kB / 273.1 MB, free: 3.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08789, allocations: 48.7 MB / 321.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4253/0.5133, allocations: 74.53 MB / 396.3 MB, free: 7.484 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.5136, allocations: 60.62 kB / 396.4 MB, free: 7.484 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01233/0.526, allocations: 1.919 MB / 398.3 MB, free: 7.082 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.365e-06/0.526, allocations: 0 / 398.3 MB, free: 7.082 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.5261, allocations: 3.719 kB / 398.3 MB, free: 7.082 MB / 314.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.0007475/0.5268, allocations: 0.5209 MB / 398.8 MB, free: 6.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.5269, allocations: 11.69 kB / 398.8 MB, free: 6.559 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.5271, allocations: 15.28 kB / 398.8 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.5272, allocations: 181.8 kB / 399 MB, free: 6.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.5274, allocations: 91.19 kB / 399.1 MB, free: 6.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.5275, allocations: 14.75 kB / 399.1 MB, free: 6.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.528, allocations: 131.4 kB / 399.2 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.528, allocations: 0 / 399.2 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.5281, allocations: 3.906 kB / 399.3 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.5281, allocations: 7.938 kB / 399.3 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.5285, allocations: 69.75 kB / 399.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.5297, allocations: 0.5307 MB / 399.9 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.5301, allocations: 142.8 kB / 400 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.5305, allocations: 92.16 kB / 400.1 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.5305, allocations: 0 / 400.1 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006401/0.5312, allocations: 453.5 kB / 400.5 MB, free: 5.254 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 4.59e-06/0.5312, allocations: 0 / 400.5 MB, free: 5.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0012/0.5324, allocations: 385.4 kB / 400.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.5326, allocations: 249.8 kB / 401.2 MB, free: 4.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.5328, allocations: 133.7 kB / 401.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.5328, allocations: 33.48 kB / 401.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.5329, allocations: 94.42 kB / 401.4 MB, free: 4.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.442e-05/0.533, allocations: 48.38 kB / 401.5 MB, free: 4.566 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.5331, allocations: 0 / 401.5 MB, free: 4.566 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.5332, allocations: 331.5 kB / 401.8 MB, free: 4.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.5335, allocations: 49.5 kB / 401.8 MB, free: 4.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.5338, allocations: 111.2 kB / 401.9 MB, free: 4.176 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.5344, allocations: 211 kB / 402.1 MB, free: 20 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.5344, allocations: 4 kB / 402.1 MB, free: 20 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001236/0.5356, allocations: 374.9 kB / 402.5 MB, free: 19.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/0.5359, allocations: 156.5 kB / 402.7 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.5359, allocations: 2.625 kB / 402.7 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.536, allocations: 2.625 kB / 402.7 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.5361, allocations: 14.34 kB / 402.7 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.5362, allocations: 2.625 kB / 402.7 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.5365, allocations: 22.92 kB / 402.7 MB, free: 19.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/0.5366, allocations: 14.69 kB / 402.7 MB, free: 19.63 MB / 330.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.0004047/0.537, allocations: 271.6 kB / 403 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/0.5371, allocations: 26.23 kB / 403 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.5372, allocations: 7.812 kB / 403 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.321e-06/0.5372, allocations: 3.844 kB / 403 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.991e-06/0.5373, allocations: 0 / 403 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.77e-06/0.5373, allocations: 4 kB / 403 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.5387, allocations: 0.5674 MB / 403.6 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5387, allocations: 0 / 403.6 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.5388, allocations: 0 / 403.6 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.972e-06/0.5388, allocations: 3.844 kB / 403.6 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.5389, allocations: 10.91 kB / 403.6 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.128e-06/0.5389, allocations: 3.938 kB / 403.6 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.199e-06/0.5389, allocations: 0 / 403.6 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.5404, allocations: 0.5621 MB / 404.2 MB, free: 18.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.956e-05/0.5405, allocations: 88.84 kB / 404.3 MB, free: 18.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.5406, allocations: 18.23 kB / 404.3 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.541, allocations: 23.38 kB / 404.3 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.5412, allocations: 21.44 kB / 404.3 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.5413, allocations: 10.88 kB / 404.3 MB, free: 18.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.5415, allocations: 105.3 kB / 404.4 MB, free: 18.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.105e-06/0.5415, allocations: 0 / 404.4 MB, free: 18.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009613/0.5425, allocations: 64.75 kB / 404.5 MB, free: 18.41 MB / 330.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.0003769/0.5429, allocations: 136.5 kB / 404.6 MB, free: 18.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.544, allocations: 486.7 kB / 405.1 MB, free: 17.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.544, allocations: 0 / 405.1 MB, free: 17.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007743/0.5448, allocations: 407.6 kB / 405.5 MB, free: 17.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.5453, allocations: 11 kB / 405.5 MB, free: 17.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.5462, allocations: 234.7 kB / 405.7 MB, free: 17.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/0.5469, allocations: 0.7193 MB / 406.5 MB, free: 16.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.547, allocations: 4.312 kB / 406.5 MB, free: 16.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.5471, allocations: 11.28 kB / 406.5 MB, free: 16.88 MB / 330.7 MB Notification: Performance of SimCode: time 2.126e-06/0.5471, allocations: 3.938 kB / 406.5 MB, free: 16.87 MB / 330.7 MB Notification: Performance of Templates: time 0.01349/0.5606, allocations: 1.732 MB / 408.2 MB, free: 16 MB / 330.7 MB