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.001218/0.001218, allocations: 98.27 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.01275/0.01275, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.95/1.95, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.0006165/0.0006165, allocations: 14.66 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4465, allocations: 47.58 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002238/0.4489, allocations: 1.24 MB / 328.3 MB, free: 404 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.4514, allocations: 0.8923 MB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.4516, allocations: 0 / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.4518, allocations: 14.23 kB / 329.2 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.4519, allocations: 10.97 kB / 329.2 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.4523, allocations: 43.89 kB / 329.2 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.4525, allocations: 116.2 kB / 329.3 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.4527, allocations: 25.25 kB / 329.4 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.4538, allocations: 369.4 kB / 329.7 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.454, allocations: 61.86 kB / 329.8 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.4541, allocations: 2.969 kB / 329.8 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.498e-05/0.4541, allocations: 4.031 kB / 329.8 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.4543, allocations: 65.83 kB / 329.9 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.4546, allocations: 132.6 kB / 330 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006916/0.4553, allocations: 343.6 kB / 330.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.4553, allocations: 0 / 330.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.4554, allocations: 5.156 kB / 330.3 MB, free: 15.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.4554, allocations: 0 / 330.3 MB, free: 15.01 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.001603/0.457, allocations: 0.6586 MB / 331 MB, free: 14.35 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001115/0.4571, allocations: 9.375 kB / 331 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.4573, allocations: 35.16 kB / 331 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.4578, allocations: 276.9 kB / 331.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.4579, allocations: 8.688 kB / 331.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.4579, allocations: 19.52 kB / 331.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/0.4584, allocations: 127.7 kB / 331.4 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4584, allocations: 0 / 331.4 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.4585, allocations: 7.109 kB / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4585, allocations: 1 kB / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.4587, allocations: 64.23 kB / 331.5 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.4599, allocations: 449 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.4602, allocations: 102.5 kB / 332.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.4605, allocations: 80.02 kB / 332.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4605, allocations: 0 / 332.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005565/0.4611, allocations: 199.4 kB / 332.3 MB, free: 13.24 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/0.4611, allocations: 0 / 332.3 MB, free: 13.24 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.00125/0.4624, allocations: 464.4 kB / 332.8 MB, free: 12.95 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.4625, allocations: 172.3 kB / 333 MB, free: 12.75 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.4637, allocations: 0.5132 MB / 333.5 MB, free: 12.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.4637, allocations: 30.09 kB / 333.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.4639, allocations: 113.3 kB / 333.6 MB, free: 12.27 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.4639, allocations: 34.44 kB / 333.6 MB, free: 12.25 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.464, allocations: 21.59 kB / 333.7 MB, free: 12.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.4643, allocations: 326 kB / 334 MB, free: 11.9 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.4645, allocations: 53.5 kB / 334 MB, free: 11.88 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.4647, allocations: 79.39 kB / 334.1 MB, free: 11.83 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.4652, allocations: 342.7 kB / 334.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4652, allocations: 1.188 kB / 334.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006942/0.4659, allocations: 369.9 kB / 334.8 MB, free: 11.18 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.4661, allocations: 126.8 kB / 334.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4661, allocations: 0 / 334.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/0.4661, allocations: 4 kB / 334.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.236e-05/0.4662, allocations: 3.938 kB / 334.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4662, allocations: 4.031 kB / 334.9 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.4664, allocations: 16 kB / 335 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.4665, allocations: 39.98 kB / 335 MB, free: 10.97 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.0004555/0.467, allocations: 366.2 kB / 335.4 MB, free: 10.57 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.4671, allocations: 39.53 kB / 335.4 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.4672, allocations: 63.16 kB / 335.5 MB, free: 10.47 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4672, allocations: 0 / 335.5 MB, free: 10.47 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.4672, allocations: 0 / 335.5 MB, free: 10.47 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4672, allocations: 4 kB / 335.5 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.4685, allocations: 0.8098 MB / 336.3 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4685, allocations: 0 / 336.3 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-06/0.4686, allocations: 0 / 336.3 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4686, allocations: 0 / 336.3 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.4686, allocations: 19.92 kB / 336.3 MB, free: 9.555 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.4686, allocations: 4.188 kB / 336.3 MB, free: 9.551 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4686, allocations: 3.938 kB / 336.3 MB, free: 9.547 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.4694, allocations: 0.5291 MB / 336.8 MB, free: 8.977 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.4698, allocations: 240.5 kB / 337.1 MB, free: 8.723 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.4699, allocations: 8 kB / 337.1 MB, free: 8.715 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.4701, allocations: 19.89 kB / 337.1 MB, free: 8.695 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.4703, allocations: 27.84 kB / 337.1 MB, free: 8.668 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.055e-05/0.4704, allocations: 51.86 kB / 337.2 MB, free: 8.617 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005958/0.471, allocations: 386.9 kB / 337.5 MB, free: 8.242 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.471, allocations: 0 / 337.5 MB, free: 8.242 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.4713, allocations: 48 kB / 337.6 MB, free: 8.195 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.0002617/0.4716, allocations: 115 kB / 337.7 MB, free: 8.074 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007554/0.4723, allocations: 433.5 kB / 338.1 MB, free: 7.602 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4724, allocations: 0 / 338.1 MB, free: 7.602 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.4728, allocations: 377.5 kB / 338.5 MB, free: 7.184 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007647/0.4736, allocations: 113.4 kB / 338.6 MB, free: 7.07 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.4752, allocations: 0.7584 MB / 339.4 MB, free: 6.289 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.4759, allocations: 0.7992 MB / 340.2 MB, free: 5.465 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.139e-05/0.476, allocations: 8.656 kB / 340.2 MB, free: 5.449 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.476, allocations: 7.438 kB / 340.2 MB, free: 5.445 MB / 270.1 MB Notification: Performance of SimCode: time 9.12e-07/0.476, allocations: 4 kB / 340.2 MB, free: 5.441 MB / 270.1 MB Notification: Performance of Templates: time 0.008922/0.485, allocations: 3.835 MB / 344 MB, free: 1.602 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)