Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 288.4 MB / 304.3 MB, free: 8.188 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.001051/0.001051, allocations: 188.5 kB / 372.9 MB, free: 10.16 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.516/1.516, allocations: 205.4 MB / 0.6316 GB, free: 9.883 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.0008682/0.0008683, allocations: 98.34 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 11.62 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2519, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.02026/0.2723, allocations: 22.41 MB / 1.003 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7846/1.057, allocations: 142.8 MB / 1.142 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003301/1.06, allocations: 67.03 kB / 1.142 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/1.062, allocations: 412.9 kB / 1.143 GB, free: 3.574 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.003968/1.066, allocations: 1.151 MB / 1.144 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004801/1.07, allocations: 1.565 MB / 1.145 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008523/1.079, allocations: 5.946 MB / 1.151 GB, free: 15.02 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01455/1.094, allocations: 7.757 MB / 1.159 GB, free: 10.74 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/1.098, allocations: 1.603 MB / 1.16 GB, free: 9.902 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004749/1.103, allocations: 2.158 MB / 1.162 GB, free: 8.629 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001281/1.104, allocations: 183.2 kB / 1.162 GB, free: 8.629 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/1.107, allocations: 0.8267 MB / 1.163 GB, free: 8.281 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001935/1.109, allocations: 1.348 MB / 1.165 GB, free: 7.445 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002558/1.112, allocations: 1.862 MB / 1.166 GB, free: 6.113 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00771/1.119, allocations: 6.661 MB / 1.173 GB, free: 1.129 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/1.12, allocations: 0 / 1.173 GB, free: 1.129 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.607e-06/1.12, allocations: 0 / 1.173 GB, free: 1.129 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002993/1.12, allocations: 2.812 kB / 1.173 GB, free: 1.129 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1145 * Number of variables: 1145 Notification: Performance of Generate backend data structure: time 0.009671/1.13, allocations: 3.734 MB / 1.177 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/1.13, allocations: 12.62 kB / 1.177 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/1.142, allocations: 1.984 MB / 1.178 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005751/1.148, allocations: 2.385 MB / 1.181 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/1.148, allocations: 324.2 kB / 1.181 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/1.149, allocations: 429 kB / 1.182 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/1.165, allocations: 6.608 MB / 1.188 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-05/1.166, allocations: 7.938 kB / 1.188 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005019/1.166, allocations: 188 kB / 1.188 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002355/1.166, allocations: 227.5 kB / 1.188 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/1.182, allocations: 6.532 MB / 1.195 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0425/1.225, allocations: 23.76 MB / 1.218 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009481/1.234, allocations: 4.143 MB / 1.222 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004406/1.239, allocations: 1.859 MB / 1.224 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008173/1.24, allocations: 0.5112 MB / 1.224 GB, free: 204 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00458/1.244, allocations: 2.033 MB / 1.226 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=240): time 5.19e-06/1.244, allocations: 4 kB / 1.226 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of matching and sorting (n=243): time 0.01563/1.26, allocations: 7.197 MB / 1.233 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002037/1.26, allocations: 393.8 kB / 1.234 GB, free: 6.418 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/1.263, allocations: 1.709 MB / 1.235 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004287/1.263, allocations: 69.7 kB / 1.235 GB, free: 4.586 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001743/1.265, allocations: 1.719 MB / 1.237 GB, free: 2.844 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001055/1.266, allocations: 0.8242 MB / 1.238 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/1.266, allocations: 48 kB / 1.238 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002075/1.266, allocations: 415.5 kB / 1.238 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003992/1.27, allocations: 1.567 MB / 1.24 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00453/1.275, allocations: 2.275 MB / 1.242 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008475/1.283, allocations: 3.867 MB / 1.246 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/1.283, allocations: 4 kB / 1.246 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01045/1.294, allocations: 4.175 MB / 1.25 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005928/1.295, allocations: 0.6251 MB / 1.251 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.369e-05/1.295, allocations: 20 kB / 1.251 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.042e-05/1.295, allocations: 35.94 kB / 1.251 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004139/1.299, allocations: 0.8151 MB / 1.251 GB, free: 3.281 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.704e-05/1.299, allocations: 39.86 kB / 1.252 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/1.302, allocations: 390 kB / 1.252 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/1.303, allocations: 147.9 kB / 1.252 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.303, allocations: 4 kB / 1.252 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009437/1.312, allocations: 3.738 MB / 1.256 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.168e-05/1.312, allocations: 23.98 kB / 1.256 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/1.312, allocations: 36.09 kB / 1.256 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00388/1.316, allocations: 0.78 MB / 1.256 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.787e-05/1.316, allocations: 43.86 kB / 1.257 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/1.32, allocations: 343.4 kB / 1.257 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/1.32, allocations: 139.9 kB / 1.257 GB, free: 13.57 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (345): * Single equations (assignments): 345 * 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.003188/1.323, allocations: 1.285 MB / 1.258 GB, free: 12.28 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006912/1.324, allocations: 237.2 kB / 1.258 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009973/1.334, allocations: 4.105 MB / 1.262 GB, free: 7.918 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/1.334, allocations: 15.94 kB / 1.263 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.334, allocations: 4 kB / 1.263 GB, free: 7.898 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001809/1.336, allocations: 0.7587 MB / 1.263 GB, free: 7.117 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/1.336, allocations: 43.94 kB / 1.263 GB, free: 7.074 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00275/1.339, allocations: 363.5 kB / 1.264 GB, free: 6.719 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003498/1.339, allocations: 153.7 kB / 1.264 GB, free: 6.566 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01041/1.35, allocations: 4.123 MB / 1.268 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008659/1.358, allocations: 3.997 MB / 1.272 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003769/1.362, allocations: 1.71 MB / 1.273 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002102/1.364, allocations: 1.225 MB / 1.275 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of Backend: time 9.42e-07/1.364, allocations: 0 / 1.275 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01443/1.379, allocations: 5.095 MB / 1.28 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of SimCode: time 0.01666/1.396, allocations: 8.195 MB / 1.288 GB, free: 14.24 MB / 0.823 GB Notification: Performance of Templates: time 0.1182/1.514, allocations: 63.69 MB / 1.35 GB, free: 14.71 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)