Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadModel(Modelica): time 1.872/1.872, allocations: 194.9 MB / 208.4 MB, free: 3.234 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.958e-05, allocations: 4 kB / 255.3 MB, free: 3.207 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07731/0.07736, allocations: 44.49 MB / 299.8 MB, free: 6.656 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3276/0.4051, allocations: 77.56 MB / 377.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.4053, allocations: 73.23 kB / 377.5 MB, free: 22.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0793/0.4846, allocations: 26.95 MB / 404.4 MB, free: 18.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4847, allocations: 3.812 kB / 404.4 MB, free: 18.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.4847, allocations: 3.812 kB / 404.4 MB, free: 18.56 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.0005381/0.4852, allocations: 0.6195 MB / 405 MB, free: 17.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4853, allocations: 11.62 kB / 405.1 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/0.4854, allocations: 39.06 kB / 405.1 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.4857, allocations: 254.7 kB / 405.3 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.4857, allocations: 11.77 kB / 405.4 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.4858, allocations: 11.53 kB / 405.4 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.4861, allocations: 146.8 kB / 405.5 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.959e-06/0.4861, allocations: 3.938 kB / 405.5 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.4862, allocations: 7.719 kB / 405.5 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-06/0.4862, allocations: 0 / 405.5 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.4864, allocations: 64.62 kB / 405.6 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.4871, allocations: 480 kB / 406.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.4873, allocations: 97.92 kB / 406.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.4875, allocations: 92.55 kB / 406.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.4876, allocations: 0 / 406.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.4879, allocations: 224.6 kB / 406.5 MB, free: 17.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.639e-06/0.4879, allocations: 0 / 406.5 MB, free: 17.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007982/0.4887, allocations: 433.8 kB / 406.9 MB, free: 17.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.4888, allocations: 165.7 kB / 407 MB, free: 16.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006896/0.4895, allocations: 466.9 kB / 407.5 MB, free: 16.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.4895, allocations: 33.61 kB / 407.5 MB, free: 16.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.4896, allocations: 163 kB / 407.7 MB, free: 16.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.4897, allocations: 34.45 kB / 407.7 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.4897, allocations: 3.906 kB / 407.7 MB, free: 16.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.4898, allocations: 318.4 kB / 408 MB, free: 16.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.4899, allocations: 60.7 kB / 408.1 MB, free: 16.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.4901, allocations: 65.25 kB / 408.2 MB, free: 16.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.4903, allocations: 180.5 kB / 408.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4903, allocations: 3.969 kB / 408.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000655/0.491, allocations: 400 kB / 408.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.875e-05/0.491, allocations: 122.8 kB / 408.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.815e-06/0.4911, allocations: 112 / 408.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4911, allocations: 7.922 kB / 408.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-05/0.4911, allocations: 0 / 408.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.026e-06/0.4911, allocations: 3.906 kB / 408.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.4914, allocations: 19.36 kB / 408.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.4915, allocations: 123 kB / 409 MB, free: 15.57 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.0001624/0.4917, allocations: 250.5 kB / 409.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.4918, allocations: 39.16 kB / 409.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.4919, allocations: 66.2 kB / 409.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-06/0.492, allocations: 0 / 409.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.52e-06/0.492, allocations: 0 / 409.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.986e-06/0.492, allocations: 0 / 409.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.4932, allocations: 0.8352 MB / 410.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-06/0.4932, allocations: 0 / 410.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.862e-06/0.4932, allocations: 3.938 kB / 410.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4932, allocations: 3.844 kB / 410.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.4933, allocations: 23.52 kB / 410.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.853e-06/0.4933, allocations: 0 / 410.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.05e-06/0.4933, allocations: 3.938 kB / 410.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.4942, allocations: 0.5552 MB / 410.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.4946, allocations: 258.3 kB / 411 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-05/0.4947, allocations: 11.25 kB / 411 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.4949, allocations: 15.73 kB / 411.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.4951, allocations: 35.14 kB / 411.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.4952, allocations: 120.9 kB / 411.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005743/0.4958, allocations: 382.1 kB / 411.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.88e-07/0.4958, allocations: 0 / 411.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.4963, allocations: 43.03 kB / 411.6 MB, free: 13.99 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.0001463/0.4964, allocations: 121.9 kB / 411.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005555/0.497, allocations: 446.1 kB / 412.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.497, allocations: 4 kB / 412.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.4973, allocations: 375.6 kB / 412.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.4979, allocations: 114 kB / 412.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.4991, allocations: 0.5808 MB / 413.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.4995, allocations: 0.8044 MB / 414 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.4995, allocations: 11.34 kB / 414.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.67e-06/0.4995, allocations: 4 kB / 414.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of Templates: time 0.006064/0.5056, allocations: 3.778 MB / 417.8 MB, free: 10.35 MB / 314.7 MB