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_cpp_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadModel(ModelicaTest): time 1.816/1.816, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.67e-05, allocations: 2.109 kB / 273 MB, free: 3.672 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 48.7 MB / 321.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.473, allocations: 74.53 MB / 396.3 MB, free: 7.043 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.4732, allocations: 59.95 kB / 396.3 MB, free: 7.043 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007156/0.4804, allocations: 1.919 MB / 398.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.102e-06/0.4804, allocations: 0 / 398.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.407e-06/0.4804, allocations: 0 / 398.3 MB, free: 6.648 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.0004518/0.4809, allocations: 0.5338 MB / 398.8 MB, free: 6.121 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4809, allocations: 11.41 kB / 398.8 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.481, allocations: 15.28 kB / 398.8 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.998e-05/0.4811, allocations: 170.5 kB / 399 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.042e-05/0.4812, allocations: 99.11 kB / 399.1 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.4812, allocations: 11.16 kB / 399.1 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.4815, allocations: 136.2 kB / 399.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.763e-06/0.4815, allocations: 0 / 399.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.4816, allocations: 3.844 kB / 399.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.804e-06/0.4816, allocations: 3.906 kB / 399.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.4818, allocations: 73.42 kB / 399.3 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.4825, allocations: 0.5344 MB / 399.8 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.4827, allocations: 139.8 kB / 400 MB, free: 5.234 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.4829, allocations: 91.2 kB / 400.1 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.4829, allocations: 3.734 kB / 400.1 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.4833, allocations: 453.5 kB / 400.5 MB, free: 4.812 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.814e-06/0.4833, allocations: 0 / 400.5 MB, free: 4.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.000626/0.484, allocations: 385.2 kB / 400.9 MB, free: 4.645 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.484, allocations: 251.6 kB / 401.1 MB, free: 4.359 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.4842, allocations: 124.5 kB / 401.3 MB, free: 4.266 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.4842, allocations: 36.7 kB / 401.3 MB, free: 4.234 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.4844, allocations: 158.2 kB / 401.4 MB, free: 20.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.4845, allocations: 40.62 kB / 401.5 MB, free: 20.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.4845, allocations: 7.344 kB / 401.5 MB, free: 20.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4847, allocations: 327.3 kB / 401.8 MB, free: 19.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.4848, allocations: 50.09 kB / 401.9 MB, free: 19.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.485, allocations: 116.5 kB / 402 MB, free: 19.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.4852, allocations: 202.9 kB / 402.2 MB, free: 19.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.538e-06/0.4852, allocations: 0 / 402.2 MB, free: 19.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000853/0.4861, allocations: 367.7 kB / 402.5 MB, free: 19.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.4863, allocations: 155.9 kB / 402.7 MB, free: 19.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4863, allocations: 3.938 kB / 402.7 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.4864, allocations: 3.719 kB / 402.7 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4865, allocations: 15.25 kB / 402.7 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.4866, allocations: 3.812 kB / 402.7 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.4869, allocations: 23.23 kB / 402.7 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.4869, allocations: 11.44 kB / 402.7 MB, free: 19.14 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.0003338/0.4873, allocations: 272.1 kB / 403 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.4874, allocations: 19.11 kB / 403 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.4875, allocations: 15.97 kB / 403 MB, free: 18.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.856e-06/0.4875, allocations: 6.453 kB / 403 MB, free: 18.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.247e-06/0.4875, allocations: 0 / 403 MB, free: 18.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.601e-06/0.4875, allocations: 0 / 403 MB, free: 18.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.4887, allocations: 0.5659 MB / 403.6 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.4888, allocations: 0 / 403.6 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-05/0.4888, allocations: 0 / 403.6 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.998e-06/0.4888, allocations: 3.719 kB / 403.6 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.4889, allocations: 17.95 kB / 403.6 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.439e-06/0.4889, allocations: 7.938 kB / 403.6 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.222e-06/0.4889, allocations: 3.781 kB / 403.6 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.4902, allocations: 0.5553 MB / 404.2 MB, free: 18.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.864e-05/0.4903, allocations: 88.73 kB / 404.3 MB, free: 18.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/0.4905, allocations: 21.86 kB / 404.3 MB, free: 18.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.4908, allocations: 21.42 kB / 404.3 MB, free: 18.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.491, allocations: 23.64 kB / 404.4 MB, free: 18.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.491, allocations: 7.156 kB / 404.4 MB, free: 18.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.4912, allocations: 108.4 kB / 404.5 MB, free: 17.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.97e-07/0.4912, allocations: 0 / 404.5 MB, free: 17.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008051/0.492, allocations: 62.75 kB / 404.5 MB, free: 17.99 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.000328/0.4923, allocations: 140.5 kB / 404.7 MB, free: 17.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001/0.4934, allocations: 486.6 kB / 405.1 MB, free: 17.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.231e-06/0.4934, allocations: 0 / 405.1 MB, free: 17.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006817/0.4941, allocations: 402.1 kB / 405.5 MB, free: 17.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.4945, allocations: 15.47 kB / 405.5 MB, free: 17.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008689/0.4954, allocations: 276.5 kB / 405.8 MB, free: 17.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.4959, allocations: 0.7076 MB / 406.5 MB, free: 16.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.496, allocations: 11.41 kB / 406.5 MB, free: 16.44 MB / 330.7 MB Notification: Performance of SimCode: time 2.866e-06/0.496, allocations: 0 / 406.5 MB, free: 16.44 MB / 330.7 MB Notification: Performance of Templates: time 0.003841/0.4999, allocations: 1.864 MB / 408.4 MB, free: 15.48 MB / 330.7 MB