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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.836/1.836, allocations: 287.4 MB / 303.2 MB, free: 8.156 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.001444/0.001444, allocations: 176.7 kB / 371.8 MB, free: 10.83 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.472/1.472, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0007183/0.0007183, allocations: 94.28 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003991, allocations: 15.84 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2449, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.02221/0.2672, allocations: 23.42 MB / 1.002 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7839/1.051, allocations: 143.1 MB / 1.142 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003868/1.055, allocations: 69.94 kB / 1.142 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002314/1.057, allocations: 475.5 kB / 1.142 GB, free: 2.805 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.005612/1.063, allocations: 1.266 MB / 1.144 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006298/1.069, allocations: 1.701 MB / 1.145 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01134/1.081, allocations: 6.573 MB / 1.152 GB, free: 14.36 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01644/1.097, allocations: 8.275 MB / 1.16 GB, free: 9.707 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005142/1.102, allocations: 1.746 MB / 1.162 GB, free: 8.793 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005714/1.108, allocations: 2.34 MB / 1.164 GB, free: 7.414 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001358/1.11, allocations: 197.7 kB / 1.164 GB, free: 7.414 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/1.113, allocations: 0.5997 MB / 1.165 GB, free: 7.215 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002522/1.115, allocations: 1.477 MB / 1.166 GB, free: 6.301 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001895/1.117, allocations: 0.8701 MB / 1.167 GB, free: 5.734 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009589/1.127, allocations: 7.231 MB / 1.174 GB, free: 316 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/1.127, allocations: 0 / 1.174 GB, free: 316 kB / 0.698 GB Notification: Performance of FrontEnd: time 3.176e-06/1.127, allocations: 0 / 1.174 GB, free: 316 kB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003822/1.127, allocations: 0 / 1.174 GB, free: 316 kB / 0.698 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.01101/1.138, allocations: 3.958 MB / 1.178 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.138, allocations: 14.86 kB / 1.178 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01296/1.151, allocations: 2.045 MB / 1.18 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006561/1.158, allocations: 2.565 MB / 1.182 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/1.158, allocations: 354.8 kB / 1.183 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/1.16, allocations: 459.5 kB / 1.183 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/1.18, allocations: 7.086 MB / 1.19 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/1.18, allocations: 19.88 kB / 1.19 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000631/1.181, allocations: 196 kB / 1.19 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000287/1.181, allocations: 256 kB / 1.19 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/1.199, allocations: 6.893 MB / 1.197 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04129/1.241, allocations: 26.98 MB / 1.224 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009715/1.25, allocations: 4.257 MB / 1.228 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004252/1.255, allocations: 2.084 MB / 1.23 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008075/1.256, allocations: 0.5111 MB / 1.23 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004611/1.26, allocations: 2.244 MB / 1.232 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=254): time 5.571e-06/1.26, allocations: 0 / 1.232 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of matching and sorting (n=257): time 0.01597/1.276, allocations: 7.92 MB / 1.24 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001937/1.276, allocations: 389.8 kB / 1.241 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/1.279, allocations: 1.781 MB / 1.242 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0005044/1.28, allocations: 69.7 kB / 1.242 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001956/1.282, allocations: 1.824 MB / 1.244 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/1.283, allocations: 0.8547 MB / 1.245 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/1.283, allocations: 56 kB / 1.245 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002098/1.283, allocations: 423.7 kB / 1.245 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004015/1.287, allocations: 1.68 MB / 1.247 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004511/1.292, allocations: 2.383 MB / 1.249 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008384/1.3, allocations: 4.1 MB / 1.253 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/1.3, allocations: 8 kB / 1.253 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01006/1.31, allocations: 4.426 MB / 1.258 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.000737/1.311, allocations: 0.5964 MB / 1.258 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/1.311, allocations: 20 kB / 1.258 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.169e-05/1.311, allocations: 28 kB / 1.258 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004631/1.316, allocations: 0.8385 MB / 1.259 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-05/1.316, allocations: 43.86 kB / 1.259 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/1.32, allocations: 408.5 kB / 1.26 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/1.32, allocations: 139.9 kB / 1.26 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.32, allocations: 4 kB / 1.26 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009387/1.33, allocations: 3.888 MB / 1.264 GB, free: 6.398 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.214e-05/1.33, allocations: 24.94 kB / 1.264 GB, free: 6.375 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.686e-05/1.33, allocations: 32 kB / 1.264 GB, free: 6.344 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003745/1.333, allocations: 0.7917 MB / 1.264 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.886e-05/1.334, allocations: 43.86 kB / 1.264 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/1.337, allocations: 346.2 kB / 1.265 GB, free: 5.168 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000314/1.337, allocations: 139.9 kB / 1.265 GB, free: 5.031 MB / 0.7917 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 ($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 (355): * Single equations (assignments): 355 * 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.002948/1.34, allocations: 1.359 MB / 1.266 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007555/1.341, allocations: 245 kB / 1.266 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/1.352, allocations: 4.51 MB / 1.271 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.762e-05/1.352, allocations: 15.95 kB / 1.271 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/1.352, allocations: 7.922 kB / 1.271 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/1.353, allocations: 0.8209 MB / 1.272 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006629/1.354, allocations: 48 kB / 1.272 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00315/1.357, allocations: 403.4 kB / 1.272 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/1.358, allocations: 161.9 kB / 1.272 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0111/1.369, allocations: 4.492 MB / 1.277 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009159/1.378, allocations: 4.368 MB / 1.281 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003941/1.382, allocations: 1.89 MB / 1.283 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002615/1.385, allocations: 1.283 MB / 1.284 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of Backend: time 6.21e-07/1.385, allocations: 0 / 1.284 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0147/1.399, allocations: 5.215 MB / 1.289 GB, free: 12.16 MB / 0.823 GB Notification: Performance of SimCode: time 0.01756/1.417, allocations: 8.778 MB / 1.298 GB, free: 3.328 MB / 0.823 GB Notification: Performance of Templates: time 0.1249/1.542, allocations: 68.31 MB / 1.364 GB, free: 15.21 MB / 0.9011 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)