Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 117 kB / 17.1 MB, free: 5.953 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.001194/0.001194, allocations: 195 kB / 18.03 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8043/0.8043, allocations: 126.1 MB / 417.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 60.16 kB / 0.5737 GB, free: 27.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1578, allocations: 78.71 MB / 0.6506 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004185/0.162, allocations: 2.3 MB / 0.6528 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1634, allocations: 0.7792 MB / 0.6536 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1636, allocations: 4 kB / 0.6536 GB, free: 1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006973/0.1643, allocations: 151.4 kB / 0.6537 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.1646, allocations: 67.59 kB / 0.6538 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.1648, allocations: 47.88 kB / 0.6538 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.165, allocations: 159.5 kB / 0.654 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.1653, allocations: 101 kB / 0.6541 GB, free: 496 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.1655, allocations: 63.77 kB / 0.6541 GB, free: 432 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.1657, allocations: 75.61 kB / 0.6542 GB, free: 356 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.1657, allocations: 12 kB / 0.6542 GB, free: 344 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1659, allocations: 51.91 kB / 0.6543 GB, free: 292 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.1659, allocations: 39.91 kB / 0.6543 GB, free: 252 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.166e-05/0.166, allocations: 71.64 kB / 0.6544 GB, free: 180 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.1664, allocations: 167.3 kB / 0.6545 GB, free: 12 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1664, allocations: 0 / 0.6545 GB, free: 12 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1664, allocations: 0 / 0.6545 GB, free: 12 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1664, allocations: 0 / 0.6545 GB, free: 12 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007889/0.1672, allocations: 494.3 kB / 0.655 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1673, allocations: 8.031 kB / 0.655 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.1675, allocations: 32.83 kB / 0.6551 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.1678, allocations: 220.1 kB / 0.6553 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.1679, allocations: 38.45 kB / 0.6553 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.1679, allocations: 12.12 kB / 0.6553 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1682, allocations: 150.4 kB / 0.6555 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1682, allocations: 3.984 kB / 0.6555 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.1683, allocations: 3.984 kB / 0.6555 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.1683, allocations: 8 kB / 0.6555 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.1685, allocations: 91.83 kB / 0.6556 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008766/0.1694, allocations: 0.6403 MB / 0.6562 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1696, allocations: 62.55 kB / 0.6562 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.1697, allocations: 24.92 kB / 0.6563 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.1697, allocations: 0 / 0.6563 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.17, allocations: 146.8 kB / 0.6564 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.17, allocations: 0 / 0.6564 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0003895/0.1704, allocations: 167.3 kB / 0.6566 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.1705, allocations: 132.5 kB / 0.6567 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1706, allocations: 182.3 kB / 0.6569 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1707, allocations: 25.7 kB / 0.6569 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.1708, allocations: 148 kB / 0.657 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.1708, allocations: 27.78 kB / 0.6571 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.1709, allocations: 37.72 kB / 0.6571 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.171, allocations: 326.8 kB / 0.6574 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-05/0.1711, allocations: 39.97 kB / 0.6574 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1713, allocations: 111.6 kB / 0.6575 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.1715, allocations: 226.4 kB / 0.6578 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.1715, allocations: 4 kB / 0.6578 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003669/0.1719, allocations: 240.7 kB / 0.658 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.172, allocations: 71.64 kB / 0.6581 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.172, allocations: 4 kB / 0.6581 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.172, allocations: 7.938 kB / 0.6581 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1721, allocations: 27.92 kB / 0.6581 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1722, allocations: 4.312 kB / 0.6581 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.1723, allocations: 27.88 kB / 0.6581 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.1723, allocations: 12 kB / 0.6581 GB, free: 11.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001489/0.1725, allocations: 167.5 kB / 0.6583 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.1725, allocations: 15.91 kB / 0.6583 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.1726, allocations: 17.34 kB / 0.6583 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1726, allocations: 3.984 kB / 0.6583 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1726, allocations: 0 / 0.6583 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.1727, allocations: 89.02 kB / 0.6584 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.1727, allocations: 7.938 kB / 0.6584 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.1728, allocations: 11.98 kB / 0.6584 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.1729, allocations: 8 kB / 0.6585 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003947/0.1733, allocations: 289.9 kB / 0.6587 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004636/0.1738, allocations: 360.3 kB / 0.6591 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001013/0.1739, allocations: 52 kB / 0.6591 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001008/0.174, allocations: 128.3 kB / 0.6592 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of Backend: time 4.01e-07/0.174, allocations: 0 / 0.6592 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006429/0.1746, allocations: 313.1 kB / 0.6595 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0007128/0.1754, allocations: 0.7763 MB / 0.6603 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of Templates: time 0.004834/0.1802, allocations: 1.737 MB / 0.662 GB, free: 7.805 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)