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.001282/0.001282, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 193.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.1 MB / 222.4 MB, free: 4.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.001496/0.001497, allocations: 51.92 kB / 278.7 MB, free: 12.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3403, allocations: 46.64 MB / 325.3 MB, free: 2.09 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003341/0.3437, allocations: 1.516 MB / 326.8 MB, free: 0.8867 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.3464, allocations: 0.884 MB / 327.7 MB, free: 216 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.049e-05/0.3465, allocations: 1.188 kB / 327.7 MB, free: 216 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.3467, allocations: 9.969 kB / 327.7 MB, free: 208 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.3468, allocations: 19 kB / 327.7 MB, free: 192 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.3471, allocations: 51.59 kB / 327.8 MB, free: 148 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.3474, allocations: 156.7 kB / 327.9 MB, free: 52 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3476, allocations: 18.55 kB / 328 MB, free: 44 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006132/0.3482, allocations: 370.4 kB / 328.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.3484, allocations: 68.3 kB / 328.4 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.3484, allocations: 9.594 kB / 328.4 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.086e-05/0.3485, allocations: 9.906 kB / 328.4 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.3486, allocations: 69.78 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.3488, allocations: 115.4 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.3492, allocations: 353.6 kB / 328.9 MB, free: 15.47 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3492, allocations: 0 / 328.9 MB, free: 15.47 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3492, allocations: 0.9375 kB / 328.9 MB, free: 15.47 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3492, allocations: 0 / 328.9 MB, free: 15.47 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.0009261/0.3502, allocations: 0.7193 MB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.94e-05/0.3503, allocations: 13.72 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3504, allocations: 35.72 kB / 329.7 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.3508, allocations: 271.9 kB / 330 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.3508, allocations: 5.812 kB / 330 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.3509, allocations: 12.25 kB / 330 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.3513, allocations: 126.6 kB / 330.1 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3513, allocations: 0 / 330.1 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.3513, allocations: 3.562 kB / 330.1 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.3513, allocations: 0.9688 kB / 330.1 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.3515, allocations: 64.55 kB / 330.2 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.3523, allocations: 456.8 kB / 330.6 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3525, allocations: 107.4 kB / 330.7 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.3527, allocations: 78.55 kB / 330.8 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.3527, allocations: 5.062 kB / 330.8 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/0.3531, allocations: 195.7 kB / 331 MB, free: 13.66 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3532, allocations: 0 / 331 MB, free: 13.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009495/0.3541, allocations: 471.6 kB / 331.5 MB, free: 13.37 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.3542, allocations: 164.8 kB / 331.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007522/0.355, allocations: 0.5128 MB / 332.1 MB, free: 12.84 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.3551, allocations: 34.14 kB / 332.2 MB, free: 12.8 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.3552, allocations: 105.6 kB / 332.3 MB, free: 12.7 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.3552, allocations: 29.64 kB / 332.3 MB, free: 12.68 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.3553, allocations: 77.42 kB / 332.4 MB, free: 12.63 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3555, allocations: 325.1 kB / 332.7 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3556, allocations: 58.09 kB / 332.7 MB, free: 12.28 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3558, allocations: 79.61 kB / 332.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.3561, allocations: 339.6 kB / 333.2 MB, free: 11.82 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3561, allocations: 4 kB / 333.2 MB, free: 11.82 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000609/0.3567, allocations: 380.5 kB / 333.5 MB, free: 11.41 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.3569, allocations: 130.7 kB / 333.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.3569, allocations: 0 / 333.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3569, allocations: 3.984 kB / 333.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.402e-05/0.3569, allocations: 4 kB / 333.7 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3569, allocations: 0 / 333.7 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.3571, allocations: 11.91 kB / 333.7 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.016e-05/0.3572, allocations: 39.98 kB / 333.7 MB, free: 11.2 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.0003608/0.3575, allocations: 374.2 kB / 334.1 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.3576, allocations: 35.62 kB / 334.1 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.3577, allocations: 63.16 kB / 334.2 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3577, allocations: 0 / 334.2 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.3577, allocations: 4 kB / 334.2 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3577, allocations: 0 / 334.2 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009856/0.3587, allocations: 0.8056 MB / 335 MB, free: 9.809 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3587, allocations: 0 / 335 MB, free: 9.809 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-06/0.3587, allocations: 4 kB / 335 MB, free: 9.805 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.688e-05/0.3588, allocations: 4 kB / 335 MB, free: 9.801 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.3588, allocations: 11.98 kB / 335 MB, free: 9.789 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3588, allocations: 0 / 335 MB, free: 9.789 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3588, allocations: 3.938 kB / 335 MB, free: 9.785 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007649/0.3596, allocations: 0.5212 MB / 335.5 MB, free: 9.223 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/0.3599, allocations: 248.4 kB / 335.8 MB, free: 8.961 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.36, allocations: 15.94 kB / 335.8 MB, free: 8.945 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3601, allocations: 12 kB / 335.8 MB, free: 8.934 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.3602, allocations: 27.91 kB / 335.8 MB, free: 8.906 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.3603, allocations: 43.92 kB / 335.9 MB, free: 8.863 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004794/0.3608, allocations: 386.9 kB / 336.3 MB, free: 8.484 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3608, allocations: 0 / 336.3 MB, free: 8.484 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.3611, allocations: 48 kB / 336.3 MB, free: 8.438 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.0002104/0.3613, allocations: 115.2 kB / 336.4 MB, free: 8.316 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006349/0.362, allocations: 441.5 kB / 336.8 MB, free: 7.836 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.362, allocations: 0 / 336.8 MB, free: 7.836 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.3624, allocations: 377.5 kB / 337.2 MB, free: 7.418 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.3632, allocations: 121.5 kB / 337.3 MB, free: 7.297 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.3646, allocations: 0.6628 MB / 338 MB, free: 6.609 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/0.3652, allocations: 0.7989 MB / 338.8 MB, free: 5.781 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.592e-05/0.3653, allocations: 8.656 kB / 338.8 MB, free: 5.766 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.3654, allocations: 15.44 kB / 338.8 MB, free: 5.754 MB / 270.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3654, allocations: 0 / 338.8 MB, free: 5.754 MB / 270.1 MB Notification: Performance of Templates: time 0.009095/0.3745, allocations: 4.381 MB / 343.2 MB, free: 1.371 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)