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_trunk_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadModel(ModelicaTest): time 2.585/2.585, allocations: 270.1 MB / 283.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.377e-05, allocations: 7.984 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1293, allocations: 61.89 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.5836, allocations: 90.58 MB / 0.4891 GB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.5838, allocations: 63.97 kB / 0.4892 GB, free: 13.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02579/0.6097, allocations: 6.123 MB / 0.4952 GB, free: 7.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.156e-06/0.6097, allocations: 0 / 0.4952 GB, free: 7.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.595e-05/0.6097, allocations: 4 kB / 0.4952 GB, free: 7.395 MB / 410.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.0009155/0.6107, allocations: 0.6022 MB / 0.4958 GB, free: 6.723 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6107, allocations: 8.031 kB / 0.4958 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.656e-05/0.6108, allocations: 31.7 kB / 0.4958 GB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/0.6114, allocations: 277.6 kB / 0.4961 GB, free: 6.375 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.6116, allocations: 93.05 kB / 0.4961 GB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.6116, allocations: 19.95 kB / 0.4962 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.612, allocations: 153.6 kB / 0.4963 GB, free: 6.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.612, allocations: 3.984 kB / 0.4963 GB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.6121, allocations: 11.94 kB / 0.4963 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.778e-06/0.6121, allocations: 4 kB / 0.4963 GB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.6123, allocations: 75.91 kB / 0.4964 GB, free: 5.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.6135, allocations: 0.6297 MB / 0.497 GB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.6139, allocations: 168 kB / 0.4972 GB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.6141, allocations: 86.56 kB / 0.4973 GB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.6141, allocations: 0 / 0.4973 GB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005363/0.6146, allocations: 423.7 kB / 0.4977 GB, free: 4.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.901e-06/0.6147, allocations: 0 / 0.4977 GB, free: 4.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007961/0.6155, allocations: 350.5 kB / 0.498 GB, free: 4.152 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/0.6156, allocations: 221.5 kB / 0.4982 GB, free: 3.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.6161, allocations: 289 kB / 0.4985 GB, free: 3.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.6162, allocations: 33.7 kB / 0.4985 GB, free: 3.551 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.6163, allocations: 132.7 kB / 0.4986 GB, free: 3.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/0.6164, allocations: 55.34 kB / 0.4987 GB, free: 3.363 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.6165, allocations: 8 kB / 0.4987 GB, free: 3.355 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.6167, allocations: 334.8 kB / 0.499 GB, free: 3.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.6168, allocations: 52.3 kB / 0.4991 GB, free: 2.969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.6171, allocations: 141.4 kB / 0.4992 GB, free: 2.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.6173, allocations: 145 kB / 0.4993 GB, free: 2.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.719e-06/0.6173, allocations: 4.031 kB / 0.4993 GB, free: 2.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006382/0.618, allocations: 314.3 kB / 0.4996 GB, free: 2.301 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.445e-05/0.6181, allocations: 105 kB / 0.4997 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.6181, allocations: 4 kB / 0.4998 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6181, allocations: 4 kB / 0.4998 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.6183, allocations: 23.92 kB / 0.4998 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.102e-06/0.6183, allocations: 0 / 0.4998 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.6186, allocations: 28.2 kB / 0.4998 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.6186, allocations: 12 kB / 0.4998 GB, free: 2.109 MB / 410.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.000247/0.6189, allocations: 237 kB / 0.5 GB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/0.619, allocations: 35.7 kB / 0.5001 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/0.6195, allocations: 197.1 kB / 0.5003 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-06/0.6195, allocations: 4 kB / 0.5003 GB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.976e-06/0.6195, allocations: 4.094 kB / 0.5003 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.232e-06/0.6195, allocations: 3.938 kB / 0.5003 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.6199, allocations: 305.3 kB / 0.5006 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.055e-06/0.62, allocations: 4.188 kB / 0.5006 GB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.62, allocations: 8 kB / 0.5006 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.692e-06/0.62, allocations: 0 / 0.5006 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.6201, allocations: 15.97 kB / 0.5006 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.916e-06/0.6201, allocations: 4 kB / 0.5006 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.597e-06/0.6201, allocations: 3.938 kB / 0.5006 GB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.621, allocations: 458.8 kB / 0.501 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.6211, allocations: 108.8 kB / 0.5011 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.6212, allocations: 19.98 kB / 0.5012 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.6214, allocations: 16 kB / 0.5012 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.6215, allocations: 27.95 kB / 0.5012 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.6216, allocations: 15.95 kB / 0.5012 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003514/0.6219, allocations: 229.3 kB / 0.5014 GB, free: 292 kB / 410.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.6219, allocations: 0 / 0.5014 GB, free: 292 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004739/0.6224, allocations: 68 kB / 0.5015 GB, free: 224 kB / 410.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.001515/0.624, allocations: 430.4 kB / 0.5019 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000704/0.6247, allocations: 374.1 kB / 0.5023 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.6247, allocations: 8.375 kB / 0.5023 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006949/0.6254, allocations: 342.1 kB / 0.5026 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.6259, allocations: 40.41 kB / 0.5026 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009516/0.6269, allocations: 368.2 kB / 0.503 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.6274, allocations: 0.76 MB / 0.5037 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.6275, allocations: 25.53 kB / 0.5038 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/0.6276, allocations: 23.44 kB / 0.5038 GB, free: 13.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.834e-06/0.6276, allocations: 0 / 0.5038 GB, free: 13.86 MB / 426.7 MB Notification: Performance of Templates: time 0.01022/0.6379, allocations: 3.251 MB / 0.507 GB, free: 10.64 MB / 426.7 MB