Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.311/1.311, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0009067/0.0009067, allocations: 186.1 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205 MB / 0.5767 GB, free: 20.99 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.0007474/0.0007475, allocations: 95.95 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 10.59 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1928, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.02214/0.2149, allocations: 25.34 MB / 0.9215 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.6712/0.8862, allocations: 154.9 MB / 1.073 GB, free: 7.938 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003827/0.89, allocations: 75.16 kB / 1.073 GB, free: 7.934 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00507/0.8951, allocations: 1.669 MB / 1.074 GB, free: 7.895 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.005734/0.9009, allocations: 1.469 MB / 1.076 GB, free: 7.805 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007135/0.908, allocations: 2.529 MB / 1.078 GB, free: 7.723 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01181/0.9198, allocations: 7.899 MB / 1.086 GB, free: 7.695 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01183/0.9317, allocations: 7.497 MB / 1.093 GB, free: 6.367 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004039/0.9358, allocations: 1.776 MB / 1.095 GB, free: 6.363 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003446/0.9393, allocations: 2.422 MB / 1.097 GB, free: 6.348 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005106/0.9398, allocations: 198.7 kB / 1.098 GB, free: 6.348 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.9421, allocations: 0.9856 MB / 1.099 GB, free: 6.332 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.9435, allocations: 1.497 MB / 1.1 GB, free: 6.332 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002037/0.9456, allocations: 2.091 MB / 1.102 GB, free: 5.816 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00752/0.9531, allocations: 8.423 MB / 1.11 GB, free: 3.715 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9531, allocations: 0 / 1.11 GB, free: 3.715 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.594e-06/0.9532, allocations: 3.938 kB / 1.11 GB, free: 3.711 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002465/0.9534, allocations: 0 / 1.11 GB, free: 3.711 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.008435/0.9619, allocations: 3.958 MB / 1.114 GB, free: 1.312 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.9619, allocations: 8.656 kB / 1.114 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.9742, allocations: 2.054 MB / 1.116 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006122/0.9804, allocations: 2.565 MB / 1.119 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003147/0.9807, allocations: 351.8 kB / 1.119 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007976/0.9815, allocations: 455.6 kB / 1.12 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/0.9952, allocations: 7.131 MB / 1.126 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.9953, allocations: 18.22 kB / 1.126 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004644/0.9958, allocations: 200 kB / 1.127 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002382/0.9961, allocations: 255.1 kB / 1.127 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/1.011, allocations: 6.923 MB / 1.134 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04274/1.054, allocations: 26.98 MB / 1.16 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/1.065, allocations: 4.27 MB / 1.164 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004562/1.069, allocations: 2.088 MB / 1.166 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008941/1.07, allocations: 0.5113 MB / 1.167 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004992/1.075, allocations: 2.241 MB / 1.169 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=254): time 8.667e-06/1.075, allocations: 0 / 1.169 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=257): time 0.01981/1.095, allocations: 7.938 MB / 1.177 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/1.095, allocations: 393.8 kB / 1.177 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003591/1.099, allocations: 1.805 MB / 1.179 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003119/1.099, allocations: 69.7 kB / 1.179 GB, free: 488 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002138/1.101, allocations: 1.827 MB / 1.181 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009946/1.102, allocations: 0.8555 MB / 1.182 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005009/1.103, allocations: 223.4 kB / 1.182 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.103, allocations: 301.1 kB / 1.182 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004199/1.107, allocations: 1.7 MB / 1.184 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00479/1.112, allocations: 2.389 MB / 1.186 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008808/1.121, allocations: 4.124 MB / 1.19 GB, free: 4.605 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.36e-05/1.121, allocations: 8 kB / 1.19 GB, free: 4.598 MB / 0.7605 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01055/1.131, allocations: 4.447 MB / 1.194 GB, free: 204 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005413/1.132, allocations: 0.6011 MB / 1.195 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.755e-05/1.132, allocations: 16 kB / 1.195 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.779e-05/1.132, allocations: 32 kB / 1.195 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004092/1.136, allocations: 0.836 MB / 1.196 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-05/1.136, allocations: 47.56 kB / 1.196 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003485/1.14, allocations: 406 kB / 1.196 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/1.14, allocations: 147.8 kB / 1.196 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/1.14, allocations: 4 kB / 1.196 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009086/1.149, allocations: 3.907 MB / 1.2 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.117e-05/1.149, allocations: 20 kB / 1.2 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.819e-05/1.149, allocations: 28.91 kB / 1.2 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00365/1.153, allocations: 0.797 MB / 1.201 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.589e-05/1.153, allocations: 39.67 kB / 1.201 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/1.156, allocations: 346.2 kB / 1.201 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/1.157, allocations: 147.9 kB / 1.202 GB, free: 8.77 MB / 0.7761 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003188/1.16, allocations: 1.355 MB / 1.203 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008101/1.161, allocations: 249 kB / 1.203 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.172, allocations: 4.517 MB / 1.208 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.069e-05/1.172, allocations: 11.95 kB / 1.208 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.172, allocations: 11.98 kB / 1.208 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/1.173, allocations: 0.7666 MB / 1.208 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007552/1.174, allocations: 63.75 kB / 1.208 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/1.177, allocations: 411.3 kB / 1.209 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/1.178, allocations: 161.9 kB / 1.209 GB, free: 1.188 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01151/1.189, allocations: 4.512 MB / 1.213 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009421/1.199, allocations: 4.367 MB / 1.218 GB, free: 8.227 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004008/1.203, allocations: 1.916 MB / 1.219 GB, free: 6.297 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002827/1.206, allocations: 1.299 MB / 1.221 GB, free: 4.98 MB / 0.7917 GB Notification: Performance of Backend: time 1.182e-06/1.206, allocations: 0 / 1.221 GB, free: 4.98 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01467/1.22, allocations: 5.372 MB / 1.226 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of SimCode: time 0.01703/1.237, allocations: 9.116 MB / 1.235 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of Templates: time 0.1176/1.355, allocations: 69.8 MB / 1.303 GB, free: 1.297 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)