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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008258/0.008258, allocations: 169.2 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000563/0.0005635, allocations: 15.98 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.439, allocations: 47.57 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001906/0.441, allocations: 1.236 MB / 328.3 MB, free: 420 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.4438, allocations: 0.9027 MB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.417e-05/0.444, allocations: 5.406 kB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.4442, allocations: 5.297 kB / 329.2 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.4443, allocations: 18.78 kB / 329.2 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.4447, allocations: 36.62 kB / 329.2 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.4449, allocations: 119.7 kB / 329.3 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.4451, allocations: 16.16 kB / 329.4 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009438/0.4461, allocations: 378.8 kB / 329.7 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.4463, allocations: 61.64 kB / 329.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.4464, allocations: 3.938 kB / 329.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.073e-05/0.4464, allocations: 2.906 kB / 329.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.4466, allocations: 66.78 kB / 329.9 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.4468, allocations: 132.3 kB / 330 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.4472, allocations: 339.8 kB / 330.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4472, allocations: 0 / 330.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.4472, allocations: 0 / 330.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.4473, allocations: 0 / 330.3 MB, free: 15.02 MB / 270.1 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.0009042/0.4482, allocations: 0.6665 MB / 331 MB, free: 14.35 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.4482, allocations: 9.625 kB / 331 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/0.4483, allocations: 35.31 kB / 331 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.4488, allocations: 276.6 kB / 331.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.4488, allocations: 8.688 kB / 331.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.4488, allocations: 7.938 kB / 331.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.4492, allocations: 127.1 kB / 331.4 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4492, allocations: 0 / 331.4 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.4493, allocations: 3.562 kB / 331.4 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.4493, allocations: 5.938 kB / 331.4 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.4495, allocations: 59.59 kB / 331.5 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009466/0.4505, allocations: 456.4 kB / 332 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.4507, allocations: 90.98 kB / 332 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.4509, allocations: 87.86 kB / 332.1 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.4509, allocations: 3.938 kB / 332.1 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.4514, allocations: 208.3 kB / 332.3 MB, free: 13.24 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.4514, allocations: 0 / 332.3 MB, free: 13.24 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009622/0.4523, allocations: 463.2 kB / 332.8 MB, free: 12.96 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.4525, allocations: 169.5 kB / 333 MB, free: 12.76 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008856/0.4534, allocations: 0.5082 MB / 333.5 MB, free: 12.43 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.4534, allocations: 42.11 kB / 333.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.4536, allocations: 101.7 kB / 333.6 MB, free: 12.29 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.4536, allocations: 30.38 kB / 333.6 MB, free: 12.26 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/0.4537, allocations: 25.64 kB / 333.7 MB, free: 12.24 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4539, allocations: 330.1 kB / 334 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.4541, allocations: 54 kB / 334 MB, free: 11.89 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.4543, allocations: 70.28 kB / 334.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.4548, allocations: 343.5 kB / 334.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4548, allocations: 0 / 334.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007536/0.4556, allocations: 375 kB / 334.8 MB, free: 11.2 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.4557, allocations: 126.8 kB / 334.9 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.4558, allocations: 0 / 334.9 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.4558, allocations: 4 kB / 334.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.663e-05/0.4558, allocations: 3.938 kB / 334.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4558, allocations: 0 / 334.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.4561, allocations: 20.02 kB / 335 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/0.4561, allocations: 36 kB / 335 MB, free: 10.98 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004471/0.4566, allocations: 370.4 kB / 335.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.4567, allocations: 39.53 kB / 335.4 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.4568, allocations: 67.14 kB / 335.5 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4568, allocations: 3.984 kB / 335.5 MB, free: 10.47 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4568, allocations: 0 / 335.5 MB, free: 10.47 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4568, allocations: 0 / 335.5 MB, free: 10.47 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.4581, allocations: 0.8173 MB / 336.3 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4581, allocations: 0 / 336.3 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-06/0.4581, allocations: 3.938 kB / 336.3 MB, free: 9.57 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4581, allocations: 0 / 336.3 MB, free: 9.57 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.4581, allocations: 8 kB / 336.3 MB, free: 9.562 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4582, allocations: 0 / 336.3 MB, free: 9.562 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4582, allocations: 7.938 kB / 336.3 MB, free: 9.555 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007407/0.4589, allocations: 0.5216 MB / 336.8 MB, free: 8.992 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/0.4593, allocations: 240.5 kB / 337.1 MB, free: 8.738 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.4594, allocations: 12 kB / 337.1 MB, free: 8.727 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.4596, allocations: 19.89 kB / 337.1 MB, free: 8.707 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.4597, allocations: 31.84 kB / 337.1 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.485e-05/0.4598, allocations: 43.88 kB / 337.2 MB, free: 8.633 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0006013/0.4604, allocations: 390.9 kB / 337.5 MB, free: 8.254 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4604, allocations: 0 / 337.5 MB, free: 8.254 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003309/0.4607, allocations: 48 kB / 337.6 MB, free: 8.207 MB / 270.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001932/0.4609, allocations: 115 kB / 337.7 MB, free: 8.086 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000705/0.4617, allocations: 433.5 kB / 338.1 MB, free: 7.613 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4617, allocations: 0 / 338.1 MB, free: 7.613 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.4621, allocations: 381.5 kB / 338.5 MB, free: 7.191 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007707/0.4629, allocations: 105.8 kB / 338.6 MB, free: 7.086 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.4645, allocations: 0.7545 MB / 339.4 MB, free: 6.309 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/0.4651, allocations: 0.8031 MB / 340.2 MB, free: 5.48 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.719e-05/0.4652, allocations: 8.656 kB / 340.2 MB, free: 5.465 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.4652, allocations: 11.44 kB / 340.2 MB, free: 5.457 MB / 270.1 MB Notification: Performance of SimCode: time 1.674e-06/0.4652, allocations: 0 / 340.2 MB, free: 5.457 MB / 270.1 MB Notification: Performance of Templates: time 0.009766/0.475, allocations: 3.854 MB / 344 MB, free: 1.598 MB / 270.1 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)