Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.389/1.389, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009477/0.0009477, allocations: 175.6 kB / 326.5 MB, free: 2.719 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.677/1.677, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0008013/0.0008015, allocations: 90.3 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 11.77 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.209, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.009622/0.2187, allocations: 10.59 MB / 0.9071 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1522/0.3709, allocations: 150.5 MB / 1.054 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.3724, allocations: 39.81 kB / 1.054 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.3742, allocations: 0.5937 MB / 1.055 GB, free: 1.852 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.002584/0.3768, allocations: 0.7902 MB / 1.055 GB, free: 1.059 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4224/0.7992, allocations: 1.391 MB / 1.057 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00382/0.8031, allocations: 3.002 MB / 1.06 GB, free: 4.363 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004596/0.8077, allocations: 2.455 MB / 1.062 GB, free: 3.98 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.8093, allocations: 0.8202 MB / 1.063 GB, free: 3.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.8116, allocations: 1.023 MB / 1.064 GB, free: 3.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007054/0.8123, allocations: 64.41 kB / 1.064 GB, free: 3.973 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.8143, allocations: 0.6082 MB / 1.065 GB, free: 3.973 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006527/0.815, allocations: 487.4 kB / 1.065 GB, free: 3.973 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.8165, allocations: 1.035 MB / 1.066 GB, free: 3.973 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004985/0.8215, allocations: 3.834 MB / 1.07 GB, free: 3.742 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8215, allocations: 3.172 kB / 1.07 GB, free: 3.742 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8215, allocations: 4 kB / 1.07 GB, free: 3.738 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001095/0.8216, allocations: 1.062 kB / 1.07 GB, free: 3.738 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.005187/0.8268, allocations: 2.341 MB / 1.072 GB, free: 2.516 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.8269, allocations: 8.406 kB / 1.072 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.8377, allocations: 1.672 MB / 1.074 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.8407, allocations: 1.444 MB / 1.075 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.8409, allocations: 182.8 kB / 1.075 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005334/0.8415, allocations: 244.5 kB / 1.076 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007686/0.8492, allocations: 3.446 MB / 1.079 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.597e-05/0.8492, allocations: 7 kB / 1.079 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002732/0.8495, allocations: 106.5 kB / 1.079 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.8496, allocations: 120.9 kB / 1.079 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009484/0.8591, allocations: 3.945 MB / 1.083 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/0.874, allocations: 10.04 MB / 1.093 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006425/0.8805, allocations: 2.706 MB / 1.095 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/0.8835, allocations: 1.268 MB / 1.097 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008095/0.8843, allocations: 0.5805 MB / 1.097 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003501/0.8878, allocations: 1.531 MB / 1.099 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=194): time 5.109e-06/0.8878, allocations: 0 / 1.099 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=195): time 0.01233/0.9002, allocations: 4.279 MB / 1.103 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000216/0.9005, allocations: 265 kB / 1.103 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.9027, allocations: 1.095 MB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003825/0.9031, allocations: 59.83 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008521/0.904, allocations: 0.9321 MB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008215/0.9048, allocations: 0.6395 MB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/0.9053, allocations: 146.7 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.9054, allocations: 301.1 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/0.9087, allocations: 1.079 MB / 1.107 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004017/0.9128, allocations: 1.396 MB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006707/0.9195, allocations: 2.482 MB / 1.111 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.9195, allocations: 0 / 1.111 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.007314/0.9268, allocations: 2.804 MB / 1.114 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001979/0.9271, allocations: 279.9 kB / 1.114 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.9271, allocations: 9.281 kB / 1.114 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.317e-05/0.9271, allocations: 14.66 kB / 1.114 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/0.9302, allocations: 0.5484 MB / 1.115 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-05/0.9302, allocations: 20.05 kB / 1.115 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/0.933, allocations: 273.2 kB / 1.115 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004514/0.9335, allocations: 99.55 kB / 1.115 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.9335, allocations: 7.531 kB / 1.115 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007488/0.941, allocations: 2.575 MB / 1.118 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.9411, allocations: 5.812 kB / 1.118 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.9411, allocations: 18.94 kB / 1.118 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/0.9441, allocations: 0.5454 MB / 1.118 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.093e-05/0.9442, allocations: 17.69 kB / 1.118 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.9468, allocations: 261.5 kB / 1.118 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.9472, allocations: 97.78 kB / 1.119 GB, free: 8.934 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 (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 (237): * Single equations (assignments): 237 * 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.001719/0.9489, allocations: 0.5912 MB / 1.119 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005928/0.9495, allocations: 171.8 kB / 1.119 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008362/0.9579, allocations: 3.115 MB / 1.122 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-05/0.9579, allocations: 11.95 kB / 1.122 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.9579, allocations: 0 / 1.122 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.959, allocations: 0.5487 MB / 1.123 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004522/0.9594, allocations: 38.94 kB / 1.123 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/0.9617, allocations: 240.6 kB / 1.123 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.962, allocations: 117.6 kB / 1.123 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008447/0.9704, allocations: 2.998 MB / 1.126 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008127/0.9786, allocations: 2.912 MB / 1.129 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003186/0.9818, allocations: 1.282 MB / 1.13 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001657/0.9835, allocations: 0.7809 MB / 1.131 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of Backend: time 7.72e-07/0.9835, allocations: 0 / 1.131 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01143/0.995, allocations: 3.725 MB / 1.135 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of SimCode: time 0.009267/1.004, allocations: 5.059 MB / 1.14 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.07863/1.083, allocations: 46.65 MB / 1.185 GB, free: 15.2 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1)