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_cpp_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadModel(ModelicaTest): time 2.24/2.24, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.877e-05/2.89e-05, allocations: 4 kB / 304.9 MB, free: 5.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.323, allocations: 54.86 MB / 359.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4492, allocations: 80.92 MB / 440.7 MB, free: 84 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.4494, allocations: 64.75 kB / 440.7 MB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008413/0.4578, allocations: 1.922 MB / 442.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.398e-06/0.4579, allocations: 0 / 442.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.88e-06/0.4579, allocations: 4 kB / 442.7 MB, free: 14.12 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.00068/0.4586, allocations: 0.5222 MB / 443.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4587, allocations: 8.031 kB / 443.2 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.4587, allocations: 19.86 kB / 443.2 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.4589, allocations: 175.6 kB / 443.4 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.4591, allocations: 89.11 kB / 443.5 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.4591, allocations: 16 kB / 443.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.4595, allocations: 128.2 kB / 443.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4595, allocations: 7.219 kB / 443.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.4595, allocations: 11.98 kB / 443.6 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.727e-06/0.4595, allocations: 3.953 kB / 443.6 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.4598, allocations: 67.98 kB / 443.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009009/0.4607, allocations: 0.5245 MB / 444.2 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.461, allocations: 143.7 kB / 444.4 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.4612, allocations: 94.75 kB / 444.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.4612, allocations: 3.984 kB / 444.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005465/0.4618, allocations: 459.5 kB / 444.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 5.713e-06/0.4618, allocations: 0.8438 kB / 444.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007888/0.4626, allocations: 380.2 kB / 445.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/0.4628, allocations: 247.3 kB / 445.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.4629, allocations: 123 kB / 445.6 MB, free: 10.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.463, allocations: 34.27 kB / 445.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.4631, allocations: 167 kB / 445.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/0.4632, allocations: 43.5 kB / 445.9 MB, free: 10.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.4632, allocations: 8 kB / 445.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4634, allocations: 318.8 kB / 446.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.4636, allocations: 53.31 kB / 446.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.4638, allocations: 108.8 kB / 446.4 MB, free: 9.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.464, allocations: 201.4 kB / 446.6 MB, free: 9.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.693e-06/0.4641, allocations: 0 / 446.6 MB, free: 9.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000657/0.4647, allocations: 379.5 kB / 446.9 MB, free: 9.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.4649, allocations: 158 kB / 447.1 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.23e-06/0.4649, allocations: 4 kB / 447.1 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4649, allocations: 4 kB / 447.1 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.465, allocations: 15.92 kB / 447.1 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.465, allocations: 4 kB / 447.1 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.4652, allocations: 19.91 kB / 447.1 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.4653, allocations: 18.66 kB / 447.1 MB, free: 9.082 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.0002738/0.4656, allocations: 265.9 kB / 447.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.4656, allocations: 15.91 kB / 447.4 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.4657, allocations: 16.58 kB / 447.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.627e-06/0.4657, allocations: 240 / 447.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.825e-06/0.4657, allocations: 0 / 447.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-06/0.4657, allocations: 7.984 kB / 447.4 MB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.4667, allocations: 0.5629 MB / 448 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.4667, allocations: 3.953 kB / 448 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/0.4667, allocations: 8 kB / 448 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.4667, allocations: 0 / 448 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.4668, allocations: 16.92 kB / 448 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.4668, allocations: 4 kB / 448 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.681e-06/0.4668, allocations: 0 / 448 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008697/0.4677, allocations: 0.5602 MB / 448.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.4678, allocations: 88.92 kB / 448.7 MB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.4678, allocations: 12 kB / 448.7 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.4681, allocations: 19.98 kB / 448.7 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.4682, allocations: 16.83 kB / 448.7 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.4682, allocations: 15.98 kB / 448.8 MB, free: 7.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.713e-05/0.4683, allocations: 100.7 kB / 448.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.4684, allocations: 0 / 448.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004892/0.4688, allocations: 67.98 kB / 448.9 MB, free: 7.137 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.0002601/0.4691, allocations: 135.2 kB / 449 MB, free: 6.996 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007239/0.4699, allocations: 481.3 kB / 449.5 MB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.099e-06/0.4699, allocations: 3.938 kB / 449.5 MB, free: 6.461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004893/0.4704, allocations: 407.4 kB / 449.9 MB, free: 6.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.4706, allocations: 15.95 kB / 449.9 MB, free: 6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.4713, allocations: 258.8 kB / 450.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.4717, allocations: 0.716 MB / 450.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.4718, allocations: 15.38 kB / 450.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.4718, allocations: 0 / 450.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of Templates: time 0.004591/0.4764, allocations: 1.852 MB / 452.8 MB, free: 3.121 MB / 378.7 MB