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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.645/1.645, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.0009325/0.0009325, 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.483/1.483, allocations: 205.4 MB / 0.6316 GB, free: 9.926 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.0007913/0.0007915, allocations: 106.9 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004456, allocations: 16.73 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2526, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.02307/0.2757, allocations: 23.43 MB / 1.004 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7748/1.051, allocations: 143.1 MB / 1.143 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004317/1.055, allocations: 69.25 kB / 1.143 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002364/1.057, allocations: 474.1 kB / 1.144 GB, free: 2.562 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.006259/1.064, allocations: 1.351 MB / 1.145 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007014/1.071, allocations: 1.731 MB / 1.147 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01169/1.082, allocations: 6.571 MB / 1.153 GB, free: 13.28 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01676/1.099, allocations: 8.276 MB / 1.161 GB, free: 8.633 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005298/1.105, allocations: 1.749 MB / 1.163 GB, free: 7.715 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005752/1.11, allocations: 2.335 MB / 1.165 GB, free: 6.344 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001766/1.112, allocations: 197.5 kB / 1.166 GB, free: 6.344 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004127/1.116, allocations: 0.9496 MB / 1.166 GB, free: 5.934 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00399/1.12, allocations: 1.485 MB / 1.168 GB, free: 5.012 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.006061/1.126, allocations: 2.008 MB / 1.17 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/1.138, allocations: 7.26 MB / 1.177 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/1.138, allocations: 2.469 kB / 1.177 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.056e-06/1.138, allocations: 0 / 1.177 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004625/1.138, allocations: 0 / 1.177 GB, free: 14.14 MB / 0.7136 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.01341/1.152, allocations: 3.963 MB / 1.181 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/1.152, allocations: 8.188 kB / 1.181 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/1.165, allocations: 2.043 MB / 1.183 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006925/1.172, allocations: 2.572 MB / 1.185 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003486/1.173, allocations: 354.8 kB / 1.186 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002134/1.175, allocations: 455.9 kB / 1.186 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/1.194, allocations: 7.084 MB / 1.193 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/1.194, allocations: 15.88 kB / 1.193 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005993/1.195, allocations: 200 kB / 1.193 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003077/1.195, allocations: 256 kB / 1.194 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/1.214, allocations: 6.896 MB / 1.2 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05409/1.268, allocations: 26.97 MB / 1.227 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/1.28, allocations: 4.261 MB / 1.231 GB, free: 9.457 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005089/1.285, allocations: 2.08 MB / 1.233 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009147/1.286, allocations: 0.5111 MB / 1.233 GB, free: 6.77 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005588/1.291, allocations: 2.24 MB / 1.235 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=254): time 1.037e-05/1.291, allocations: 0 / 1.235 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of matching and sorting (n=257): time 0.0197/1.311, allocations: 7.92 MB / 1.243 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002082/1.311, allocations: 389.8 kB / 1.244 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/1.314, allocations: 1.781 MB / 1.245 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0005789/1.315, allocations: 69.7 kB / 1.245 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001843/1.317, allocations: 1.828 MB / 1.247 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001176/1.318, allocations: 0.8547 MB / 1.248 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/1.318, allocations: 56 kB / 1.248 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002381/1.318, allocations: 419.6 kB / 1.248 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004122/1.322, allocations: 1.68 MB / 1.25 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004516/1.327, allocations: 2.387 MB / 1.252 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008471/1.335, allocations: 4.096 MB / 1.256 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/1.335, allocations: 8 kB / 1.256 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01036/1.346, allocations: 4.435 MB / 1.261 GB, free: 9.77 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004722/1.346, allocations: 0.5917 MB / 1.261 GB, free: 8.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/1.346, allocations: 16 kB / 1.261 GB, free: 8.914 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.237e-05/1.346, allocations: 32 kB / 1.261 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/1.351, allocations: 0.8385 MB / 1.262 GB, free: 8.043 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.278e-05/1.351, allocations: 47.86 kB / 1.262 GB, free: 7.996 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/1.354, allocations: 400.3 kB / 1.263 GB, free: 7.605 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003006/1.355, allocations: 143.9 kB / 1.263 GB, free: 7.465 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.355, allocations: 4 kB / 1.263 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009036/1.364, allocations: 3.889 MB / 1.267 GB, free: 3.531 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/1.364, allocations: 16 kB / 1.267 GB, free: 3.516 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.726e-05/1.364, allocations: 32 kB / 1.267 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/1.368, allocations: 0.7879 MB / 1.267 GB, free: 2.695 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.191e-05/1.368, allocations: 43.86 kB / 1.267 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/1.371, allocations: 354.2 kB / 1.268 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/1.371, allocations: 139.9 kB / 1.268 GB, free: 2.168 MB / 0.7917 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.003206/1.375, allocations: 1.36 MB / 1.269 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008449/1.375, allocations: 245 kB / 1.269 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.386, allocations: 4.51 MB / 1.274 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.249e-05/1.386, allocations: 15.95 kB / 1.274 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.386, allocations: 0 / 1.274 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/1.388, allocations: 0.817 MB / 1.275 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004353/1.388, allocations: 52 kB / 1.275 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/1.391, allocations: 403.4 kB / 1.275 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003607/1.392, allocations: 161.9 kB / 1.275 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01083/1.402, allocations: 4.5 MB / 1.28 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009487/1.412, allocations: 4.361 MB / 1.284 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004327/1.416, allocations: 1.89 MB / 1.286 GB, free: 15.62 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002728/1.419, allocations: 1.283 MB / 1.287 GB, free: 14.32 MB / 0.823 GB Notification: Performance of Backend: time 1.242e-06/1.419, allocations: 0 / 1.287 GB, free: 14.32 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01527/1.434, allocations: 5.372 MB / 1.292 GB, free: 9.102 MB / 0.823 GB Notification: Performance of SimCode: time 0.01624/1.451, allocations: 8.771 MB / 1.301 GB, free: 292 kB / 0.823 GB Notification: Performance of Templates: time 0.1253/1.576, allocations: 68.74 MB / 1.368 GB, free: 11.73 MB / 0.9011 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)