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_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadModel(ModelicaTest): time 2.57/2.57, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.422e-05/5.427e-05, allocations: 7.984 kB / 308 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4114, allocations: 54.86 MB / 362.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002586/0.4141, allocations: 1.206 MB / 364.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.4155, allocations: 481.8 kB / 364.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.4157, allocations: 2.531 kB / 364.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.804e-05/0.4157, allocations: 3.938 kB / 364.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.4158, allocations: 5.422 kB / 364.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005991/0.4164, allocations: 88.8 kB / 364.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.4166, allocations: 63.36 kB / 364.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.4167, allocations: 3.406 kB / 364.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.282e-05/0.4168, allocations: 49.75 kB / 364.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.4169, allocations: 45.56 kB / 364.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.4171, allocations: 40.62 kB / 364.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.4172, allocations: 9.844 kB / 364.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.4173, allocations: 18.45 kB / 364.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.4173, allocations: 19.69 kB / 364.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.4176, allocations: 100.8 kB / 365 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4176, allocations: 0 / 365 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4176, allocations: 3.938 kB / 365 MB, free: 10.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.4176, allocations: 1.688 kB / 365 MB, free: 10.62 MB / 298.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.0008084/0.4185, allocations: 0.5306 MB / 365.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4185, allocations: 9.781 kB / 365.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.684e-05/0.4186, allocations: 23.66 kB / 365.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.4188, allocations: 170.9 kB / 365.7 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.419, allocations: 91 kB / 365.8 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.419, allocations: 15.78 kB / 365.8 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.4195, allocations: 144.5 kB / 366 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4195, allocations: 0.9375 kB / 366 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.4196, allocations: 8.547 kB / 366 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4196, allocations: 5.125 kB / 366 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.42, allocations: 89.42 kB / 366.1 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.4211, allocations: 0.5234 MB / 366.6 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.4216, allocations: 150.5 kB / 366.7 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.4216, allocations: 9 kB / 366.7 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006864/0.4223, allocations: 466.5 kB / 367.2 MB, free: 8.461 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 5.119e-06/0.4223, allocations: 0 / 367.2 MB, free: 8.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001798/0.4241, allocations: 0.7805 MB / 368 MB, free: 7.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001866/0.4244, allocations: 250.9 kB / 368.2 MB, free: 7.492 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.4246, allocations: 127.2 kB / 368.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.4246, allocations: 34.58 kB / 368.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.4247, allocations: 96.34 kB / 368.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.4248, allocations: 48.25 kB / 368.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.4249, allocations: 2.844 kB / 368.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.425, allocations: 330.9 kB / 368.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.4253, allocations: 54.91 kB / 368.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.4256, allocations: 111.7 kB / 369 MB, free: 6.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.4259, allocations: 209.8 kB / 369.2 MB, free: 6.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.426, allocations: 288 / 369.2 MB, free: 6.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009161/0.4269, allocations: 409.2 kB / 369.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.427, allocations: 148.5 kB / 369.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4271, allocations: 6.188 kB / 369.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.4271, allocations: 2.875 kB / 369.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.4272, allocations: 11.89 kB / 369.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.4273, allocations: 11.06 kB / 369.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.4275, allocations: 26.86 kB / 369.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.4275, allocations: 12.66 kB / 369.8 MB, free: 6.078 MB / 298.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.000325/0.4279, allocations: 270.6 kB / 370.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.4279, allocations: 25.36 kB / 370.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.428, allocations: 15.48 kB / 370.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4281, allocations: 1.625 kB / 370.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4281, allocations: 0.875 kB / 370.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4281, allocations: 1.375 kB / 370.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.4291, allocations: 0.5748 MB / 370.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4292, allocations: 4 kB / 370.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.4292, allocations: 0 / 370.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.4292, allocations: 4 kB / 370.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.4293, allocations: 8 kB / 370.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4293, allocations: 192 / 370.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4293, allocations: 4 kB / 370.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.4305, allocations: 0.5836 MB / 371.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.4306, allocations: 88.95 kB / 371.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.689e-05/0.4307, allocations: 15.98 kB / 371.4 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.4309, allocations: 23.98 kB / 371.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.431, allocations: 23.97 kB / 371.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.4311, allocations: 8 kB / 371.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.4312, allocations: 101 kB / 371.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.725e-06/0.4312, allocations: 0 / 371.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004946/0.4317, allocations: 71.88 kB / 371.6 MB, free: 4.199 MB / 298.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.00033/0.4321, allocations: 139.2 kB / 371.8 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009704/0.433, allocations: 0.4939 MB / 372.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4331, allocations: 0 / 372.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006348/0.4337, allocations: 413.5 kB / 372.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.434, allocations: 12.03 kB / 372.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/0.435, allocations: 328.2 kB / 373 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.4354, allocations: 0.716 MB / 373.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.227e-05/0.4354, allocations: 448 / 373.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.4355, allocations: 15.44 kB / 373.7 MB, free: 1.926 MB / 298.7 MB Notification: Performance of SimCode: time 1.473e-06/0.4355, allocations: 0 / 373.7 MB, free: 1.926 MB / 298.7 MB Notification: Performance of Templates: time 0.007231/0.4427, allocations: 1.729 MB / 375.5 MB, free: 204 kB / 298.7 MB