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 1.999/1.999, allocations: 209.3 MB / 223.8 MB, free: 0.6523 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.337e-05, allocations: 4 kB / 276.2 MB, free: 15.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3842, allocations: 48.69 MB / 324.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.001935/0.3862, allocations: 1.193 MB / 326.1 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3873, allocations: 469.2 kB / 326.5 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.3873, allocations: 2.375 kB / 326.5 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.3874, allocations: 6.469 kB / 326.5 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.981e-05/0.3875, allocations: 8 kB / 326.5 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.3879, allocations: 89.56 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.3881, allocations: 58.06 kB / 326.7 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.891e-05/0.3882, allocations: 10.88 kB / 326.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.3883, allocations: 44.83 kB / 326.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.3884, allocations: 45.28 kB / 326.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.3885, allocations: 44.69 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.3886, allocations: 9.031 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.3886, allocations: 21.27 kB / 326.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.3887, allocations: 20.69 kB / 326.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.3889, allocations: 95.03 kB / 327 MB, free: 2.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3889, allocations: 0 / 327 MB, free: 2.457 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.389, allocations: 1.219 kB / 327 MB, free: 2.457 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.389, allocations: 0 / 327 MB, free: 2.457 MB / 266.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.0006014/0.3896, allocations: 0.5327 MB / 327.5 MB, free: 1.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3896, allocations: 9.844 kB / 327.5 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.3897, allocations: 18.81 kB / 327.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.3898, allocations: 175.2 kB / 327.7 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-05/0.3899, allocations: 91.81 kB / 327.8 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.39, allocations: 12.81 kB / 327.8 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.3904, allocations: 145.8 kB / 327.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3904, allocations: 0 / 327.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.3904, allocations: 5.531 kB / 327.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3905, allocations: 5.375 kB / 328 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.3908, allocations: 88.05 kB / 328 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008443/0.3917, allocations: 0.5249 MB / 328.6 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.392, allocations: 153.9 kB / 328.7 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3921, allocations: 5.219 kB / 328.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005401/0.3926, allocations: 468.8 kB / 329.2 MB, free: 472 kB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.494e-06/0.3926, allocations: 3.938 kB / 329.2 MB, free: 468 kB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.00138/0.394, allocations: 0.7785 MB / 330 MB, free: 15.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.3942, allocations: 246.4 kB / 330.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3944, allocations: 122.4 kB / 330.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.3944, allocations: 34.72 kB / 330.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.3945, allocations: 94.56 kB / 330.4 MB, free: 15.31 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/0.3946, allocations: 46.28 kB / 330.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.3946, allocations: 7.344 kB / 330.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3948, allocations: 331 kB / 330.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.395, allocations: 54.73 kB / 330.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.3953, allocations: 118 kB / 331 MB, free: 14.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.3956, allocations: 204.4 kB / 331.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3956, allocations: 1.125 kB / 331.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008298/0.3965, allocations: 406.1 kB / 331.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.3966, allocations: 154.9 kB / 331.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3966, allocations: 2.062 kB / 331.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3967, allocations: 3.031 kB / 331.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3968, allocations: 22.38 kB / 331.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3968, allocations: 2.844 kB / 331.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.397, allocations: 25.86 kB / 331.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.397, allocations: 17.06 kB / 331.8 MB, free: 14.2 MB / 282.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.0003019/0.3974, allocations: 272.8 kB / 332.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.3974, allocations: 22.61 kB / 332.1 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.3975, allocations: 11.92 kB / 332.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3975, allocations: 2.125 kB / 332.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3975, allocations: 1.094 kB / 332.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3975, allocations: 1.719 kB / 332.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009479/0.3985, allocations: 0.5734 MB / 332.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3985, allocations: 2.859 kB / 332.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.622e-05/0.3985, allocations: 2.031 kB / 332.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3985, allocations: 1.375 kB / 332.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.3986, allocations: 9.328 kB / 332.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3986, allocations: 1.375 kB / 332.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.3986, allocations: 6.312 kB / 332.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.3997, allocations: 0.5841 MB / 333.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.3998, allocations: 97.64 kB / 333.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/0.3999, allocations: 10.23 kB / 333.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.4001, allocations: 23.22 kB / 333.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4002, allocations: 21.31 kB / 333.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.4003, allocations: 10.94 kB / 333.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.4004, allocations: 102.3 kB / 333.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4004, allocations: 5.312 kB / 333.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004755/0.4009, allocations: 65.12 kB / 333.6 MB, free: 12.86 MB / 282.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.0002637/0.4011, allocations: 141.5 kB / 333.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000887/0.402, allocations: 0.4924 MB / 334.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4021, allocations: 1.25 kB / 334.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.4027, allocations: 417.1 kB / 334.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.403, allocations: 9.453 kB / 334.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008652/0.4039, allocations: 329.5 kB / 335 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.4042, allocations: 0.7141 MB / 335.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.922e-05/0.4043, allocations: 5.828 kB / 335.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.4044, allocations: 12.69 kB / 335.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4044, allocations: 0 / 335.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of Templates: time 0.00691/0.4113, allocations: 1.748 MB / 337.5 MB, free: 10.88 MB / 282.7 MB