Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001044/0.001044, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.237/1.237, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001603/0.001603, allocations: 110.8 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.832e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.0927, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.41/0.5027, allocations: 72.26 MB / 379.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.503, allocations: 63.97 kB / 380 MB, free: 3.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05315/0.5562, allocations: 27.47 MB / 407.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5562, allocations: 4 kB / 407.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.5563, allocations: 4 kB / 407.4 MB, free: 13.14 MB / 298.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.0006711/0.557, allocations: 0.6196 MB / 408 MB, free: 12.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.557, allocations: 8.031 kB / 408.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.5571, allocations: 39.53 kB / 408.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.5575, allocations: 259 kB / 408.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.5575, allocations: 4 kB / 408.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.5575, allocations: 12 kB / 408.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.5578, allocations: 144.8 kB / 408.5 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.5579, allocations: 0 / 408.5 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.5579, allocations: 11.94 kB / 408.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5579, allocations: 3.984 kB / 408.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.5581, allocations: 59.05 kB / 408.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008172/0.5589, allocations: 477.8 kB / 409 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.5591, allocations: 105.8 kB / 409.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.5592, allocations: 84.39 kB / 409.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.5593, allocations: 3.938 kB / 409.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.5596, allocations: 230.9 kB / 409.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.5596, allocations: 0 / 409.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007281/0.5603, allocations: 439.3 kB / 409.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.5605, allocations: 172.7 kB / 410.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.561, allocations: 457.4 kB / 410.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.5611, allocations: 33.08 kB / 410.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.5612, allocations: 99.23 kB / 410.6 MB, free: 9.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.5612, allocations: 34.95 kB / 410.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.5612, allocations: 7.938 kB / 410.7 MB, free: 9.957 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5614, allocations: 322.5 kB / 411 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.5615, allocations: 63.98 kB / 411.1 MB, free: 9.594 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.5616, allocations: 69.02 kB / 411.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.5618, allocations: 172.9 kB / 411.3 MB, free: 9.371 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5618, allocations: 0 / 411.3 MB, free: 9.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005287/0.5624, allocations: 409 kB / 411.7 MB, free: 8.992 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.569e-05/0.5625, allocations: 125.5 kB / 411.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5625, allocations: 0 / 411.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5625, allocations: 0 / 411.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.19e-05/0.5626, allocations: 11.92 kB / 411.8 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5626, allocations: 0 / 411.8 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.5627, allocations: 15.91 kB / 411.8 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.5629, allocations: 127.1 kB / 412 MB, free: 8.703 MB / 298.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.0001989/0.5631, allocations: 240.6 kB / 412.2 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.5631, allocations: 39.58 kB / 412.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.5632, allocations: 62 kB / 412.3 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5632, allocations: 0 / 412.3 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5633, allocations: 0 / 412.3 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5633, allocations: 0 / 412.3 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000968/0.5642, allocations: 0.8363 MB / 413.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5642, allocations: 3.984 kB / 413.1 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-06/0.5643, allocations: 8.125 kB / 413.1 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5643, allocations: 0 / 413.1 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.5643, allocations: 23.61 kB / 413.2 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5643, allocations: 3.984 kB / 413.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5643, allocations: 0 / 413.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006613/0.565, allocations: 0.5544 MB / 413.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.5654, allocations: 258.6 kB / 414 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.5655, allocations: 11.81 kB / 414 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.5656, allocations: 15.89 kB / 414 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.5657, allocations: 31.16 kB / 414 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.5659, allocations: 123.8 kB / 414.2 MB, free: 6.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004415/0.5663, allocations: 389.8 kB / 414.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5664, allocations: 0 / 414.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.5666, allocations: 44 kB / 414.6 MB, free: 6.203 MB / 298.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.0001774/0.5668, allocations: 125.4 kB / 414.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004543/0.5673, allocations: 435.6 kB / 415.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5673, allocations: 0 / 415.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.5676, allocations: 385.6 kB / 415.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.5681, allocations: 107.7 kB / 415.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.569, allocations: 0.5339 MB / 416.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.5694, allocations: 0.8169 MB / 417 MB, free: 3.922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.924e-05/0.5695, allocations: 4.672 kB / 417 MB, free: 3.914 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.5695, allocations: 11.44 kB / 417 MB, free: 3.902 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5695, allocations: 0 / 417 MB, free: 3.902 MB / 298.7 MB Notification: Performance of Templates: time 0.008073/0.5776, allocations: 5.607 MB / 422.6 MB, free: 14.23 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1)