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.945/1.945, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.02e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2503, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.3808, allocations: 76.9 MB / 371 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.381, allocations: 71.91 kB / 371.1 MB, free: 5.031 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1097/0.4907, allocations: 26.76 MB / 397.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.294e-06/0.4908, allocations: 0 / 397.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.4909, allocations: 4 kB / 397.8 MB, free: 10.31 MB / 346.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.0009118/0.4918, allocations: 0.6137 MB / 398.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4919, allocations: 12.03 kB / 398.5 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.492, allocations: 39.52 kB / 398.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.4924, allocations: 259.7 kB / 398.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.4924, allocations: 7.953 kB / 398.8 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.4925, allocations: 8 kB / 398.8 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001821/0.4927, allocations: 59.97 kB / 398.8 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.493, allocations: 129.6 kB / 399 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.76e-06/0.493, allocations: 0 / 399 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.4931, allocations: 4 kB / 399 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4931, allocations: 0 / 399 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.4941, allocations: 466.7 kB / 399.4 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.4944, allocations: 90.56 kB / 399.5 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.4947, allocations: 89 kB / 399.6 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4948, allocations: 7.938 kB / 399.6 MB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005611/0.4953, allocations: 218.7 kB / 399.8 MB, free: 8.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.532e-06/0.4954, allocations: 4 kB / 399.8 MB, free: 8.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009679/0.4964, allocations: 301.2 kB / 400.1 MB, free: 7.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.4965, allocations: 170.2 kB / 400.3 MB, free: 7.641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/0.4973, allocations: 452.8 kB / 400.7 MB, free: 7.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.4973, allocations: 29.7 kB / 400.8 MB, free: 7.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.4975, allocations: 163.9 kB / 400.9 MB, free: 7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/0.4975, allocations: 35.58 kB / 400.9 MB, free: 6.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.4976, allocations: 4 kB / 400.9 MB, free: 6.961 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4978, allocations: 318.8 kB / 401.3 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.4979, allocations: 59.97 kB / 401.3 MB, free: 6.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.4981, allocations: 61.11 kB / 401.4 MB, free: 6.523 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.4982, allocations: 43.97 kB / 401.4 MB, free: 6.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.751e-06/0.4982, allocations: 0 / 401.4 MB, free: 6.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006705/0.4989, allocations: 278.2 kB / 401.7 MB, free: 6.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.499, allocations: 126.8 kB / 401.8 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.96e-06/0.4991, allocations: 4 kB / 401.8 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4991, allocations: 3.938 kB / 401.8 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.344e-05/0.4991, allocations: 7.922 kB / 401.8 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.4991, allocations: 0 / 401.8 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.4993, allocations: 12 kB / 401.8 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.4995, allocations: 123.7 kB / 402 MB, free: 5.906 MB / 346.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.0002676/0.4998, allocations: 249.2 kB / 402.2 MB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/0.4999, allocations: 43.53 kB / 402.3 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.5001, allocations: 63.44 kB / 402.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.644e-06/0.5001, allocations: 4 kB / 402.3 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-06/0.5001, allocations: 0 / 402.3 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.575e-06/0.5001, allocations: 0 / 402.3 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.5014, allocations: 0.6745 MB / 403 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-06/0.5014, allocations: 3.938 kB / 403 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-06/0.5014, allocations: 0 / 403 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.522e-06/0.5014, allocations: 7.984 kB / 403 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.5015, allocations: 15.98 kB / 403 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.5015, allocations: 11.98 kB / 403 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5015, allocations: 0 / 403 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008251/0.5024, allocations: 434.9 kB / 403.5 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.5028, allocations: 256.3 kB / 403.7 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.5029, allocations: 8 kB / 403.7 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.5032, allocations: 15.98 kB / 403.7 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.5033, allocations: 27.97 kB / 403.8 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.5035, allocations: 123.8 kB / 403.9 MB, free: 3.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006353/0.5042, allocations: 374.7 kB / 404.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.5042, allocations: 0 / 404.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004185/0.5046, allocations: 40 kB / 404.3 MB, free: 3.473 MB / 346.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.0001865/0.5048, allocations: 119.3 kB / 404.4 MB, free: 3.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006236/0.5054, allocations: 429.5 kB / 404.8 MB, free: 2.879 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/0.5055, allocations: 4 kB / 404.8 MB, free: 2.875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.5059, allocations: 373.6 kB / 405.2 MB, free: 2.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.5065, allocations: 113.4 kB / 405.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.5078, allocations: 0.5686 MB / 405.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/0.5085, allocations: 0.8101 MB / 406.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.5085, allocations: 11.44 kB / 406.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of SimCode: time 1.729e-06/0.5085, allocations: 3.938 kB / 406.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of Templates: time 0.007428/0.516, allocations: 3.769 MB / 410.5 MB, free: 13.08 MB / 362.7 MB