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.001457/0.001456, allocations: 103.9 kB / 16.94 MB, free: 6.191 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.001602/0.001602, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.324/1.324, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7705/0.7705, allocations: 122.9 MB / 414.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 0.4917 GB, free: 7.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3593, allocations: 77.93 MB / 0.5678 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003806/0.3631, allocations: 2.284 MB / 0.5701 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3644, allocations: 0.7851 MB / 0.5708 GB, free: 30.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3645, allocations: 7.281 kB / 0.5708 GB, free: 30.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005724/0.3651, allocations: 139.3 kB / 0.571 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.3653, allocations: 69.2 kB / 0.571 GB, free: 30.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.3655, allocations: 54 kB / 0.5711 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.3657, allocations: 159.9 kB / 0.5712 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002643/0.366, allocations: 100.8 kB / 0.5713 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.3661, allocations: 71.38 kB / 0.5714 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.3663, allocations: 64.47 kB / 0.5715 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.3664, allocations: 12.5 kB / 0.5715 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.3665, allocations: 51.84 kB / 0.5715 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.3666, allocations: 39.73 kB / 0.5716 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.962e-05/0.3667, allocations: 72.89 kB / 0.5716 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3669, allocations: 163.6 kB / 0.5718 GB, free: 30.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3669, allocations: 0 / 0.5718 GB, free: 30.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.367, allocations: 0 / 0.5718 GB, free: 30.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.367, allocations: 0 / 0.5718 GB, free: 30.13 MB / 446.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.0006175/0.3676, allocations: 0.4917 MB / 0.5723 GB, free: 29.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3676, allocations: 9.562 kB / 0.5723 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.3679, allocations: 26.25 kB / 0.5723 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.3681, allocations: 206.7 kB / 0.5725 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.3681, allocations: 40.09 kB / 0.5725 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.3682, allocations: 17.33 kB / 0.5726 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.3685, allocations: 144 kB / 0.5727 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3685, allocations: 1.031 kB / 0.5727 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3685, allocations: 1.125 kB / 0.5727 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.3685, allocations: 14.19 kB / 0.5727 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.3687, allocations: 87.12 kB / 0.5728 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000782/0.3695, allocations: 0.6454 MB / 0.5734 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.3698, allocations: 54.12 kB / 0.5735 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.3699, allocations: 33.89 kB / 0.5735 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.3699, allocations: 0.9375 kB / 0.5735 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.3701, allocations: 148 kB / 0.5736 GB, free: 28.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.3701, allocations: 1.031 kB / 0.5736 GB, free: 28.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003665/0.3705, allocations: 157.9 kB / 0.5738 GB, free: 28.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.3705, allocations: 136.5 kB / 0.5739 GB, free: 28.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.3707, allocations: 191.6 kB / 0.5741 GB, free: 28.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.3707, allocations: 28.67 kB / 0.5741 GB, free: 28.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.3708, allocations: 136 kB / 0.5743 GB, free: 27.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.3708, allocations: 25.23 kB / 0.5743 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.3709, allocations: 38.92 kB / 0.5743 GB, free: 27.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.3709, allocations: 328.1 kB / 0.5746 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.371, allocations: 34.11 kB / 0.5747 GB, free: 27.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3712, allocations: 112.5 kB / 0.5748 GB, free: 27.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.3714, allocations: 235.8 kB / 0.575 GB, free: 27.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3714, allocations: 0.75 kB / 0.575 GB, free: 27.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003683/0.3718, allocations: 246.7 kB / 0.5752 GB, free: 27.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.3719, allocations: 65.52 kB / 0.5753 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3719, allocations: 8.156 kB / 0.5753 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3719, allocations: 3.438 kB / 0.5753 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.372, allocations: 27.45 kB / 0.5753 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3721, allocations: 8.031 kB / 0.5754 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.3722, allocations: 28.08 kB / 0.5754 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3722, allocations: 6.688 kB / 0.5754 GB, free: 27.03 MB / 446.1 MB 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.0001089/0.3723, allocations: 163 kB / 0.5755 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.3724, allocations: 11.22 kB / 0.5755 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.3724, allocations: 21.84 kB / 0.5756 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.3724, allocations: 3.984 kB / 0.5756 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3724, allocations: 1.875 kB / 0.5756 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3724, allocations: 0 / 0.5756 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.3726, allocations: 217.6 kB / 0.5758 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3726, allocations: 0.75 kB / 0.5758 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.3727, allocations: 10.66 kB / 0.5758 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3727, allocations: 1.656 kB / 0.5758 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3727, allocations: 8.125 kB / 0.5758 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3727, allocations: 0 / 0.5758 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3727, allocations: 1.031 kB / 0.5758 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.3731, allocations: 214 kB / 0.576 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.3731, allocations: 93.23 kB / 0.5761 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3732, allocations: 7 kB / 0.5761 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/0.3733, allocations: 14.98 kB / 0.5761 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.3733, allocations: 10.19 kB / 0.5761 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-06/0.3734, allocations: 3.703 kB / 0.5761 GB, free: 26.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.916e-05/0.3735, allocations: 132.2 kB / 0.5763 GB, free: 26.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.41e-07/0.3735, allocations: 1.156 kB / 0.5763 GB, free: 26.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.3737, allocations: 34.62 kB / 0.5763 GB, free: 26.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.723e-05/0.3738, allocations: 106.5 kB / 0.5764 GB, free: 26.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003059/0.3741, allocations: 222.7 kB / 0.5766 GB, free: 26.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.3742, allocations: 0 / 0.5766 GB, free: 26.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.3743, allocations: 105 kB / 0.5767 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.3745, allocations: 17.17 kB / 0.5767 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.3751, allocations: 316.3 kB / 0.577 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.3753, allocations: 0.7155 MB / 0.5777 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.3753, allocations: 18.62 kB / 0.5777 GB, free: 25.01 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3753, allocations: 0.875 kB / 0.5777 GB, free: 25.01 MB / 446.1 MB Notification: Performance of Templates: time 0.003881/0.3792, allocations: 1.695 MB / 0.5794 GB, free: 24.9 MB / 446.1 MB 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)