Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001309/0.00131, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00159/0.00159, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004655/0.0004655, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3106, allocations: 47.6 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002117/0.3128, allocations: 1.203 MB / 327.7 MB, free: 452 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.3149, allocations: 0.8458 MB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.315, allocations: 1.406 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.576e-05/0.3151, allocations: 4.938 kB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.183e-05/0.3152, allocations: 19.69 kB / 328.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.3155, allocations: 40.31 kB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.3157, allocations: 101.8 kB / 328.7 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.3158, allocations: 25.81 kB / 328.7 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000693/0.3165, allocations: 338.5 kB / 329 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.3167, allocations: 72.23 kB / 329.1 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.3167, allocations: 7.25 kB / 329.1 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.259e-05/0.3168, allocations: 3.562 kB / 329.1 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.3169, allocations: 60.52 kB / 329.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.3171, allocations: 77.42 kB / 329.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.3175, allocations: 284.8 kB / 329.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.3175, allocations: 0 / 329.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3176, allocations: 1.156 kB / 329.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3176, allocations: 0 / 329.5 MB, free: 15.22 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.000951/0.3185, allocations: 0.6616 MB / 330.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3186, allocations: 8.812 kB / 330.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.3187, allocations: 38.64 kB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.3191, allocations: 260 kB / 330.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.3191, allocations: 8.438 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.3192, allocations: 15.48 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.3196, allocations: 122.8 kB / 330.6 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3196, allocations: 0 / 330.6 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.3197, allocations: 3.688 kB / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3197, allocations: 1.062 kB / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.3199, allocations: 56.09 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.321, allocations: 465.9 kB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.3212, allocations: 94.55 kB / 331.3 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.3215, allocations: 79.02 kB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3215, allocations: 1.312 kB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005557/0.322, allocations: 203.1 kB / 331.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.071e-05/0.3221, allocations: 4.109 kB / 331.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001229/0.3233, allocations: 467.2 kB / 332 MB, free: 13.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/0.3235, allocations: 169.2 kB / 332.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.3246, allocations: 0.5174 MB / 332.7 MB, free: 12.63 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.3246, allocations: 29.7 kB / 332.7 MB, free: 12.6 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3247, allocations: 103.9 kB / 332.8 MB, free: 12.5 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.3248, allocations: 27.31 kB / 332.8 MB, free: 12.48 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/0.3248, allocations: 2.812 kB / 332.8 MB, free: 12.48 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.3251, allocations: 327.1 kB / 333.2 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3252, allocations: 56.59 kB / 333.2 MB, free: 12.13 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.3254, allocations: 71.47 kB / 333.3 MB, free: 12.09 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.3257, allocations: 170.3 kB / 333.4 MB, free: 11.93 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3257, allocations: 0 / 333.4 MB, free: 11.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008297/0.3266, allocations: 369.9 kB / 333.8 MB, free: 11.68 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.3267, allocations: 129.2 kB / 333.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3268, allocations: 4.969 kB / 333.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3268, allocations: 5 kB / 333.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.626e-05/0.3268, allocations: 1 kB / 333.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3269, allocations: 1.031 kB / 333.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.3271, allocations: 10.22 kB / 334 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.3272, allocations: 45.06 kB / 334 MB, free: 11.53 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.0005748/0.3278, allocations: 370.6 kB / 334.4 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.3278, allocations: 39.53 kB / 334.4 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.328, allocations: 67.16 kB / 334.5 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.328, allocations: 128 / 334.5 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.328, allocations: 4 kB / 334.5 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.328, allocations: 0 / 334.5 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.3291, allocations: 0.8056 MB / 335.3 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.3291, allocations: 0 / 335.3 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-06/0.3291, allocations: 0 / 335.3 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3291, allocations: 0 / 335.3 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.3292, allocations: 11.98 kB / 335.3 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3292, allocations: 4 kB / 335.3 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.3292, allocations: 4 kB / 335.3 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007164/0.3299, allocations: 0.5289 MB / 335.8 MB, free: 9.598 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.3303, allocations: 244.5 kB / 336.1 MB, free: 9.34 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.3304, allocations: 8 kB / 336.1 MB, free: 9.332 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.3306, allocations: 19.97 kB / 336.1 MB, free: 9.312 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.3307, allocations: 23.97 kB / 336.1 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.3308, allocations: 39.94 kB / 336.2 MB, free: 9.25 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000539/0.3313, allocations: 398.8 kB / 336.5 MB, free: 8.863 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3314, allocations: 0 / 336.5 MB, free: 8.863 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003481/0.3317, allocations: 51.86 kB / 336.6 MB, free: 8.812 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.000243/0.332, allocations: 111 kB / 336.7 MB, free: 8.695 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006772/0.3326, allocations: 437.5 kB / 337.1 MB, free: 8.219 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3327, allocations: 0 / 337.1 MB, free: 8.219 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.333, allocations: 369.6 kB / 337.5 MB, free: 7.809 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/0.3338, allocations: 109.5 kB / 337.6 MB, free: 7.699 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.3352, allocations: 0.731 MB / 338.3 MB, free: 6.945 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.3358, allocations: 0.8025 MB / 339.1 MB, free: 6.117 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.3359, allocations: 8.656 kB / 339.1 MB, free: 6.102 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.3359, allocations: 7.438 kB / 339.1 MB, free: 6.098 MB / 270.1 MB Notification: Performance of SimCode: time 4.167e-06/0.3359, allocations: 4 kB / 339.1 MB, free: 6.094 MB / 270.1 MB Notification: Performance of Templates: time 0.008907/0.3448, allocations: 3.765 MB / 342.9 MB, free: 2.324 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1)