Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001187/0.001187, allocations: 181.9 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.54/1.54, allocations: 194.3 MB / 208.4 MB, free: 6.699 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001621/0.00162, allocations: 112.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.304e-05, allocations: 8 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.08387, allocations: 44.5 MB / 349.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3184/0.4023, allocations: 77.57 MB / 427 MB, free: 10.49 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4026, allocations: 68.06 kB / 427.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04504/0.4476, allocations: 27 MB / 454.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.556e-06/0.4477, allocations: 0 / 454.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.4477, allocations: 7.938 kB / 454.1 MB, free: 11.29 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.0006061/0.4483, allocations: 0.6034 MB / 454.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.4484, allocations: 12.03 kB / 454.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.4484, allocations: 39.53 kB / 454.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.4488, allocations: 266.4 kB / 455 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.4488, allocations: 7.953 kB / 455 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.4489, allocations: 8 kB / 455 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.4492, allocations: 146.6 kB / 455.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4492, allocations: 0 / 455.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.4492, allocations: 7.812 kB / 455.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4492, allocations: 7.922 kB / 455.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.4494, allocations: 62.98 kB / 455.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.4501, allocations: 484.9 kB / 455.7 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.4503, allocations: 100.9 kB / 455.8 MB, free: 9.547 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.4504, allocations: 87.78 kB / 455.9 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.4505, allocations: 0 / 455.9 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002982/0.4508, allocations: 229.8 kB / 456.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.4508, allocations: 4 kB / 456.1 MB, free: 9.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006597/0.4514, allocations: 425.5 kB / 456.5 MB, free: 8.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/0.4516, allocations: 166 kB / 456.7 MB, free: 8.664 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.4521, allocations: 473.8 kB / 457.2 MB, free: 8.266 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.4521, allocations: 29.7 kB / 457.2 MB, free: 8.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.4522, allocations: 100.8 kB / 457.3 MB, free: 8.141 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.4523, allocations: 35.34 kB / 457.3 MB, free: 8.109 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.4523, allocations: 0 / 457.3 MB, free: 8.109 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4524, allocations: 326.7 kB / 457.6 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.4525, allocations: 62.92 kB / 457.7 MB, free: 7.742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.4526, allocations: 66.84 kB / 457.8 MB, free: 7.695 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.4528, allocations: 174.9 kB / 457.9 MB, free: 7.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4528, allocations: 3.938 kB / 457.9 MB, free: 7.516 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005369/0.4534, allocations: 410.3 kB / 458.3 MB, free: 7.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.96e-05/0.4535, allocations: 122.7 kB / 458.5 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4535, allocations: 0 / 458.5 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4535, allocations: 7.984 kB / 458.5 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.795e-05/0.4535, allocations: 0 / 458.5 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4536, allocations: 0 / 458.5 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.4537, allocations: 15.56 kB / 458.5 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.4539, allocations: 115.8 kB / 458.6 MB, free: 6.863 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.0001996/0.4541, allocations: 245.2 kB / 458.8 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.4541, allocations: 35.62 kB / 458.9 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.4542, allocations: 71.19 kB / 458.9 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4543, allocations: 4 kB / 458.9 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4543, allocations: 0 / 458.9 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4543, allocations: 0 / 458.9 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009909/0.4553, allocations: 0.8499 MB / 459.8 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4553, allocations: 0 / 459.8 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.4553, allocations: 0 / 459.8 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4553, allocations: 0 / 459.8 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.4553, allocations: 19.98 kB / 459.8 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4554, allocations: 0 / 459.8 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4554, allocations: 4 kB / 459.8 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000648/0.456, allocations: 0.555 MB / 460.4 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.4564, allocations: 255.2 kB / 460.6 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.183e-05/0.4564, allocations: 11.56 kB / 460.6 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.4566, allocations: 19.92 kB / 460.7 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.4567, allocations: 34.83 kB / 460.7 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.4568, allocations: 115.8 kB / 460.8 MB, free: 4.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004396/0.4573, allocations: 393.5 kB / 461.2 MB, free: 4.406 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4573, allocations: 0 / 461.2 MB, free: 4.406 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002654/0.4576, allocations: 43.38 kB / 461.2 MB, free: 4.367 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.0001702/0.4577, allocations: 121.6 kB / 461.3 MB, free: 4.242 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.4582, allocations: 444.1 kB / 461.8 MB, free: 3.852 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4582, allocations: 0 / 461.8 MB, free: 3.852 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.4585, allocations: 383.4 kB / 462.2 MB, free: 3.508 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.4591, allocations: 115.5 kB / 462.3 MB, free: 3.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/0.46, allocations: 0.5238 MB / 462.8 MB, free: 2.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.4605, allocations: 0.8138 MB / 463.6 MB, free: 2.082 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.969e-05/0.4606, allocations: 5.219 kB / 463.6 MB, free: 2.074 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.4606, allocations: 11.44 kB / 463.6 MB, free: 2.062 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4606, allocations: 0 / 463.6 MB, free: 2.062 MB / 314.7 MB Notification: Performance of Templates: time 0.008692/0.4693, allocations: 5.606 MB / 469.2 MB, free: 12.39 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1)