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_4.0.0_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 270 MB / 283.6 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.95e-05, allocations: 4 kB / 348.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3156, allocations: 61.89 MB / 410.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.4929, allocations: 90.58 MB / 0.4891 GB, free: 15.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.4931, allocations: 67.97 kB / 0.4892 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02526/0.5184, allocations: 6.121 MB / 0.4952 GB, free: 9.695 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5184, allocations: 0 / 0.4952 GB, free: 9.695 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.5185, allocations: 4 kB / 0.4952 GB, free: 9.691 MB / 426.7 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.0008663/0.5194, allocations: 0.5829 MB / 0.4957 GB, free: 9.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5194, allocations: 16.02 kB / 0.4957 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.5195, allocations: 27.72 kB / 0.4958 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.5201, allocations: 285.6 kB / 0.496 GB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.5202, allocations: 93.05 kB / 0.4961 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.5203, allocations: 19.95 kB / 0.4962 GB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.5206, allocations: 145.6 kB / 0.4963 GB, free: 8.383 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.696e-06/0.5206, allocations: 0 / 0.4963 GB, free: 8.383 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.5207, allocations: 8 kB / 0.4963 GB, free: 8.375 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-06/0.5207, allocations: 4 kB / 0.4963 GB, free: 8.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.5209, allocations: 83.89 kB / 0.4964 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.5221, allocations: 0.6375 MB / 0.497 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.5224, allocations: 156 kB / 0.4972 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.5226, allocations: 86.56 kB / 0.4972 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.5227, allocations: 8 kB / 0.4972 GB, free: 7.312 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005227/0.5232, allocations: 417.4 kB / 0.4976 GB, free: 6.828 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 5.566e-06/0.5232, allocations: 0 / 0.4976 GB, free: 6.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007513/0.524, allocations: 346.4 kB / 0.498 GB, free: 6.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.5242, allocations: 225.5 kB / 0.4982 GB, free: 6.195 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.5246, allocations: 289.1 kB / 0.4985 GB, free: 5.902 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.5247, allocations: 37.64 kB / 0.4985 GB, free: 5.859 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.5248, allocations: 124.7 kB / 0.4986 GB, free: 5.734 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.5249, allocations: 55.34 kB / 0.4987 GB, free: 5.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.525, allocations: 4 kB / 0.4987 GB, free: 5.676 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.5252, allocations: 346.8 kB / 0.499 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.5253, allocations: 48.19 kB / 0.4991 GB, free: 5.281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.5255, allocations: 131.6 kB / 0.4992 GB, free: 5.117 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.5258, allocations: 153 kB / 0.4993 GB, free: 4.949 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.58e-06/0.5258, allocations: 0 / 0.4993 GB, free: 4.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006303/0.5264, allocations: 322.2 kB / 0.4996 GB, free: 4.609 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.091e-05/0.5265, allocations: 101.1 kB / 0.4997 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.388e-06/0.5266, allocations: 4.219 kB / 0.4997 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5266, allocations: 4 kB / 0.4997 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.5267, allocations: 23.94 kB / 0.4998 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.5268, allocations: 7.984 kB / 0.4998 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.527, allocations: 16 kB / 0.4998 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.527, allocations: 15.94 kB / 0.4998 GB, free: 4.422 MB / 426.7 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.0002387/0.5273, allocations: 249 kB / 0.5 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.402e-05/0.5274, allocations: 27.72 kB / 0.5001 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004543/0.5278, allocations: 201.1 kB / 0.5003 GB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.065e-06/0.5279, allocations: 4 kB / 0.5003 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.472e-06/0.5279, allocations: 0 / 0.5003 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.049e-06/0.5279, allocations: 3.984 kB / 0.5003 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.5283, allocations: 305.3 kB / 0.5005 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.034e-06/0.5283, allocations: 3.938 kB / 0.5006 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.5284, allocations: 12 kB / 0.5006 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.456e-06/0.5284, allocations: 0 / 0.5006 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.5284, allocations: 12 kB / 0.5006 GB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.668e-06/0.5284, allocations: 3.984 kB / 0.5006 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.112e-06/0.5285, allocations: 7.938 kB / 0.5006 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.5293, allocations: 450.9 kB / 0.501 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.5294, allocations: 116.8 kB / 0.5011 GB, free: 2.887 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.5295, allocations: 12 kB / 0.5011 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.5297, allocations: 23.98 kB / 0.5012 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.5298, allocations: 19.97 kB / 0.5012 GB, free: 2.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.5299, allocations: 15.95 kB / 0.5012 GB, free: 2.816 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003359/0.5302, allocations: 229.3 kB / 0.5014 GB, free: 2.594 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.5302, allocations: 0 / 0.5014 GB, free: 2.594 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004379/0.5307, allocations: 76 kB / 0.5015 GB, free: 2.52 MB / 426.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: 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.001466/0.5322, allocations: 437.6 kB / 0.5019 GB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000651/0.5328, allocations: 382 kB / 0.5023 GB, free: 1.809 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5329, allocations: 0 / 0.5023 GB, free: 1.809 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.5333, allocations: 342.1 kB / 0.5026 GB, free: 1.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.5337, allocations: 43.05 kB / 0.5026 GB, free: 1.398 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.5345, allocations: 361 kB / 0.503 GB, free: 1.016 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.535, allocations: 0.7522 MB / 0.5037 GB, free: 244 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.5352, allocations: 25.73 kB / 0.5037 GB, free: 220 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.031e-05/0.5353, allocations: 31.42 kB / 0.5038 GB, free: 188 kB / 426.7 MB Notification: Performance of SimCode: time 1.404e-06/0.5353, allocations: 3.938 kB / 0.5038 GB, free: 184 kB / 426.7 MB Notification: Performance of Templates: time 0.009487/0.5448, allocations: 3.247 MB / 0.5069 GB, free: 12.95 MB / 442.7 MB