Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 108.8 kB / 16.38 MB, free: 6.473 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.00134/0.00134, allocations: 184 kB / 17.31 MB, free: 5.824 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.437/1.437, allocations: 205.1 MB / 223.2 MB, free: 12.31 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.807/1.807, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.002154/0.002155, allocations: 72.45 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.321, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.5645/0.8855, allocations: 24.83 MB / 0.8091 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.2169/1.103, allocations: 156.9 MB / 0.9623 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004683/1.107, allocations: 75.69 kB / 0.9624 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004557/1.112, allocations: 1.321 MB / 0.9637 GB, free: 3.09 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.006199/1.118, allocations: 1.381 MB / 0.965 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.007581/1.126, allocations: 2.591 MB / 0.9676 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008721/1.135, allocations: 5.775 MB / 0.9732 GB, free: 9.344 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00968/1.144, allocations: 7.585 MB / 0.9806 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/1.148, allocations: 2.454 MB / 0.983 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003915/1.152, allocations: 2.865 MB / 0.9858 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0009915/1.153, allocations: 0.6406 MB / 0.9864 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/1.155, allocations: 1.233 MB / 0.9876 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001689/1.157, allocations: 1.929 MB / 0.9895 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002798/1.16, allocations: 2.579 MB / 0.992 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.008887/1.169, allocations: 8.347 MB / 1 GB, free: 13.68 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.169, allocations: 0 / 1 GB, free: 13.68 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.854e-06/1.169, allocations: 0 / 1 GB, free: 13.68 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001879/1.169, allocations: 0 / 1 GB, free: 13.68 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: 1145 * Number of variables: 1145 Notification: Performance of Generate backend data structure: time 0.01181/1.181, allocations: 4.718 MB / 1.005 GB, free: 8.879 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/1.181, allocations: 12.03 kB / 1.005 GB, free: 8.867 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/1.193, allocations: 1.852 MB / 1.007 GB, free: 7.008 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/1.198, allocations: 2.429 MB / 1.009 GB, free: 4.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/1.199, allocations: 332.8 kB / 1.009 GB, free: 4.191 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/1.2, allocations: 423.2 kB / 1.01 GB, free: 3.781 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01436/1.214, allocations: 6.598 MB / 1.016 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.321e-05/1.214, allocations: 7.938 kB / 1.016 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004867/1.215, allocations: 184 kB / 1.016 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002168/1.215, allocations: 227.6 kB / 1.017 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/1.23, allocations: 6.478 MB / 1.023 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04088/1.271, allocations: 23.5 MB / 1.046 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/1.281, allocations: 4.138 MB / 1.05 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004503/1.286, allocations: 1.856 MB / 1.052 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008952/1.287, allocations: 0.5073 MB / 1.052 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005774/1.292, allocations: 2.037 MB / 1.054 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=240): time 9.067e-06/1.292, allocations: 0 / 1.054 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of matching and sorting (n=243): time 0.01794/1.31, allocations: 7.193 MB / 1.061 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002867/1.311, allocations: 389.8 kB / 1.062 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/1.315, allocations: 1.724 MB / 1.063 GB, free: 11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0005573/1.315, allocations: 65.7 kB / 1.063 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00199/1.317, allocations: 1.722 MB / 1.065 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/1.318, allocations: 0.8125 MB / 1.066 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/1.32, allocations: 0.5597 MB / 1.066 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.32, allocations: 305.1 kB / 1.067 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004176/1.324, allocations: 1.582 MB / 1.068 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00475/1.329, allocations: 2.267 MB / 1.07 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008752/1.338, allocations: 3.875 MB / 1.074 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.897e-05/1.338, allocations: 4 kB / 1.074 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01042/1.348, allocations: 4.179 MB / 1.078 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/1.348, allocations: 16 kB / 1.078 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/1.348, allocations: 20 kB / 1.078 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.92e-05/1.348, allocations: 32 kB / 1.078 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/1.352, allocations: 0.8112 MB / 1.079 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.666e-05/1.353, allocations: 47.8 kB / 1.079 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/1.356, allocations: 374.7 kB / 1.08 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004005/1.356, allocations: 139.9 kB / 1.08 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005988/1.362, allocations: 2.516 MB / 1.082 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004363/1.367, allocations: 2.168 MB / 1.084 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007833/1.375, allocations: 3.672 MB / 1.088 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.581e-05/1.375, allocations: 4 kB / 1.088 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of matching and sorting (n=345) (initialization_lambda0): time 0.009585/1.384, allocations: 3.965 MB / 1.092 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/1.384, allocations: 19.92 kB / 1.092 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/1.384, allocations: 21.64 kB / 1.092 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.605e-05/1.384, allocations: 32 kB / 1.092 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/1.388, allocations: 0.7726 MB / 1.092 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.353e-05/1.388, allocations: 43.86 kB / 1.093 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003351/1.392, allocations: 350.2 kB / 1.093 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003027/1.392, allocations: 143.9 kB / 1.093 GB, free: 11.27 MB / 0.8887 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 (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 (345): * Single equations (assignments): 345 * 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.0009226/1.393, allocations: 349.7 kB / 1.093 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006342/1.393, allocations: 237.1 kB / 1.094 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009983/1.403, allocations: 4.031 MB / 1.098 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.288e-05/1.403, allocations: 15.95 kB / 1.098 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.404, allocations: 0 / 1.098 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.405, allocations: 0.7121 MB / 1.098 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004324/1.405, allocations: 55.84 kB / 1.098 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/1.408, allocations: 347.5 kB / 1.099 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/1.408, allocations: 145.8 kB / 1.099 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01015/1.419, allocations: 4.103 MB / 1.103 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008731/1.427, allocations: 3.989 MB / 1.107 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003832/1.431, allocations: 1.719 MB / 1.108 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002035/1.433, allocations: 1.237 MB / 1.11 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of Backend: time 5.62e-07/1.433, allocations: 0 / 1.11 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01367/1.447, allocations: 5.109 MB / 1.115 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of SimCode: time 0.01248/1.46, allocations: 6.629 MB / 1.121 GB, free: 14.69 MB / 0.92 GB Notification: Performance of Templates: time 0.4995/1.959, allocations: 68.39 MB / 1.188 GB, free: 284 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)