Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.981/1.981, 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.0009921/0.0009922, allocations: 178.3 kB / 371.8 MB, free: 10.84 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.514/1.514, 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.0007703/0.0007701, allocations: 93.34 kB / 0.7438 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003979, allocations: 10.59 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2585, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.02067/0.2792, allocations: 22.41 MB / 1.001 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7839/1.063, allocations: 142.8 MB / 1.141 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003068/1.066, allocations: 70.91 kB / 1.141 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/1.068, allocations: 416.9 kB / 1.141 GB, free: 3.844 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.003733/1.071, allocations: 1.09 MB / 1.142 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00481/1.076, allocations: 1.541 MB / 1.144 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009254/1.085, allocations: 5.937 MB / 1.149 GB, free: 24 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01435/1.1, allocations: 7.745 MB / 1.157 GB, free: 11.86 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004174/1.104, allocations: 1.607 MB / 1.159 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005234/1.109, allocations: 2.157 MB / 1.161 GB, free: 9.742 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001635/1.111, allocations: 188 kB / 1.161 GB, free: 9.738 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004588/1.116, allocations: 0.5509 MB / 1.161 GB, free: 9.559 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.004064/1.12, allocations: 1.343 MB / 1.163 GB, free: 8.727 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002363/1.122, allocations: 0.7959 MB / 1.164 GB, free: 8.203 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009094/1.131, allocations: 6.654 MB / 1.17 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/1.131, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/1.131, allocations: 4 kB / 1.17 GB, free: 3.215 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003705/1.132, allocations: 0 / 1.17 GB, free: 3.215 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.01045/1.142, allocations: 3.735 MB / 1.174 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.142, allocations: 12.22 kB / 1.174 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/1.154, allocations: 1.976 MB / 1.176 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004985/1.159, allocations: 2.39 MB / 1.178 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/1.159, allocations: 324.1 kB / 1.178 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009216/1.16, allocations: 434.9 kB / 1.179 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/1.174, allocations: 6.607 MB / 1.185 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.038e-05/1.174, allocations: 11.92 kB / 1.185 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004512/1.175, allocations: 180 kB / 1.185 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002238/1.175, allocations: 227.6 kB / 1.186 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/1.19, allocations: 6.536 MB / 1.192 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0379/1.228, allocations: 23.77 MB / 1.215 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/1.238, allocations: 4.127 MB / 1.219 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0047/1.243, allocations: 1.859 MB / 1.221 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/1.244, allocations: 0.5073 MB / 1.221 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005146/1.249, allocations: 2.041 MB / 1.223 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=240): time 5.941e-06/1.249, allocations: 0 / 1.223 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=243): time 0.01676/1.266, allocations: 7.201 MB / 1.23 GB, free: 9.656 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002263/1.266, allocations: 385.8 kB / 1.231 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/1.269, allocations: 1.717 MB / 1.233 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000631/1.269, allocations: 69.92 kB / 1.233 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001899/1.271, allocations: 1.718 MB / 1.234 GB, free: 5.617 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/1.273, allocations: 0.8086 MB / 1.235 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/1.273, allocations: 56 kB / 1.235 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002781/1.273, allocations: 419.5 kB / 1.236 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004225/1.278, allocations: 1.567 MB / 1.237 GB, free: 2.758 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004725/1.282, allocations: 2.267 MB / 1.239 GB, free: 212 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008417/1.291, allocations: 3.871 MB / 1.243 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/1.291, allocations: 12 kB / 1.243 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01013/1.301, allocations: 4.175 MB / 1.247 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005634/1.302, allocations: 0.6178 MB / 1.248 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/1.302, allocations: 19.94 kB / 1.248 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.908e-05/1.302, allocations: 35.94 kB / 1.248 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004131/1.306, allocations: 0.819 MB / 1.249 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.137e-05/1.306, allocations: 47.84 kB / 1.249 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/1.309, allocations: 386.6 kB / 1.249 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003676/1.31, allocations: 143.9 kB / 1.249 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.31, allocations: 10.34 kB / 1.249 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009127/1.319, allocations: 3.742 MB / 1.253 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.842e-05/1.319, allocations: 20 kB / 1.253 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/1.319, allocations: 32 kB / 1.253 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/1.323, allocations: 0.7766 MB / 1.254 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.139e-05/1.323, allocations: 43.86 kB / 1.254 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/1.327, allocations: 348.4 kB / 1.254 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/1.327, allocations: 139.9 kB / 1.254 GB, free: 364 kB / 0.7761 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.002995/1.33, allocations: 1.293 MB / 1.255 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000651/1.331, allocations: 233.2 kB / 1.256 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/1.341, allocations: 4.11 MB / 1.26 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.494e-05/1.341, allocations: 11.95 kB / 1.26 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.341, allocations: 0 / 1.26 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/1.343, allocations: 0.7587 MB / 1.26 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005168/1.343, allocations: 51.94 kB / 1.26 GB, free: 9.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.346, allocations: 359.5 kB / 1.261 GB, free: 9.5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/1.347, allocations: 157.7 kB / 1.261 GB, free: 9.344 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01085/1.357, allocations: 4.123 MB / 1.265 GB, free: 5.211 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009985/1.367, allocations: 4.004 MB / 1.269 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004037/1.372, allocations: 1.71 MB / 1.271 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002215/1.374, allocations: 1.221 MB / 1.272 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of Backend: time 1.052e-06/1.374, allocations: 0 / 1.272 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01512/1.389, allocations: 4.967 MB / 1.277 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0152/1.404, allocations: 8.2 MB / 1.285 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of Templates: time 0.1138/1.518, allocations: 63.31 MB / 1.346 GB, free: 2.016 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)