Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadModel(Modelica): time 1.674/1.674, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.962e-05/4.977e-05, allocations: 4 kB / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.309, allocations: 38.77 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.4239, allocations: 72.25 MB / 336 MB, free: 1.48 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4241, allocations: 71.97 kB / 336.1 MB, free: 1.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08946/0.5136, allocations: 27.45 MB / 363.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.89e-06/0.5137, allocations: 0 / 363.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.5137, allocations: 4 kB / 363.6 MB, free: 6.035 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007559/0.5145, allocations: 0.6175 MB / 364.2 MB, free: 5.348 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5145, allocations: 8.031 kB / 364.2 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.971e-05/0.5146, allocations: 39.53 kB / 364.2 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.515, allocations: 257.5 kB / 364.5 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.5151, allocations: 8 kB / 364.5 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.5151, allocations: 11.94 kB / 364.5 MB, free: 4.988 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.5155, allocations: 141.6 kB / 364.6 MB, free: 4.844 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.241e-06/0.5155, allocations: 0 / 364.6 MB, free: 4.844 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.5156, allocations: 7.953 kB / 364.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.5156, allocations: 8 kB / 364.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.5158, allocations: 63.97 kB / 364.7 MB, free: 4.766 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008651/0.5167, allocations: 464.6 kB / 365.2 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.5169, allocations: 106.5 kB / 365.3 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.5171, allocations: 88.91 kB / 365.4 MB, free: 4.059 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.5172, allocations: 3.984 kB / 365.4 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.5176, allocations: 226.5 kB / 365.6 MB, free: 3.809 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.771e-06/0.5176, allocations: 0 / 365.6 MB, free: 3.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009386/0.5186, allocations: 435.9 kB / 366 MB, free: 3.352 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.5187, allocations: 170.2 kB / 366.2 MB, free: 3.148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007799/0.5195, allocations: 462.5 kB / 366.6 MB, free: 2.691 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.5196, allocations: 33.7 kB / 366.7 MB, free: 2.652 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.5197, allocations: 101.1 kB / 366.8 MB, free: 2.551 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.5197, allocations: 35.53 kB / 366.8 MB, free: 2.516 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.5198, allocations: 8 kB / 366.8 MB, free: 2.508 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.52, allocations: 322.8 kB / 367.1 MB, free: 2.184 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.5201, allocations: 59.97 kB / 367.2 MB, free: 2.125 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.5203, allocations: 63.98 kB / 367.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.5206, allocations: 170.8 kB / 367.4 MB, free: 1.871 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.948e-06/0.5206, allocations: 0 / 367.4 MB, free: 1.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008197/0.5214, allocations: 412.2 kB / 367.8 MB, free: 1.438 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.5216, allocations: 126.8 kB / 367.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.232e-06/0.5216, allocations: 64 / 367.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.5216, allocations: 4 kB / 367.9 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-05/0.5217, allocations: 0 / 367.9 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.748e-06/0.5217, allocations: 4 kB / 367.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.5219, allocations: 15.94 kB / 367.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.5221, allocations: 123.7 kB / 368.1 MB, free: 1.145 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 0.000266/0.5224, allocations: 245.5 kB / 368.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.098e-05/0.5225, allocations: 43.48 kB / 368.3 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.5226, allocations: 67.42 kB / 368.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.351e-06/0.5226, allocations: 0 / 368.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.991e-06/0.5227, allocations: 0 / 368.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.677e-06/0.5227, allocations: 3.984 kB / 368.4 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2263/0.7489, allocations: 0.8273 MB / 369.2 MB, free: 90.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.548e-06/0.749, allocations: 0.5 kB / 369.2 MB, free: 90.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.749, allocations: 1.812 kB / 369.2 MB, free: 90.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.749, allocations: 4.156 kB / 369.3 MB, free: 90.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.7491, allocations: 23.06 kB / 369.3 MB, free: 90.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.203e-06/0.7491, allocations: 1.438 kB / 369.3 MB, free: 90.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.7491, allocations: 1.312 kB / 369.3 MB, free: 90.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.7503, allocations: 0.5461 MB / 369.8 MB, free: 89.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/0.7508, allocations: 255.4 kB / 370.1 MB, free: 89.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.7509, allocations: 11.52 kB / 370.1 MB, free: 89.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.7511, allocations: 15.95 kB / 370.1 MB, free: 89.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.7513, allocations: 35.92 kB / 370.1 MB, free: 89.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002034/0.7515, allocations: 119.2 kB / 370.3 MB, free: 89.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007331/0.7523, allocations: 387.9 kB / 370.6 MB, free: 89.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.63e-07/0.7523, allocations: 0.6562 kB / 370.6 MB, free: 89.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004463/0.7527, allocations: 42.25 kB / 370.7 MB, free: 89.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * 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.0001617/0.7529, allocations: 123.3 kB / 370.8 MB, free: 89.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005883/0.7535, allocations: 443.2 kB / 371.2 MB, free: 89.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.479e-06/0.7536, allocations: 2.562 kB / 371.2 MB, free: 89.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.7539, allocations: 374.6 kB / 371.6 MB, free: 89.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.7545, allocations: 108.9 kB / 371.7 MB, free: 89.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.7556, allocations: 0.5354 MB / 372.2 MB, free: 88.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.756, allocations: 0.8136 MB / 373 MB, free: 88.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.454e-05/0.7561, allocations: 12.17 kB / 373.1 MB, free: 88.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.7561, allocations: 11.41 kB / 373.1 MB, free: 88.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.693e-06/0.7561, allocations: 0 / 373.1 MB, free: 88.11 MB / 314.7 MB Notification: Performance of Templates: time 0.009833/0.766, allocations: 5.62 MB / 378.7 MB, free: 87.57 MB / 314.7 MB