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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 93.81 kB / 16.3 MB, free: 5.629 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.001721/0.001721, allocations: 186.6 kB / 17.2 MB, free: 5.562 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.043/2.043, allocations: 205.4 MB / 223.4 MB, free: 5.363 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.0007357/0.0007358, allocations: 8 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3328, allocations: 47.59 MB / 327.7 MB, free: 1.488 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00161/0.3345, allocations: 1.199 MB / 328.9 MB, free: 0.5352 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.3362, allocations: 0.8546 MB / 329.8 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.3362, allocations: 1.375 kB / 329.8 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.438e-05/0.3363, allocations: 7.922 kB / 329.8 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.108e-05/0.3364, allocations: 16.42 kB / 329.8 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.3367, allocations: 39.64 kB / 329.8 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3368, allocations: 71.27 kB / 329.9 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3369, allocations: 12.17 kB / 329.9 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004456/0.3374, allocations: 290.5 kB / 330.2 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3375, allocations: 68.73 kB / 330.2 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.3376, allocations: 3.031 kB / 330.3 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.673e-05/0.3376, allocations: 3.562 kB / 330.3 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.867e-05/0.3377, allocations: 65.28 kB / 330.3 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.3378, allocations: 81.27 kB / 330.4 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.3381, allocations: 272.5 kB / 330.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3381, allocations: 0 / 330.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3381, allocations: 0 / 330.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3381, allocations: 0 / 330.7 MB, free: 15.36 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.0006976/0.3388, allocations: 0.6611 MB / 331.3 MB, free: 14.7 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3389, allocations: 10.16 kB / 331.3 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.821e-05/0.3389, allocations: 33.81 kB / 331.4 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.3393, allocations: 267.7 kB / 331.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3393, allocations: 4.906 kB / 331.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.3394, allocations: 15.78 kB / 331.7 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.3397, allocations: 125.5 kB / 331.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3398, allocations: 1.062 kB / 331.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.3398, allocations: 3.625 kB / 331.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.3398, allocations: 5.266 kB / 331.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.34, allocations: 55.22 kB / 331.8 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.3407, allocations: 466 kB / 332.3 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3409, allocations: 98.45 kB / 332.4 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.3409, allocations: 1.094 kB / 332.4 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.3413, allocations: 199.4 kB / 332.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.3413, allocations: 0 / 332.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009234/0.3422, allocations: 0.6164 MB / 333.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.3423, allocations: 168.5 kB / 333.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007235/0.3431, allocations: 0.5135 MB / 333.9 MB, free: 12.62 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.3431, allocations: 30.23 kB / 333.9 MB, free: 12.59 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.3432, allocations: 104.4 kB / 334 MB, free: 12.48 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.3432, allocations: 27.8 kB / 334 MB, free: 12.46 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.3433, allocations: 2.188 kB / 334 MB, free: 12.46 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3434, allocations: 326.3 kB / 334.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.3435, allocations: 58.28 kB / 334.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3437, allocations: 82.36 kB / 334.5 MB, free: 12.06 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.3439, allocations: 161.3 kB / 334.7 MB, free: 11.91 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3439, allocations: 1.031 kB / 334.7 MB, free: 11.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005426/0.3444, allocations: 369.7 kB / 335 MB, free: 11.66 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.275e-05/0.3445, allocations: 126.3 kB / 335.1 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3445, allocations: 0 / 335.1 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3446, allocations: 0.9062 kB / 335.1 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.784e-05/0.3446, allocations: 5.875 kB / 335.1 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3446, allocations: 4.031 kB / 335.1 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.3448, allocations: 14.23 kB / 335.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/0.3449, allocations: 37.02 kB / 335.2 MB, free: 11.52 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003849/0.3453, allocations: 365.7 kB / 335.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.3453, allocations: 39.84 kB / 335.6 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.3454, allocations: 71.12 kB / 335.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3454, allocations: 4 kB / 335.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3455, allocations: 128 / 335.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3455, allocations: 4 kB / 335.7 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009501/0.3464, allocations: 0.8095 MB / 336.5 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3464, allocations: 0 / 336.5 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-06/0.3464, allocations: 0 / 336.5 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3465, allocations: 3.938 kB / 336.5 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.3465, allocations: 12 kB / 336.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3465, allocations: 0 / 336.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3465, allocations: 0 / 336.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.3471, allocations: 0.529 MB / 337 MB, free: 9.605 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.3475, allocations: 244.5 kB / 337.3 MB, free: 9.348 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/0.3475, allocations: 12 kB / 337.3 MB, free: 9.336 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3477, allocations: 11.98 kB / 337.3 MB, free: 9.324 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.3478, allocations: 27.97 kB / 337.3 MB, free: 9.297 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.3479, allocations: 43.92 kB / 337.4 MB, free: 9.254 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004384/0.3483, allocations: 386.8 kB / 337.7 MB, free: 8.879 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3483, allocations: 0 / 337.7 MB, free: 8.879 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.3486, allocations: 51.91 kB / 337.8 MB, free: 8.828 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 (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.000151/0.3488, allocations: 123 kB / 337.9 MB, free: 8.699 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005015/0.3493, allocations: 429.9 kB / 338.3 MB, free: 8.23 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3493, allocations: 0 / 338.3 MB, free: 8.23 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.3496, allocations: 377.5 kB / 338.7 MB, free: 7.812 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.3501, allocations: 101.4 kB / 338.8 MB, free: 7.711 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.3512, allocations: 0.7427 MB / 339.5 MB, free: 6.945 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.3518, allocations: 0.8064 MB / 340.3 MB, free: 6.113 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.268e-05/0.3518, allocations: 8.656 kB / 340.4 MB, free: 6.098 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.3519, allocations: 11.44 kB / 340.4 MB, free: 6.09 MB / 270.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3519, allocations: 0 / 340.4 MB, free: 6.09 MB / 270.1 MB Notification: Performance of Templates: time 0.007782/0.3597, allocations: 3.757 MB / 344.1 MB, free: 2.328 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: