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.001448/0.001448, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.388/1.388, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001733/0.001733, allocations: 107.5 kB / 218 MB, free: 8.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.405e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.08915, allocations: 38.78 MB / 301 MB, free: 3.621 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3023/0.3915, allocations: 71.59 MB / 372.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.3917, allocations: 65.59 kB / 372.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05013/0.4419, allocations: 27.27 MB / 399.9 MB, free: 6.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4419, allocations: 3.938 kB / 399.9 MB, free: 6.867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.4419, allocations: 4 kB / 399.9 MB, free: 6.863 MB / 282.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.0008083/0.4428, allocations: 0.6089 MB / 400.5 MB, free: 6.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4428, allocations: 12.03 kB / 400.5 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.4429, allocations: 35.53 kB / 400.6 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.4434, allocations: 269 kB / 400.8 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.4434, allocations: 4 kB / 400.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.4435, allocations: 12 kB / 400.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001661/0.4436, allocations: 50.61 kB / 400.9 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.4439, allocations: 144.2 kB / 401 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4439, allocations: 3.938 kB / 401 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.444, allocations: 4 kB / 401 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.444, allocations: 3.938 kB / 401.1 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.4447, allocations: 446.1 kB / 401.5 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.4449, allocations: 97.14 kB / 401.6 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.445, allocations: 88.83 kB / 401.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.445, allocations: 3.953 kB / 401.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.4453, allocations: 220.1 kB / 401.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.4453, allocations: 0 / 401.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006475/0.446, allocations: 309.2 kB / 402.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.4461, allocations: 165.2 kB / 402.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006013/0.4467, allocations: 452.3 kB / 402.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.4467, allocations: 29.7 kB / 402.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.4468, allocations: 99.92 kB / 402.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.4469, allocations: 30.7 kB / 403 MB, free: 3.918 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.4469, allocations: 7 kB / 403 MB, free: 3.914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4471, allocations: 322.2 kB / 403.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.89e-05/0.4472, allocations: 63.61 kB / 403.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.446e-05/0.4473, allocations: 60.69 kB / 403.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.685e-05/0.4474, allocations: 54.84 kB / 403.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4474, allocations: 0 / 403.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00045/0.4478, allocations: 279.5 kB / 403.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-05/0.448, allocations: 133.9 kB / 403.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.448, allocations: 0 / 403.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.448, allocations: 0 / 403.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.193e-05/0.448, allocations: 7.938 kB / 403.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.448, allocations: 0 / 403.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.4482, allocations: 19.89 kB / 403.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.4483, allocations: 119.8 kB / 404 MB, free: 2.941 MB / 282.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.0002106/0.4485, allocations: 239.9 kB / 404.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.4486, allocations: 43.55 kB / 404.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.4487, allocations: 65.45 kB / 404.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4487, allocations: 0 / 404.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4487, allocations: 0 / 404.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.4487, allocations: 0 / 404.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008581/0.4496, allocations: 0.6888 MB / 405 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4496, allocations: 0 / 405 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-06/0.4496, allocations: 0 / 405 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4496, allocations: 0 / 405 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.4497, allocations: 25.25 kB / 405 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4497, allocations: 0 / 405 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.4497, allocations: 3.984 kB / 405.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.4502, allocations: 433.8 kB / 405.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.4506, allocations: 253.7 kB / 405.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.4506, allocations: 11.56 kB / 405.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.4508, allocations: 15.86 kB / 405.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.4509, allocations: 34.52 kB / 405.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.451, allocations: 123.5 kB / 405.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004294/0.4515, allocations: 368.6 kB / 406.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4515, allocations: 0 / 406.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000308/0.4518, allocations: 44 kB / 406.3 MB, free: 0.7852 MB / 282.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.0001641/0.452, allocations: 122.3 kB / 406.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004915/0.4525, allocations: 434.7 kB / 406.9 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4525, allocations: 0 / 406.9 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.4528, allocations: 375.2 kB / 407.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.4534, allocations: 97.62 kB / 407.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009211/0.4543, allocations: 0.5307 MB / 407.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.4547, allocations: 0.8155 MB / 408.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.774e-05/0.4548, allocations: 12.64 kB / 408.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.4549, allocations: 11.44 kB / 408.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4549, allocations: 0 / 408.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of Templates: time 0.00932/0.4642, allocations: 5.448 MB / 414.1 MB, free: 8.996 MB / 298.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)