Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.277/2.277, 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.001263/0.001262, allocations: 183.1 kB / 326.3 MB, free: 2.848 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.405/2.405, allocations: 205.4 MB / 0.5772 GB, free: 20.72 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.0009569/0.0009562, allocations: 98.28 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004965, allocations: 16.66 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01943/0.239, allocations: 9.761 MB / 0.909 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2545/0.4936, allocations: 138.9 MB / 1.045 GB, free: 12.4 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.4956, allocations: 39.81 kB / 1.045 GB, free: 12.36 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.4971, allocations: 241.9 kB / 1.045 GB, free: 12.12 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.003968/0.5011, allocations: 0.7123 MB / 1.046 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005184/0.5063, allocations: 1.088 MB / 1.047 GB, free: 10.33 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005699/0.5121, allocations: 2.717 MB / 1.049 GB, free: 7.598 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00707/0.5192, allocations: 2.679 MB / 1.052 GB, free: 4.852 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.5215, allocations: 0.7969 MB / 1.053 GB, free: 4.051 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002751/0.5243, allocations: 0.9717 MB / 1.054 GB, free: 3.074 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006768/0.525, allocations: 68 kB / 1.054 GB, free: 3.008 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.5272, allocations: 427.5 kB / 1.054 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.5283, allocations: 462 kB / 1.055 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008932/0.5292, allocations: 456.3 kB / 1.055 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.6726/1.202, allocations: 3.15 MB / 1.058 GB, free: 8.965 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.202, allocations: 0 / 1.058 GB, free: 8.965 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.176e-06/1.202, allocations: 0 / 1.058 GB, free: 8.965 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001335/1.202, allocations: 1.406 kB / 1.058 GB, free: 8.965 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.009177/1.211, allocations: 2.377 MB / 1.06 GB, free: 7.867 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/1.211, allocations: 8.516 kB / 1.06 GB, free: 7.867 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03062/1.242, allocations: 1.664 MB / 1.062 GB, free: 7.668 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006332/1.248, allocations: 1.413 MB / 1.063 GB, free: 7.262 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/1.249, allocations: 183.7 kB / 1.064 GB, free: 7.254 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/1.25, allocations: 247.1 kB / 1.064 GB, free: 7.254 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/1.273, allocations: 3.42 MB / 1.067 GB, free: 6.852 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001618/1.273, allocations: 5.25 kB / 1.067 GB, free: 6.852 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/1.275, allocations: 105.6 kB / 1.067 GB, free: 6.852 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003473/1.275, allocations: 119.3 kB / 1.067 GB, free: 6.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03214/1.307, allocations: 3.925 MB / 1.071 GB, free: 6.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03399/1.341, allocations: 10.05 MB / 1.081 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01355/1.355, allocations: 2.685 MB / 1.084 GB, free: 3.035 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00608/1.361, allocations: 1.26 MB / 1.085 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/1.362, allocations: 0.582 MB / 1.086 GB, free: 2.434 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007083/1.369, allocations: 1.525 MB / 1.087 GB, free: 2.305 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 7.013e-06/1.369, allocations: 0 / 1.087 GB, free: 2.305 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.02049/1.39, allocations: 4.262 MB / 1.091 GB, free: 1.562 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/1.39, allocations: 253.5 kB / 1.091 GB, free: 1.281 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/1.392, allocations: 1.093 MB / 1.092 GB, free: 1.117 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006589/1.393, allocations: 61.3 kB / 1.093 GB, free: 1.086 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008294/1.394, allocations: 0.9342 MB / 1.093 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.395, allocations: 0.6371 MB / 1.094 GB, free: 224 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/1.395, allocations: 38.16 kB / 1.094 GB, free: 224 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002197/1.395, allocations: 378.8 kB / 1.094 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005599/1.401, allocations: 1.07 MB / 1.096 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006345/1.407, allocations: 1.387 MB / 1.097 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006193/1.413, allocations: 1.177 MB / 1.098 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/1.413, allocations: 0 / 1.098 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01359/1.427, allocations: 2.792 MB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002545/1.427, allocations: 285 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/1.427, allocations: 5.781 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/1.427, allocations: 14.41 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006226/1.434, allocations: 0.5501 MB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.085e-05/1.434, allocations: 23.67 kB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004701/1.438, allocations: 273.7 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003967/1.439, allocations: 95.59 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.439, allocations: 3.156 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01271/1.452, allocations: 2.564 MB / 1.104 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/1.452, allocations: 6.438 kB / 1.104 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/1.452, allocations: 18.44 kB / 1.104 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006028/1.458, allocations: 0.5382 MB / 1.105 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-05/1.458, allocations: 20.59 kB / 1.105 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00452/1.462, allocations: 270.3 kB / 1.105 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005165/1.463, allocations: 95.78 kB / 1.105 GB, free: 14.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (237): * Single equations (assignments): 237 * 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.002033/1.465, allocations: 0.5787 MB / 1.106 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006614/1.466, allocations: 172.6 kB / 1.106 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/1.482, allocations: 3.13 MB / 1.109 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.752e-05/1.482, allocations: 13.47 kB / 1.109 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.482, allocations: 0.5312 kB / 1.109 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/1.484, allocations: 0.5702 MB / 1.11 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000652/1.485, allocations: 37.41 kB / 1.11 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004764/1.49, allocations: 232 kB / 1.11 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004972/1.49, allocations: 125.4 kB / 1.11 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0157/1.506, allocations: 2.984 MB / 1.113 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0128/1.519, allocations: 2.902 MB / 1.116 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005695/1.525, allocations: 1.269 MB / 1.117 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001704/1.526, allocations: 0.7757 MB / 1.118 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of Backend: time 6.92e-07/1.526, allocations: 0 / 1.118 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01671/1.543, allocations: 3.627 MB / 1.121 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of SimCode: time 0.01154/1.555, allocations: 4.93 MB / 1.126 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of Templates: time 0.1254/1.68, allocations: 45.63 MB / 1.171 GB, free: 108 kB / 0.7448 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1)