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.001387/0.001387, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001582/0.001581, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0006483/0.0006483, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4156, allocations: 47.58 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00247/0.4181, allocations: 1.202 MB / 327.6 MB, free: 480 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.4206, allocations: 0.8578 MB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.4208, allocations: 0 / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.4209, allocations: 11.92 kB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.421, allocations: 14.61 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.4214, allocations: 41.27 kB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.4216, allocations: 68.42 kB / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.4217, allocations: 16.05 kB / 328.7 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006167/0.4224, allocations: 294.2 kB / 328.9 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.4226, allocations: 63.7 kB / 329 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.4226, allocations: 4.188 kB / 329 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.142e-05/0.4226, allocations: 4.188 kB / 329 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4228, allocations: 64.36 kB / 329.1 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.4229, allocations: 71.8 kB / 329.1 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.4232, allocations: 277 kB / 329.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4233, allocations: 1.094 kB / 329.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4233, allocations: 0 / 329.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.4233, allocations: 0 / 329.4 MB, free: 15.29 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.0008691/0.4242, allocations: 0.6689 MB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.4242, allocations: 9.938 kB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.914e-05/0.4243, allocations: 33.81 kB / 330.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.4248, allocations: 264.5 kB / 330.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.4248, allocations: 4.688 kB / 330.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.4248, allocations: 7.594 kB / 330.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.4252, allocations: 121.4 kB / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4252, allocations: 1.031 kB / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.4253, allocations: 8.125 kB / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.4253, allocations: 0 / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.4255, allocations: 63.75 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000919/0.4264, allocations: 466.1 kB / 331 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.4266, allocations: 94.83 kB / 331.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.4266, allocations: 1.062 kB / 331.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004152/0.4271, allocations: 203.2 kB / 331.3 MB, free: 13.57 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.4271, allocations: 0 / 331.3 MB, free: 13.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001097/0.4282, allocations: 0.6164 MB / 331.9 MB, free: 13.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.4283, allocations: 168.5 kB / 332.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008172/0.4291, allocations: 0.5139 MB / 332.6 MB, free: 12.55 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.4292, allocations: 29.33 kB / 332.7 MB, free: 12.52 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.4293, allocations: 101.7 kB / 332.8 MB, free: 12.42 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.4293, allocations: 30.92 kB / 332.8 MB, free: 12.4 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.4294, allocations: 2.25 kB / 332.8 MB, free: 12.4 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4295, allocations: 330.5 kB / 333.1 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.4297, allocations: 58.59 kB / 333.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.4299, allocations: 73.39 kB / 333.2 MB, free: 12 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.4302, allocations: 162.8 kB / 333.4 MB, free: 11.84 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4302, allocations: 3.938 kB / 333.4 MB, free: 11.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006861/0.4309, allocations: 378.2 kB / 333.8 MB, free: 11.59 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.431, allocations: 122.1 kB / 333.9 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4311, allocations: 0 / 333.9 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.4311, allocations: 1.5 kB / 333.9 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.349e-05/0.4311, allocations: 0 / 333.9 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.4311, allocations: 1.375 kB / 333.9 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.4314, allocations: 22.08 kB / 333.9 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.153e-05/0.4315, allocations: 37.52 kB / 334 MB, free: 11.45 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.0006115/0.4321, allocations: 369.3 kB / 334.3 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.4322, allocations: 38.84 kB / 334.3 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.4323, allocations: 75.39 kB / 334.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.4324, allocations: 1.156 kB / 334.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.4324, allocations: 0 / 334.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4324, allocations: 1.156 kB / 334.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.4336, allocations: 0.8014 MB / 335.2 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4336, allocations: 0 / 335.2 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-06/0.4337, allocations: 3.938 kB / 335.2 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.4337, allocations: 4 kB / 335.2 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.4337, allocations: 12 kB / 335.2 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.4337, allocations: 4 kB / 335.3 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.4337, allocations: 3.984 kB / 335.3 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.4345, allocations: 0.5134 MB / 335.8 MB, free: 9.613 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/0.4349, allocations: 248.5 kB / 336 MB, free: 9.352 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.4349, allocations: 8.25 kB / 336 MB, free: 9.344 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.4351, allocations: 19.98 kB / 336 MB, free: 9.324 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.4353, allocations: 23.97 kB / 336.1 MB, free: 9.301 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.4354, allocations: 51.91 kB / 336.1 MB, free: 9.25 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005486/0.4359, allocations: 382.9 kB / 336.5 MB, free: 8.879 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4359, allocations: 4 kB / 336.5 MB, free: 8.875 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000354/0.4363, allocations: 43.91 kB / 336.5 MB, free: 8.832 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.0002576/0.4365, allocations: 118.9 kB / 336.6 MB, free: 8.707 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006514/0.4372, allocations: 433.5 kB / 337.1 MB, free: 8.234 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4372, allocations: 4.062 kB / 337.1 MB, free: 8.23 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004152/0.4376, allocations: 377.6 kB / 337.4 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.0006482/0.4383, allocations: 101.4 kB / 337.5 MB, free: 7.711 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.4397, allocations: 0.7386 MB / 338.3 MB, free: 6.949 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.4403, allocations: 0.8064 MB / 339.1 MB, free: 6.117 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.749e-05/0.4404, allocations: 12.64 kB / 339.1 MB, free: 6.098 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.4404, allocations: 11.44 kB / 339.1 MB, free: 6.09 MB / 270.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4404, allocations: 4 kB / 339.1 MB, free: 6.086 MB / 270.1 MB Notification: Performance of Templates: time 0.008355/0.4488, allocations: 3.749 MB / 342.9 MB, free: 2.332 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: