Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.835e-05, allocations: 8 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08402/0.08407, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3962/0.4804, allocations: 77.57 MB / 377.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.4808, allocations: 71.98 kB / 377.5 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1223/0.6031, allocations: 26.96 MB / 404.5 MB, free: 18.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.553e-06/0.6032, allocations: 0 / 404.5 MB, free: 18.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.6032, allocations: 4.094 kB / 404.5 MB, free: 18.39 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.0005041/0.6037, allocations: 0.6163 MB / 405.1 MB, free: 17.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.6038, allocations: 11.72 kB / 405.1 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.6039, allocations: 35.06 kB / 405.1 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.6042, allocations: 262.7 kB / 405.4 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.6042, allocations: 11.92 kB / 405.4 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.6043, allocations: 10.98 kB / 405.4 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.6046, allocations: 142.8 kB / 405.6 MB, free: 17.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.74e-06/0.6046, allocations: 0 / 405.6 MB, free: 17.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.6046, allocations: 3.844 kB / 405.6 MB, free: 17.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-06/0.6047, allocations: 0 / 405.6 MB, free: 17.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.6048, allocations: 66.97 kB / 405.6 MB, free: 17.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007159/0.6056, allocations: 481.9 kB / 406.1 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.6058, allocations: 98.42 kB / 406.2 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.606, allocations: 92.77 kB / 406.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.094e-06/0.606, allocations: 3.906 kB / 406.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003023/0.6063, allocations: 219.5 kB / 406.5 MB, free: 17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.011e-06/0.6063, allocations: 4 kB / 406.5 MB, free: 17 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007871/0.6071, allocations: 434 kB / 406.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.6072, allocations: 169.6 kB / 407.1 MB, free: 16.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006739/0.6079, allocations: 463.8 kB / 407.6 MB, free: 16.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.608, allocations: 29.64 kB / 407.6 MB, free: 16.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.608, allocations: 99.47 kB / 407.7 MB, free: 16.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.6081, allocations: 27.28 kB / 407.7 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.6081, allocations: 7.844 kB / 407.7 MB, free: 16.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.6082, allocations: 329.8 kB / 408 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.6084, allocations: 65.38 kB / 408.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.6085, allocations: 61.36 kB / 408.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.6087, allocations: 172.1 kB / 408.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.582e-06/0.6088, allocations: 0 / 408.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006969/0.6095, allocations: 410.9 kB / 408.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/0.6096, allocations: 124.5 kB / 408.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.328e-06/0.6096, allocations: 3.922 kB / 408.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.6096, allocations: 3.938 kB / 408.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.815e-05/0.6096, allocations: 0 / 408.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6096, allocations: 8.141 kB / 408.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.6098, allocations: 19.14 kB / 408.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.61, allocations: 112.8 kB / 409 MB, free: 15.4 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.0001607/0.6102, allocations: 256.3 kB / 409.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.6102, allocations: 34.78 kB / 409.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.6104, allocations: 65.62 kB / 409.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-06/0.6104, allocations: 0 / 409.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6104, allocations: 3.984 kB / 409.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.598e-06/0.6104, allocations: 4 kB / 409.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.6116, allocations: 0.8369 MB / 410.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.451e-06/0.6116, allocations: 0 / 410.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.96e-06/0.6116, allocations: 0 / 410.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.239e-06/0.6116, allocations: 0 / 410.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.6117, allocations: 19.7 kB / 410.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.93e-06/0.6117, allocations: 0 / 410.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6117, allocations: 0 / 410.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007858/0.6125, allocations: 0.5651 MB / 410.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.6129, allocations: 256.1 kB / 411 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.613, allocations: 11.59 kB / 411 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.6132, allocations: 11.89 kB / 411 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.6134, allocations: 35.2 kB / 411.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.6135, allocations: 125.3 kB / 411.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005553/0.6141, allocations: 383.9 kB / 411.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.6141, allocations: 0 / 411.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000396/0.6145, allocations: 50.69 kB / 411.6 MB, free: 13.8 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.0001345/0.6147, allocations: 118.1 kB / 411.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005182/0.6152, allocations: 448 kB / 412.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6152, allocations: 0 / 412.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.6155, allocations: 370.2 kB / 412.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.6161, allocations: 110.8 kB / 412.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.6171, allocations: 0.5447 MB / 413.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.6175, allocations: 0.8084 MB / 414 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.6175, allocations: 4.578 kB / 414 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.6176, allocations: 11.34 kB / 414 MB, free: 12.1 MB / 314.7 MB Notification: Performance of SimCode: time 1.424e-06/0.6176, allocations: 0 / 414 MB, free: 12.1 MB / 314.7 MB Notification: Performance of Templates: time 0.009658/0.6273, allocations: 5.615 MB / 419.6 MB, free: 9.242 MB / 314.7 MB