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 1.934/1.934, allocations: 287.4 MB / 303.2 MB, free: 8.168 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.001672/0.001672, allocations: 182.8 kB / 371.8 MB, free: 10.82 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.695/1.695, allocations: 205.4 MB / 0.6304 GB, free: 10.6 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.0008022/0.0008023, allocations: 97.89 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003881, allocations: 14.34 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2558, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01014/0.2661, allocations: 9.742 MB / 0.9888 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7799/1.046, allocations: 138.9 MB / 1.124 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/1.048, allocations: 36.47 kB / 1.125 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/1.049, allocations: 235 kB / 1.125 GB, free: 2.98 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.003544/1.053, allocations: 0.7139 MB / 1.125 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004065/1.057, allocations: 1.091 MB / 1.127 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004844/1.062, allocations: 2.723 MB / 1.129 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004562/1.066, allocations: 2.808 MB / 1.132 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/1.068, allocations: 0.8109 MB / 1.133 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/1.07, allocations: 0.9675 MB / 1.134 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000244/1.07, allocations: 65.66 kB / 1.134 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/1.071, allocations: 428.9 kB / 1.134 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004414/1.072, allocations: 458.7 kB / 1.135 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005603/1.072, allocations: 454.8 kB / 1.135 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003518/1.076, allocations: 3.153 MB / 1.138 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.076, allocations: 5.859 kB / 1.138 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/1.076, allocations: 0 / 1.138 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001141/1.076, allocations: 0 / 1.138 GB, free: 0.5898 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.006164/1.082, allocations: 2.35 MB / 1.14 GB, free: 15.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.072e-05/1.082, allocations: 9.188 kB / 1.14 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/1.094, allocations: 1.664 MB / 1.142 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004028/1.098, allocations: 1.446 MB / 1.143 GB, free: 13.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/1.098, allocations: 185.7 kB / 1.144 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008407/1.099, allocations: 241.6 kB / 1.144 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009809/1.109, allocations: 3.425 MB / 1.147 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.273e-05/1.109, allocations: 6.312 kB / 1.147 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/1.109, allocations: 112.1 kB / 1.147 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/1.109, allocations: 120.6 kB / 1.147 GB, free: 12.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/1.121, allocations: 3.919 MB / 1.151 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02296/1.144, allocations: 10.05 MB / 1.161 GB, free: 5.969 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007312/1.152, allocations: 2.694 MB / 1.164 GB, free: 4.734 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00322/1.155, allocations: 1.267 MB / 1.165 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008861/1.156, allocations: 0.5861 MB / 1.165 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003686/1.16, allocations: 1.514 MB / 1.167 GB, free: 2.551 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 6.011e-06/1.16, allocations: 3.938 kB / 1.167 GB, free: 2.547 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01259/1.172, allocations: 4.264 MB / 1.171 GB, free: 240 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001993/1.172, allocations: 256.6 kB / 1.171 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/1.174, allocations: 1.087 MB / 1.172 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000177/1.174, allocations: 64.58 kB / 1.172 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008888/1.175, allocations: 0.9289 MB / 1.173 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006722/1.176, allocations: 0.6396 MB / 1.174 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/1.176, allocations: 36.06 kB / 1.174 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.176, allocations: 374.6 kB / 1.174 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003087/1.179, allocations: 1.073 MB / 1.175 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00331/1.183, allocations: 1.389 MB / 1.177 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00633/1.189, allocations: 2.47 MB / 1.179 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/1.189, allocations: 6.875 kB / 1.179 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.007662/1.197, allocations: 2.781 MB / 1.182 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002497/1.197, allocations: 279 kB / 1.182 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/1.197, allocations: 8.031 kB / 1.182 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.879e-05/1.197, allocations: 17.77 kB / 1.182 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/1.2, allocations: 0.5479 MB / 1.183 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.699e-05/1.2, allocations: 23.94 kB / 1.183 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/1.203, allocations: 278.6 kB / 1.183 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/1.203, allocations: 91.92 kB / 1.183 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.203, allocations: 11.94 kB / 1.183 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007067/1.21, allocations: 2.563 MB / 1.186 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.21, allocations: 4 kB / 1.186 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.21, allocations: 16 kB / 1.186 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/1.213, allocations: 0.5387 MB / 1.186 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.844e-05/1.214, allocations: 19.98 kB / 1.186 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.216, allocations: 266.6 kB / 1.186 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/1.216, allocations: 95.92 kB / 1.187 GB, free: 4.676 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.001649/1.218, allocations: 0.5838 MB / 1.187 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/1.218, allocations: 173.9 kB / 1.187 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008908/1.227, allocations: 3.111 MB / 1.19 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/1.227, allocations: 7.969 kB / 1.19 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.227, allocations: 0 / 1.19 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.229, allocations: 0.5683 MB / 1.191 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/1.229, allocations: 40 kB / 1.191 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.231, allocations: 231.7 kB / 1.191 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/1.231, allocations: 127.6 kB / 1.191 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008602/1.24, allocations: 2.983 MB / 1.194 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007139/1.247, allocations: 2.899 MB / 1.197 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003238/1.25, allocations: 1.269 MB / 1.198 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001554/1.252, allocations: 0.7753 MB / 1.199 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of Backend: time 4.71e-07/1.252, allocations: 4 kB / 1.199 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01083/1.263, allocations: 3.625 MB / 1.203 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of SimCode: time 0.008484/1.271, allocations: 4.915 MB / 1.207 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.08729/1.359, allocations: 45.66 MB / 1.252 GB, free: 1.973 MB / 0.7761 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)