Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.228/2.228, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00211/0.00211, allocations: 183.8 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.376/2.376, allocations: 205.4 MB / 0.5772 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008853/0.0008847, allocations: 89.05 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006718/0.0006719, allocations: 12.16 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2263, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.0347/0.261, allocations: 23.42 MB / 0.9224 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.9298/1.191, allocations: 143.1 MB / 1.062 GB, free: 9.934 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003587/1.195, allocations: 68.5 kB / 1.062 GB, free: 9.934 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/1.197, allocations: 479 kB / 1.063 GB, free: 9.934 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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.006731/1.204, allocations: 1.27 MB / 1.064 GB, free: 9.859 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008011/1.212, allocations: 1.711 MB / 1.066 GB, free: 9.793 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0131/1.225, allocations: 6.563 MB / 1.072 GB, free: 9.766 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02084/1.246, allocations: 7.572 MB / 1.079 GB, free: 8.664 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005312/1.252, allocations: 1.741 MB / 1.081 GB, free: 8.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006253/1.258, allocations: 2.334 MB / 1.083 GB, free: 8.652 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001935/1.26, allocations: 201 kB / 1.084 GB, free: 8.652 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004298/1.264, allocations: 0.6021 MB / 1.084 GB, free: 8.633 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003818/1.268, allocations: 1.48 MB / 1.086 GB, free: 8.629 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00304/1.271, allocations: 0.8661 MB / 1.086 GB, free: 8.598 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01261/1.284, allocations: 7.232 MB / 1.093 GB, free: 8.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.284, allocations: 0 / 1.093 GB, free: 8.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.119e-06/1.284, allocations: 2.906 kB / 1.093 GB, free: 8.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003332/1.284, allocations: 0 / 1.093 GB, free: 8.25 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: 1228 * Number of variables: 1228 Notification: Performance of Generate backend data structure: time 0.01592/1.3, allocations: 4.002 MB / 1.097 GB, free: 6.426 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.3, allocations: 7.906 kB / 1.097 GB, free: 6.426 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02309/1.323, allocations: 2.055 MB / 1.099 GB, free: 5.777 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008126/1.332, allocations: 2.505 MB / 1.102 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004725/1.332, allocations: 356.6 kB / 1.102 GB, free: 4.879 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002269/1.334, allocations: 453.5 kB / 1.103 GB, free: 4.879 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0294/1.364, allocations: 7.092 MB / 1.11 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002447/1.364, allocations: 15.91 kB / 1.11 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002022/1.366, allocations: 193.9 kB / 1.11 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004936/1.367, allocations: 259 kB / 1.11 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03023/1.397, allocations: 6.891 MB / 1.117 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06673/1.464, allocations: 27.1 MB / 1.143 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01831/1.482, allocations: 4.26 MB / 1.147 GB, free: 148 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008885/1.491, allocations: 2.105 MB / 1.149 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/1.493, allocations: 0.5132 MB / 1.15 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009589/1.502, allocations: 2.236 MB / 1.152 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=254): time 1.045e-05/1.502, allocations: 0 / 1.152 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=257): time 0.03229/1.535, allocations: 7.917 MB / 1.16 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002809/1.535, allocations: 389.8 kB / 1.16 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00428/1.539, allocations: 1.793 MB / 1.162 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0009117/1.54, allocations: 73.7 kB / 1.162 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002515/1.543, allocations: 1.822 MB / 1.164 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001839/1.545, allocations: 0.8516 MB / 1.165 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004188/1.545, allocations: 57.75 kB / 1.165 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003054/1.545, allocations: 411.7 kB / 1.165 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008216/1.554, allocations: 1.684 MB / 1.167 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009308/1.563, allocations: 2.383 MB / 1.169 GB, free: 172 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009235/1.572, allocations: 1.958 MB / 1.171 GB, free: 14.96 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.707e-05/1.572, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.7449 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.02105/1.593, allocations: 4.436 MB / 1.175 GB, free: 11.94 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005668/1.594, allocations: 0.5849 MB / 1.176 GB, free: 11.17 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.576e-05/1.594, allocations: 23.94 kB / 1.176 GB, free: 11.14 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.947e-05/1.594, allocations: 38.89 kB / 1.176 GB, free: 11.11 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009023/1.603, allocations: 0.8416 MB / 1.177 GB, free: 10.33 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-05/1.603, allocations: 40.7 kB / 1.177 GB, free: 10.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00688/1.61, allocations: 399.6 kB / 1.177 GB, free: 9.949 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.611, allocations: 141.8 kB / 1.177 GB, free: 9.832 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.611, allocations: 9.859 kB / 1.177 GB, free: 9.824 MB / 0.7449 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01912/1.631, allocations: 3.883 MB / 1.181 GB, free: 7.273 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-05/1.631, allocations: 23.98 kB / 1.181 GB, free: 7.25 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.063e-05/1.631, allocations: 28 kB / 1.181 GB, free: 7.223 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008372/1.639, allocations: 0.7899 MB / 1.182 GB, free: 6.496 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.914e-05/1.639, allocations: 40.7 kB / 1.182 GB, free: 6.465 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006154/1.645, allocations: 350.6 kB / 1.182 GB, free: 6.164 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.647, allocations: 144.3 kB / 1.182 GB, free: 6.047 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (355): * Single equations (assignments): 355 * 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.005427/1.652, allocations: 1.356 MB / 1.184 GB, free: 5.219 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/1.654, allocations: 256.5 kB / 1.184 GB, free: 4.969 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0228/1.676, allocations: 4.525 MB / 1.188 GB, free: 1.859 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.493e-05/1.677, allocations: 15.94 kB / 1.188 GB, free: 1.844 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.677, allocations: 4 kB / 1.188 GB, free: 1.84 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003237/1.68, allocations: 0.8182 MB / 1.189 GB, free: 1.25 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/1.681, allocations: 50.81 kB / 1.189 GB, free: 1.234 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006915/1.688, allocations: 403.3 kB / 1.19 GB, free: 0.875 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/1.689, allocations: 160.1 kB / 1.19 GB, free: 0.7344 MB / 0.7449 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02288/1.712, allocations: 4.492 MB / 1.194 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0185/1.731, allocations: 4.361 MB / 1.198 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007863/1.739, allocations: 1.892 MB / 1.2 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003438/1.742, allocations: 1.281 MB / 1.202 GB, free: 8.172 MB / 0.7605 GB Notification: Performance of Backend: time 8.52e-07/1.742, allocations: 4 kB / 1.202 GB, free: 8.168 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02518/1.767, allocations: 5.219 MB / 1.207 GB, free: 4.738 MB / 0.7605 GB Notification: Performance of SimCode: time 0.02505/1.793, allocations: 8.793 MB / 1.215 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.2235/2.016, allocations: 68.29 MB / 1.282 GB, free: 8.762 MB / 0.8386 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)