Running command: translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.3_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.758e-05, allocations: 11.92 kB / 323.4 MB, free: 4.328 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3185, allocations: 58.83 MB / 382.2 MB, free: 10.29 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.455, allocations: 88.99 MB / 471.2 MB, free: 3.523 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4553, allocations: 71.97 kB / 471.3 MB, free: 3.453 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02557/0.4808, allocations: 5.97 MB / 477.2 MB, free: 13.48 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4809, allocations: 0 / 477.2 MB, free: 13.48 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.39e-05/0.4809, allocations: 4 kB / 477.2 MB, free: 13.47 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008937/0.4818, allocations: 0.5904 MB / 477.8 MB, free: 12.81 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4819, allocations: 12.03 kB / 477.8 MB, free: 12.8 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.335e-05/0.482, allocations: 27.72 kB / 477.9 MB, free: 12.77 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.4826, allocations: 281.5 kB / 478.1 MB, free: 12.46 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.4827, allocations: 97.09 kB / 478.2 MB, free: 12.34 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.4828, allocations: 16 kB / 478.2 MB, free: 12.33 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.4832, allocations: 145.6 kB / 478.4 MB, free: 12.16 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.242e-06/0.4832, allocations: 4 kB / 478.4 MB, free: 12.16 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.4832, allocations: 4 kB / 478.4 MB, free: 12.16 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-06/0.4832, allocations: 0 / 478.4 MB, free: 12.16 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.4835, allocations: 83.91 kB / 478.5 MB, free: 12.07 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.4846, allocations: 0.6219 MB / 479.1 MB, free: 11.39 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.485, allocations: 168 kB / 479.3 MB, free: 11.2 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.4852, allocations: 86.52 kB / 479.4 MB, free: 11.11 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.4852, allocations: 4 kB / 479.4 MB, free: 11.11 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005522/0.4858, allocations: 425.3 kB / 479.8 MB, free: 10.61 MB / 410.8 MB Notification: Performance of pre-optimization done (n=23): time 5.971e-06/0.4858, allocations: 112 / 479.8 MB, free: 10.61 MB / 410.8 MB Notification: Performance of matching and sorting (n=23): time 0.0008041/0.4866, allocations: 358.3 kB / 480.1 MB, free: 10.24 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.4868, allocations: 221.6 kB / 480.3 MB, free: 9.973 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.4873, allocations: 285 kB / 480.6 MB, free: 9.684 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.4874, allocations: 41.69 kB / 480.7 MB, free: 9.637 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.4876, allocations: 128.6 kB / 480.8 MB, free: 9.508 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.4877, allocations: 51.44 kB / 480.8 MB, free: 9.457 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.4877, allocations: 4 kB / 480.8 MB, free: 9.453 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.4879, allocations: 338.8 kB / 481.2 MB, free: 9.113 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.488, allocations: 44.19 kB / 481.2 MB, free: 9.07 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.4883, allocations: 146.5 kB / 481.4 MB, free: 8.891 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.4885, allocations: 145 kB / 481.5 MB, free: 8.73 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.948e-06/0.4885, allocations: 0 / 481.5 MB, free: 8.73 MB / 410.8 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006355/0.4892, allocations: 330.2 kB / 481.8 MB, free: 8.383 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-05/0.4893, allocations: 97.09 kB / 481.9 MB, free: 8.27 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4893, allocations: 0 / 481.9 MB, free: 8.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4893, allocations: 7.938 kB / 481.9 MB, free: 8.262 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.4895, allocations: 19.98 kB / 481.9 MB, free: 8.242 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.4895, allocations: 7.953 kB / 481.9 MB, free: 8.234 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.4897, allocations: 32.14 kB / 482 MB, free: 8.203 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.4898, allocations: 8.188 kB / 482 MB, free: 8.195 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition5,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0002341/0.49, allocations: 235.9 kB / 482.2 MB, free: 7.941 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/0.4901, allocations: 31.72 kB / 482.2 MB, free: 7.91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.4906, allocations: 205.1 kB / 482.4 MB, free: 7.695 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.439e-06/0.4906, allocations: 0 / 482.4 MB, free: 7.695 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4906, allocations: 4 kB / 482.5 MB, free: 7.691 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.559e-06/0.4907, allocations: 7.953 kB / 482.5 MB, free: 7.684 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.4911, allocations: 305.4 kB / 482.8 MB, free: 7.336 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4911, allocations: 0 / 482.8 MB, free: 7.336 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.4912, allocations: 11.98 kB / 482.8 MB, free: 7.324 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.4912, allocations: 0 / 482.8 MB, free: 7.324 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.4912, allocations: 12 kB / 482.8 MB, free: 7.312 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.617e-06/0.4912, allocations: 0 / 482.8 MB, free: 7.312 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.4913, allocations: 3.938 kB / 482.8 MB, free: 7.309 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/0.4921, allocations: 462.3 kB / 483.2 MB, free: 6.805 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.4922, allocations: 112.8 kB / 483.3 MB, free: 6.676 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/0.4923, allocations: 12 kB / 483.4 MB, free: 6.664 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.4925, allocations: 23.94 kB / 483.4 MB, free: 6.641 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.4926, allocations: 20.08 kB / 483.4 MB, free: 6.621 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.4927, allocations: 19.92 kB / 483.4 MB, free: 6.602 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0003506/0.493, allocations: 229.4 kB / 483.6 MB, free: 6.379 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.67e-07/0.4931, allocations: 0 / 483.6 MB, free: 6.379 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0004711/0.4935, allocations: 75.92 kB / 483.7 MB, free: 6.305 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.001484/0.495, allocations: 418.8 kB / 484.1 MB, free: 5.965 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0007322/0.4958, allocations: 382 kB / 484.5 MB, free: 5.555 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4958, allocations: 0 / 484.5 MB, free: 5.555 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.4963, allocations: 334.1 kB / 484.8 MB, free: 5.191 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.4969, allocations: 44.5 kB / 484.9 MB, free: 5.148 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.4984, allocations: 360.7 kB / 485.2 MB, free: 4.766 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/0.4991, allocations: 0.76 MB / 486 MB, free: 3.98 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002483/0.4994, allocations: 29.91 kB / 486 MB, free: 3.953 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.4996, allocations: 23.44 kB / 486 MB, free: 3.93 MB / 410.8 MB Notification: Performance of SimCode: time 2.328e-06/0.4996, allocations: 0 / 486 MB, free: 3.93 MB / 410.8 MB Notification: Performance of Templates: time 0.0161/0.5157, allocations: 3.257 MB / 489.3 MB, free: 0.6719 MB / 410.8 MB