Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.904/2.904, allocations: 287.3 MB / 302.3 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.00149, allocations: 186.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.371/2.371, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 88.14 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004764, allocations: 11.84 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2224, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01443/0.2369, allocations: 9.49 MB / 0.9875 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9025/1.139, allocations: 129.7 MB / 1.114 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/1.141, allocations: 32.41 kB / 1.114 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007613/1.142, allocations: 174 kB / 1.114 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003909/1.146, allocations: 0.7937 MB / 1.115 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005215/1.151, allocations: 1.134 MB / 1.116 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004988/1.156, allocations: 1.671 MB / 1.118 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005583/1.162, allocations: 2.295 MB / 1.12 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/1.164, allocations: 0.8162 MB / 1.121 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/1.166, allocations: 0.8743 MB / 1.122 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003872/1.167, allocations: 64.09 kB / 1.122 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/1.168, allocations: 390 kB / 1.122 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006325/1.169, allocations: 452.2 kB / 1.123 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006888/1.17, allocations: 460.8 kB / 1.123 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0052/1.175, allocations: 3.148 MB / 1.126 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.175, allocations: 0 / 1.126 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.367e-06/1.175, allocations: 0 / 1.126 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001169/1.175, allocations: 0 / 1.126 GB, free: 1.406 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.008169/1.183, allocations: 2.385 MB / 1.128 GB, free: 108 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.183, allocations: 10.25 kB / 1.128 GB, free: 108 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02057/1.204, allocations: 1.673 MB / 1.13 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004309/1.208, allocations: 1.407 MB / 1.131 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/1.208, allocations: 191.8 kB / 1.132 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00099/1.209, allocations: 244.2 kB / 1.132 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/1.224, allocations: 3.4 MB / 1.135 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/1.224, allocations: 5.438 kB / 1.135 GB, free: 13.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005163/1.225, allocations: 107.5 kB / 1.135 GB, free: 13.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002655/1.225, allocations: 120 kB / 1.135 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02056/1.246, allocations: 3.925 MB / 1.139 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03094/1.277, allocations: 10.05 MB / 1.149 GB, free: 7.102 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01473/1.292, allocations: 2.706 MB / 1.152 GB, free: 6.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/1.293, allocations: 0.5813 MB / 1.152 GB, free: 5.969 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007566/1.301, allocations: 1.511 MB / 1.154 GB, free: 5.469 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 5.49e-06/1.301, allocations: 4 kB / 1.154 GB, free: 5.465 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.02115/1.322, allocations: 4.27 MB / 1.158 GB, free: 4.215 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/1.322, allocations: 251.8 kB / 1.158 GB, free: 3.934 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/1.324, allocations: 1.095 MB / 1.159 GB, free: 3.605 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007729/1.325, allocations: 60.45 kB / 1.159 GB, free: 3.574 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.326, allocations: 0.9285 MB / 1.16 GB, free: 3.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/1.327, allocations: 0.6415 MB / 1.161 GB, free: 2.547 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/1.328, allocations: 37 kB / 1.161 GB, free: 2.547 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.328, allocations: 380.4 kB / 1.161 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005809/1.334, allocations: 1.046 MB / 1.162 GB, free: 2.031 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006522/1.34, allocations: 1.382 MB / 1.164 GB, free: 1.188 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00651/1.347, allocations: 1.163 MB / 1.165 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/1.347, allocations: 0 / 1.165 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01467/1.362, allocations: 2.733 MB / 1.167 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001297/1.363, allocations: 2.465 MB / 1.17 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/1.363, allocations: 5.969 kB / 1.17 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.295e-05/1.363, allocations: 18.94 kB / 1.17 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006538/1.37, allocations: 0.5395 MB / 1.17 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-05/1.37, allocations: 21.02 kB / 1.17 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004777/1.375, allocations: 279.1 kB / 1.171 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005533/1.375, allocations: 90.42 kB / 1.171 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.375, allocations: 6.234 kB / 1.171 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01361/1.389, allocations: 2.514 MB / 1.173 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/1.389, allocations: 7.281 kB / 1.173 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/1.389, allocations: 13.06 kB / 1.173 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006161/1.395, allocations: 0.5238 MB / 1.174 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.047e-05/1.395, allocations: 23.55 kB / 1.174 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004585/1.4, allocations: 267.7 kB / 1.174 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005436/1.4, allocations: 90.05 kB / 1.174 GB, free: 10.65 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * 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.002143/1.403, allocations: 0.5785 MB / 1.175 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006638/1.403, allocations: 166.2 kB / 1.175 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/1.42, allocations: 3.134 MB / 1.178 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/1.42, allocations: 20 kB / 1.178 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/1.42, allocations: 4 kB / 1.178 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.572e-05/1.42, allocations: 11.95 kB / 1.178 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02517/1.445, allocations: 5.842 MB / 1.184 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/1.445, allocations: 8.094 kB / 1.184 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006378/1.452, allocations: 0.511 MB / 1.184 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.49e-05/1.452, allocations: 8 kB / 1.184 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005934/1.453, allocations: 63.94 kB / 1.184 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.241e-05/1.453, allocations: 15.89 kB / 1.184 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.453, allocations: 5.844 kB / 1.184 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/1.468, allocations: 2.879 MB / 1.187 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/1.47, allocations: 0.5684 MB / 1.188 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008593/1.471, allocations: 43.98 kB / 1.188 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004816/1.476, allocations: 207.8 kB / 1.188 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007143/1.476, allocations: 137.8 kB / 1.188 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000413/1.477, allocations: 71.94 kB / 1.188 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002122/1.479, allocations: 0.7829 MB / 1.189 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.479, allocations: 0 / 1.189 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00553/1.484, allocations: 0.7733 MB / 1.19 GB, free: 12.08 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002591/1.487, allocations: 0.6079 MB / 1.19 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02169/1.509, allocations: 3.966 MB / 1.194 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.509, allocations: 4 kB / 1.194 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007286/1.516, allocations: 1.363 MB / 1.195 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/1.52, allocations: 368.3 kB / 1.196 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/1.538, allocations: 5.356 MB / 1.201 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002188/1.54, allocations: 1.599 MB / 1.202 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.009033/1.549, allocations: 0.7749 MB / 1.203 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002514/1.552, allocations: 215.3 kB / 1.203 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of SimCode: time 1.192e-06/1.552, allocations: 0 / 1.203 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of Templates: time 0.08342/1.635, allocations: 26.58 MB / 1.229 GB, free: 3.496 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1)