Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 105.1 kB / 16.37 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 192 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.3 MB / 0.5496 GB, free: 17.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.03 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3067, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.553/0.8598, allocations: 25.94 MB / 0.8101 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1998/1.06, allocations: 157.2 MB / 0.9636 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003581/1.063, allocations: 83.69 kB / 0.9637 GB, free: 3.004 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004922/1.068, allocations: 1.864 MB / 0.9655 GB, free: 1.137 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.005481/1.074, allocations: 1.62 MB / 0.9671 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007687/1.081, allocations: 2.767 MB / 0.9698 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01063/1.092, allocations: 6.376 MB / 0.976 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/1.103, allocations: 7.828 MB / 0.9837 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004211/1.107, allocations: 2.637 MB / 0.9863 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004478/1.111, allocations: 3.071 MB / 0.9893 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001465/1.113, allocations: 0.6914 MB / 0.9899 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/1.116, allocations: 1.362 MB / 0.9913 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002028/1.118, allocations: 2.101 MB / 0.9933 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004345/1.122, allocations: 2.785 MB / 0.996 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01049/1.132, allocations: 9.059 MB / 1.005 GB, free: 8.836 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/1.133, allocations: 0 / 1.005 GB, free: 8.836 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.635e-06/1.133, allocations: 7.938 kB / 1.005 GB, free: 8.828 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002424/1.133, allocations: 0 / 1.005 GB, free: 8.828 MB / 0.795 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.0109/1.144, allocations: 5.011 MB / 1.01 GB, free: 3.742 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.144, allocations: 8.031 kB / 1.01 GB, free: 3.734 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/1.156, allocations: 1.921 MB / 1.012 GB, free: 1.805 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00646/1.163, allocations: 2.622 MB / 1.014 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/1.163, allocations: 353.2 kB / 1.015 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/1.164, allocations: 460 kB / 1.015 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01457/1.179, allocations: 7.079 MB / 1.022 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.695e-05/1.179, allocations: 7.938 kB / 1.022 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004738/1.179, allocations: 200 kB / 1.022 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000253/1.179, allocations: 256 kB / 1.022 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01524/1.195, allocations: 6.823 MB / 1.029 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04267/1.237, allocations: 26.71 MB / 1.055 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/1.249, allocations: 4.254 MB / 1.059 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004885/1.253, allocations: 2.078 MB / 1.061 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008988/1.254, allocations: 0.5111 MB / 1.062 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005565/1.26, allocations: 2.233 MB / 1.064 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=254): time 9.849e-06/1.26, allocations: 0 / 1.064 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=257): time 0.02027/1.28, allocations: 7.912 MB / 1.072 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002392/1.281, allocations: 389.8 kB / 1.072 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/1.284, allocations: 1.801 MB / 1.074 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0006212/1.285, allocations: 69.7 kB / 1.074 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001853/1.287, allocations: 1.824 MB / 1.076 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.288, allocations: 0.8548 MB / 1.077 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001719/1.29, allocations: 0.5795 MB / 1.077 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.29, allocations: 301.8 kB / 1.077 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004509/1.295, allocations: 1.7 MB / 1.079 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00508/1.3, allocations: 2.384 MB / 1.081 GB, free: 7.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009992/1.31, allocations: 4.104 MB / 1.085 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.778e-05/1.31, allocations: 4 kB / 1.085 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01205/1.322, allocations: 4.431 MB / 1.09 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/1.322, allocations: 12 kB / 1.09 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.763e-05/1.322, allocations: 29.09 kB / 1.09 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.666e-05/1.322, allocations: 28 kB / 1.09 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004678/1.327, allocations: 0.8351 MB / 1.091 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001207/1.327, allocations: 47.86 kB / 1.091 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005171/1.332, allocations: 390.1 kB / 1.091 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009515/1.333, allocations: 148 kB / 1.091 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008342/1.341, allocations: 2.652 MB / 1.094 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005199/1.347, allocations: 2.234 MB / 1.096 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00969/1.356, allocations: 3.806 MB / 1.1 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.358e-05/1.357, allocations: 4 kB / 1.1 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of matching and sorting (n=355) (initialization_lambda0): time 0.01165/1.368, allocations: 4.119 MB / 1.104 GB, free: 128 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/1.368, allocations: 12.78 kB / 1.104 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/1.368, allocations: 20.84 kB / 1.104 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.883e-05/1.368, allocations: 33.06 kB / 1.104 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004289/1.373, allocations: 0.7878 MB / 1.104 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.151e-05/1.373, allocations: 47.86 kB / 1.105 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/1.377, allocations: 347.3 kB / 1.105 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006481/1.377, allocations: 143.9 kB / 1.105 GB, free: 14.75 MB / 0.9044 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.001404/1.379, allocations: 361.5 kB / 1.105 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/1.38, allocations: 252.9 kB / 1.106 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/1.392, allocations: 4.425 MB / 1.11 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.485e-05/1.392, allocations: 11.95 kB / 1.11 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.392, allocations: 4 kB / 1.11 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/1.394, allocations: 0.7706 MB / 1.111 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007541/1.395, allocations: 63.69 kB / 1.111 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003475/1.398, allocations: 387.4 kB / 1.111 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004071/1.399, allocations: 161.8 kB / 1.111 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01192/1.411, allocations: 4.477 MB / 1.116 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01015/1.421, allocations: 4.345 MB / 1.12 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004299/1.425, allocations: 1.894 MB / 1.122 GB, free: 13.38 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002919/1.428, allocations: 1.303 MB / 1.123 GB, free: 12.05 MB / 0.92 GB Notification: Performance of Backend: time 9.02e-07/1.428, allocations: 4 kB / 1.123 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01628/1.445, allocations: 5.361 MB / 1.128 GB, free: 6.938 MB / 0.92 GB Notification: Performance of SimCode: time 0.3944/1.839, allocations: 7.11 MB / 1.135 GB, free: 298.4 MB / 0.92 GB Notification: Performance of Templates: time 0.1424/1.981, allocations: 73.82 MB / 1.207 GB, free: 270.2 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)