Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.808/1.808, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.001341/0.001341, allocations: 176.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 0.6316 GB, free: 9.805 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.0007378/0.0007377, allocations: 100.5 kB / 0.745 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 11.72 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.214, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01314/0.2272, allocations: 9.754 MB / 0.9903 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.622/0.8493, allocations: 138.9 MB / 1.126 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.8508, allocations: 34.66 kB / 1.126 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.8515, allocations: 239.6 kB / 1.126 GB, free: 3.695 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.00242/0.854, allocations: 0.7544 MB / 1.127 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.8573, allocations: 1.101 MB / 1.128 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004181/0.8615, allocations: 2.726 MB / 1.131 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004648/0.8661, allocations: 2.816 MB / 1.133 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.8679, allocations: 0.8061 MB / 1.134 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.8699, allocations: 0.9792 MB / 1.135 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003095/0.8703, allocations: 63.88 kB / 1.135 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.8722, allocations: 0.5771 MB / 1.136 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000701/0.8729, allocations: 471.3 kB / 1.136 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.8748, allocations: 1.004 MB / 1.137 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004764/0.8796, allocations: 3.159 MB / 1.14 GB, free: 116 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.8796, allocations: 0.8438 kB / 1.14 GB, free: 116 kB / 0.6823 GB Notification: Performance of FrontEnd: time 3.276e-06/0.8796, allocations: 0 / 1.14 GB, free: 116 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001518/0.8798, allocations: 1.219 kB / 1.14 GB, free: 116 kB / 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.006796/0.8866, allocations: 2.347 MB / 1.143 GB, free: 14.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.8866, allocations: 9.562 kB / 1.143 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.8979, allocations: 1.667 MB / 1.144 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00357/0.9016, allocations: 1.447 MB / 1.146 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.9018, allocations: 185.7 kB / 1.146 GB, free: 13.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006677/0.9025, allocations: 250.5 kB / 1.146 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00844/0.9109, allocations: 3.424 MB / 1.149 GB, free: 11.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/0.911, allocations: 2.781 kB / 1.149 GB, free: 11.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002532/0.9113, allocations: 111.4 kB / 1.15 GB, free: 11.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/0.9114, allocations: 117.9 kB / 1.15 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.9221, allocations: 3.925 MB / 1.153 GB, free: 11.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01795/0.9401, allocations: 10.05 MB / 1.163 GB, free: 4.906 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007313/0.9475, allocations: 2.691 MB / 1.166 GB, free: 3.555 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/0.9511, allocations: 1.267 MB / 1.167 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008953/0.952, allocations: 0.5745 MB / 1.168 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004064/0.9561, allocations: 1.522 MB / 1.169 GB, free: 1.363 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 5.49e-06/0.9561, allocations: 0 / 1.169 GB, free: 1.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.0117/0.9678, allocations: 4.263 MB / 1.173 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.968, allocations: 256.2 kB / 1.174 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.9697, allocations: 1.089 MB / 1.175 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003436/0.9701, allocations: 62.86 kB / 1.175 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008478/0.971, allocations: 0.9333 MB / 1.176 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000705/0.9717, allocations: 0.6404 MB / 1.176 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.9718, allocations: 33.47 kB / 1.176 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.972, allocations: 377.1 kB / 1.177 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003058/0.975, allocations: 1.069 MB / 1.178 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/0.9783, allocations: 1.393 MB / 1.179 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006429/0.9848, allocations: 2.47 MB / 1.181 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/0.9849, allocations: 3.938 kB / 1.181 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.007819/0.9927, allocations: 2.782 MB / 1.184 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002478/0.993, allocations: 281 kB / 1.184 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.993, allocations: 4 kB / 1.184 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.993, allocations: 16 kB / 1.184 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/0.9964, allocations: 0.5539 MB / 1.185 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.376e-05/0.9965, allocations: 19.92 kB / 1.185 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/0.9994, allocations: 277.2 kB / 1.185 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002628/0.9997, allocations: 95.92 kB / 1.185 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.9997, allocations: 11.92 kB / 1.185 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007683/1.007, allocations: 2.561 MB / 1.188 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/1.007, allocations: 8 kB / 1.188 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.007, allocations: 12 kB / 1.188 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/1.011, allocations: 0.5424 MB / 1.188 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.38e-05/1.011, allocations: 16.56 kB / 1.188 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/1.013, allocations: 270.6 kB / 1.189 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/1.014, allocations: 91.92 kB / 1.189 GB, free: 3.062 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: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 237 * 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.001716/1.015, allocations: 0.5787 MB / 1.189 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005575/1.016, allocations: 171.7 kB / 1.19 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008826/1.025, allocations: 3.115 MB / 1.193 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.583e-05/1.025, allocations: 15.89 kB / 1.193 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.025, allocations: 8 kB / 1.193 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.026, allocations: 0.5683 MB / 1.193 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/1.027, allocations: 36 kB / 1.193 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.029, allocations: 231.7 kB / 1.193 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/1.029, allocations: 121.8 kB / 1.194 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008615/1.038, allocations: 2.985 MB / 1.196 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007054/1.045, allocations: 2.896 MB / 1.199 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003089/1.048, allocations: 1.273 MB / 1.201 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001301/1.049, allocations: 0.7752 MB / 1.201 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of Backend: time 1.693e-06/1.049, allocations: 0 / 1.201 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.06, allocations: 3.704 MB / 1.205 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of SimCode: time 0.008678/1.069, allocations: 4.919 MB / 1.21 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of Templates: time 0.08342/1.152, allocations: 45.91 MB / 1.255 GB, free: 15.98 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1)