Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.305/2.305, allocations: 251.1 MB / 266.7 MB, free: 11.66 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.001434/0.001433, allocations: 175.3 kB / 326.3 MB, free: 2.879 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.555/2.555, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001331/0.00133, allocations: 95.72 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005305/0.0005307, allocations: 10.81 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2455, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.03265/0.2782, allocations: 22.39 MB / 0.9214 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.9696/1.248, allocations: 142.8 MB / 1.061 GB, free: 9.789 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0034/1.251, allocations: 72.09 kB / 1.061 GB, free: 9.785 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00234/1.254, allocations: 412.7 kB / 1.061 GB, free: 9.785 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.005479/1.259, allocations: 1.084 MB / 1.062 GB, free: 9.738 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006881/1.266, allocations: 1.543 MB / 1.064 GB, free: 9.684 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0107/1.277, allocations: 5.939 MB / 1.07 GB, free: 9.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01768/1.295, allocations: 7.044 MB / 1.077 GB, free: 8.621 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004728/1.299, allocations: 1.605 MB / 1.078 GB, free: 8.617 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005849/1.305, allocations: 2.157 MB / 1.08 GB, free: 8.605 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001072/1.306, allocations: 185.1 kB / 1.08 GB, free: 8.605 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/1.309, allocations: 0.5528 MB / 1.081 GB, free: 8.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002491/1.312, allocations: 1.339 MB / 1.082 GB, free: 8.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003222/1.315, allocations: 0.7945 MB / 1.083 GB, free: 8.559 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01599/1.331, allocations: 6.657 MB / 1.09 GB, free: 8.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/1.331, allocations: 4 kB / 1.09 GB, free: 8.227 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.777e-06/1.331, allocations: 0 / 1.09 GB, free: 8.227 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003252/1.332, allocations: 3.594 kB / 1.09 GB, free: 8.227 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: 1145 * Number of variables: 1145 Notification: Performance of Generate backend data structure: time 0.02096/1.353, allocations: 3.775 MB / 1.093 GB, free: 6.508 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/1.353, allocations: 11.28 kB / 1.093 GB, free: 6.508 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03325/1.386, allocations: 1.982 MB / 1.095 GB, free: 6.215 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007449/1.393, allocations: 2.329 MB / 1.097 GB, free: 5.715 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003929/1.394, allocations: 330.7 kB / 1.098 GB, free: 5.699 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002276/1.396, allocations: 425 kB / 1.098 GB, free: 5.699 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02571/1.422, allocations: 6.619 MB / 1.105 GB, free: 3.871 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/1.422, allocations: 5.969 kB / 1.105 GB, free: 3.871 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/1.424, allocations: 189.8 kB / 1.105 GB, free: 3.867 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000343/1.424, allocations: 222.3 kB / 1.105 GB, free: 3.844 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02881/1.453, allocations: 6.538 MB / 1.111 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08064/1.533, allocations: 23.76 MB / 1.135 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02662/1.56, allocations: 4.141 MB / 1.139 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0116/1.572, allocations: 1.858 MB / 1.14 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/1.574, allocations: 0.5076 MB / 1.141 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01283/1.587, allocations: 2.038 MB / 1.143 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=240): time 1.125e-05/1.587, allocations: 0 / 1.143 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=243): time 0.03068/1.618, allocations: 7.196 MB / 1.15 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002707/1.618, allocations: 392.7 kB / 1.15 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/1.622, allocations: 1.715 MB / 1.152 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0009342/1.623, allocations: 66.64 kB / 1.152 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002499/1.625, allocations: 1.713 MB / 1.154 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001822/1.627, allocations: 0.8159 MB / 1.155 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004161/1.628, allocations: 57.59 kB / 1.155 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003196/1.628, allocations: 418.6 kB / 1.155 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007569/1.635, allocations: 1.565 MB / 1.157 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008609/1.644, allocations: 2.271 MB / 1.159 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008088/1.652, allocations: 1.846 MB / 1.161 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-05/1.652, allocations: 8 kB / 1.161 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01874/1.671, allocations: 4.178 MB / 1.165 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006637/1.672, allocations: 0.6157 MB / 1.165 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-05/1.672, allocations: 20 kB / 1.165 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-05/1.672, allocations: 31.98 kB / 1.165 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008798/1.681, allocations: 0.8176 MB / 1.166 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-05/1.681, allocations: 44.64 kB / 1.166 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006664/1.688, allocations: 382.4 kB / 1.167 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.689, allocations: 142.3 kB / 1.167 GB, free: 400 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.689, allocations: 4 kB / 1.167 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01911/1.708, allocations: 3.746 MB / 1.17 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/1.708, allocations: 24.12 kB / 1.17 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.748e-05/1.708, allocations: 32 kB / 1.17 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008305/1.717, allocations: 0.7887 MB / 1.171 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-05/1.717, allocations: 44.7 kB / 1.171 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006331/1.723, allocations: 349.2 kB / 1.172 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/1.724, allocations: 143.7 kB / 1.172 GB, free: 12.67 MB / 0.7448 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 ($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 (345): * Single equations (assignments): 345 * 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.006373/1.731, allocations: 1.276 MB / 1.173 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/1.732, allocations: 233.2 kB / 1.173 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02255/1.754, allocations: 4.128 MB / 1.177 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.7e-05/1.755, allocations: 11.95 kB / 1.177 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.755, allocations: 7.984 kB / 1.177 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003103/1.758, allocations: 0.7555 MB / 1.178 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/1.759, allocations: 45.12 kB / 1.178 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006465/1.766, allocations: 368.7 kB / 1.178 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000888/1.766, allocations: 155.7 kB / 1.178 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02214/1.789, allocations: 4.12 MB / 1.182 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01739/1.806, allocations: 4 MB / 1.186 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007514/1.814, allocations: 1.709 MB / 1.188 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003642/1.817, allocations: 1.225 MB / 1.189 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of Backend: time 1.913e-06/1.817, allocations: 0 / 1.189 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02556/1.843, allocations: 4.974 MB / 1.194 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of SimCode: time 0.02318/1.866, allocations: 8.208 MB / 1.202 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of Templates: time 0.1812/2.048, allocations: 63.28 MB / 1.264 GB, free: 6.039 MB / 0.823 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)