Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadModel(Modelica): time 1.888/1.888, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.049e-05, allocations: 4 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08961/0.08967, allocations: 50.42 MB / 342.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3612/0.451, allocations: 82.99 MB / 425.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.4512, allocations: 68.97 kB / 425.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08554/0.5368, allocations: 27.34 MB / 453 MB, free: 4.379 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.858e-06/0.5368, allocations: 0 / 453 MB, free: 4.379 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.5368, allocations: 4 kB / 453 MB, free: 4.375 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.0006974/0.5375, allocations: 0.606 MB / 453.6 MB, free: 3.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5376, allocations: 12.03 kB / 453.6 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.964e-05/0.5377, allocations: 43.48 kB / 453.6 MB, free: 3.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.5381, allocations: 264 kB / 453.9 MB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.5382, allocations: 4 kB / 453.9 MB, free: 3.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.5382, allocations: 8 kB / 453.9 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.5386, allocations: 147.1 kB / 454 MB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5386, allocations: 0 / 454 MB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.5387, allocations: 4 kB / 454 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-06/0.5387, allocations: 0 / 454 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.5389, allocations: 65.09 kB / 454.1 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008934/0.5398, allocations: 484.2 kB / 454.6 MB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.54, allocations: 100.8 kB / 454.7 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.5402, allocations: 85.31 kB / 454.7 MB, free: 2.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.5403, allocations: 7.938 kB / 454.8 MB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003828/0.5407, allocations: 225 kB / 455 MB, free: 2.355 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.618e-06/0.5407, allocations: 0 / 455 MB, free: 2.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000902/0.5416, allocations: 437 kB / 455.4 MB, free: 1.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.5417, allocations: 168.7 kB / 455.6 MB, free: 1.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.5426, allocations: 467.3 kB / 456 MB, free: 1.355 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.5426, allocations: 29.7 kB / 456.1 MB, free: 1.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.5427, allocations: 160.9 kB / 456.2 MB, free: 1.172 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.5428, allocations: 38.25 kB / 456.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.5428, allocations: 4 kB / 456.3 MB, free: 1.133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.543, allocations: 314.4 kB / 456.6 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.5432, allocations: 70.91 kB / 456.6 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.5434, allocations: 56.48 kB / 456.7 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.5436, allocations: 180.1 kB / 456.9 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.84e-06/0.5437, allocations: 0 / 456.9 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007935/0.5445, allocations: 403.2 kB / 457.3 MB, free: 180 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.5446, allocations: 126.8 kB / 457.4 MB, free: 28 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.051e-06/0.5446, allocations: 4 kB / 457.4 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5446, allocations: 3.953 kB / 457.4 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.655e-05/0.5447, allocations: 0 / 457.4 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.915e-06/0.5447, allocations: 0 / 457.4 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.5449, allocations: 19.92 kB / 457.4 MB, free: 0 / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.5451, allocations: 111.9 kB / 457.5 MB, free: 15.89 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.0002457/0.5453, allocations: 241.5 kB / 457.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/0.5454, allocations: 43.52 kB / 457.8 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.5456, allocations: 75.42 kB / 457.9 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-06/0.5456, allocations: 0 / 457.9 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.666e-06/0.5457, allocations: 3.953 kB / 457.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.544e-06/0.5457, allocations: 0 / 457.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.5471, allocations: 0.833 MB / 458.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.161e-06/0.5471, allocations: 0 / 458.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.5472, allocations: 128 / 458.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.191e-06/0.5472, allocations: 7.938 kB / 458.7 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.5472, allocations: 23.94 kB / 458.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.5472, allocations: 0 / 458.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.655e-06/0.5473, allocations: 4 kB / 458.7 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009824/0.5482, allocations: 0.5526 MB / 459.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.5487, allocations: 248.4 kB / 459.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/0.5488, allocations: 15.98 kB / 459.5 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.5491, allocations: 11.95 kB / 459.6 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.5492, allocations: 35.95 kB / 459.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.5494, allocations: 123.7 kB / 459.7 MB, free: 13.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006594/0.5501, allocations: 392.9 kB / 460.1 MB, free: 13.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.016e-06/0.5501, allocations: 0 / 460.1 MB, free: 13.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000407/0.5505, allocations: 40 kB / 460.1 MB, free: 13.09 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.0001806/0.5507, allocations: 115 kB / 460.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006776/0.5514, allocations: 445.5 kB / 460.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.109e-06/0.5514, allocations: 0 / 460.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.5519, allocations: 381.6 kB / 461.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.5525, allocations: 108.1 kB / 461.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.5539, allocations: 0.5796 MB / 461.7 MB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.5546, allocations: 0.8065 MB / 462.6 MB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.5546, allocations: 11.44 kB / 462.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.5547, allocations: 0 / 462.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of Templates: time 0.007118/0.5618, allocations: 3.778 MB / 466.3 MB, free: 6.688 MB / 378.7 MB