Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.929e-05, allocations: 4 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.0957, allocations: 50.41 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.5166, allocations: 82.93 MB / 426 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5169, allocations: 73.58 kB / 426.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09046/0.6074, allocations: 27.33 MB / 453.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.351e-06/0.6074, allocations: 0 / 453.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.6074, allocations: 7 kB / 453.4 MB, free: 4.539 MB / 362.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.0007337/0.6082, allocations: 0.6096 MB / 454 MB, free: 3.879 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.6082, allocations: 12.03 kB / 454 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.841e-05/0.6084, allocations: 39.48 kB / 454.1 MB, free: 3.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.6088, allocations: 266.3 kB / 454.3 MB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.6088, allocations: 4 kB / 454.3 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.6089, allocations: 11.98 kB / 454.4 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.6092, allocations: 142.1 kB / 454.5 MB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.6093, allocations: 3.984 kB / 454.5 MB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.6093, allocations: 10.81 kB / 454.5 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.6093, allocations: 0 / 454.5 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.6095, allocations: 60.36 kB / 454.6 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.6105, allocations: 481.4 kB / 455 MB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.6107, allocations: 98.55 kB / 455.1 MB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.611, allocations: 89.02 kB / 455.2 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.611, allocations: 7.938 kB / 455.2 MB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004128/0.6114, allocations: 222.6 kB / 455.4 MB, free: 2.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.702e-06/0.6114, allocations: 0 / 455.4 MB, free: 2.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009779/0.6124, allocations: 440.1 kB / 455.9 MB, free: 1.922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.6126, allocations: 162.2 kB / 456 MB, free: 1.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008786/0.6135, allocations: 474.5 kB / 456.5 MB, free: 1.254 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.6135, allocations: 29.7 kB / 456.5 MB, free: 1.219 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.6136, allocations: 97.14 kB / 456.6 MB, free: 1.121 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.6137, allocations: 31.62 kB / 456.7 MB, free: 1.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.6138, allocations: 4 kB / 456.7 MB, free: 1.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.6139, allocations: 326.8 kB / 457 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.6142, allocations: 63.98 kB / 457 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.6143, allocations: 59.97 kB / 457.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.6146, allocations: 179.3 kB / 457.3 MB, free: 448 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-06/0.6146, allocations: 4 kB / 457.3 MB, free: 444 kB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008713/0.6155, allocations: 412.3 kB / 457.7 MB, free: 0 / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.6157, allocations: 118.8 kB / 457.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.259e-06/0.6157, allocations: 0 / 457.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.6157, allocations: 7.953 kB / 457.8 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.299e-05/0.6158, allocations: 3.984 kB / 457.8 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.95e-06/0.6158, allocations: 3.938 kB / 457.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.616, allocations: 12 kB / 457.8 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.6162, allocations: 115.8 kB / 457.9 MB, free: 15.72 MB / 378.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.0002714/0.6165, allocations: 245.5 kB / 458.2 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.6166, allocations: 35.69 kB / 458.2 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.6168, allocations: 71.42 kB / 458.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.253e-06/0.6169, allocations: 0 / 458.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.186e-06/0.6169, allocations: 3.953 kB / 458.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-06/0.6169, allocations: 4 kB / 458.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.6184, allocations: 0.829 MB / 459.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.6184, allocations: 7.984 kB / 459.1 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.157e-05/0.6185, allocations: 7.938 kB / 459.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.565e-06/0.6185, allocations: 0 / 459.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/0.6186, allocations: 27.94 kB / 459.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.391e-06/0.6186, allocations: 0 / 459.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.932e-06/0.6186, allocations: 0 / 459.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.6196, allocations: 0.5448 MB / 459.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004884/0.6201, allocations: 256.4 kB / 460 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.6202, allocations: 12 kB / 460 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.6205, allocations: 23.92 kB / 460 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.6207, allocations: 27.97 kB / 460 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/0.6209, allocations: 127.7 kB / 460.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007019/0.6216, allocations: 380.9 kB / 460.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.2e-07/0.6216, allocations: 0 / 460.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000441/0.622, allocations: 44 kB / 460.6 MB, free: 12.93 MB / 378.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.0001905/0.6222, allocations: 126.9 kB / 460.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007212/0.623, allocations: 437.6 kB / 461.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.083e-06/0.623, allocations: 0 / 461.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004874/0.6235, allocations: 385.6 kB / 461.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.6242, allocations: 104 kB / 461.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.6255, allocations: 0.527 MB / 462.1 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.6262, allocations: 0.8143 MB / 462.9 MB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.262e-05/0.6263, allocations: 9.203 kB / 462.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.6263, allocations: 11.44 kB / 462.9 MB, free: 10.37 MB / 378.7 MB Notification: Performance of SimCode: time 4.586e-06/0.6263, allocations: 0 / 462.9 MB, free: 10.37 MB / 378.7 MB Notification: Performance of Templates: time 0.0129/0.6392, allocations: 5.62 MB / 468.6 MB, free: 4.723 MB / 378.7 MB