Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009148/0.0009149, allocations: 173.3 kB / 326.5 MB, free: 2.707 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.638/1.638, allocations: 205 MB / 0.5767 GB, free: 21.04 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.0006999/0.0007, allocations: 89.73 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 12 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2191, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.021/0.2401, allocations: 24.25 MB / 0.9204 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.7223/0.9625, allocations: 154.6 MB / 1.071 GB, free: 7.926 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004/0.9666, allocations: 68.91 kB / 1.071 GB, free: 7.926 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00428/0.9709, allocations: 1.176 MB / 1.073 GB, free: 7.895 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.005885/0.9768, allocations: 1.247 MB / 1.074 GB, free: 7.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006746/0.9835, allocations: 2.343 MB / 1.076 GB, free: 7.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01104/0.9946, allocations: 7.148 MB / 1.083 GB, free: 7.723 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/1.006, allocations: 7.231 MB / 1.09 GB, free: 6.434 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00478/1.011, allocations: 1.645 MB / 1.092 GB, free: 6.426 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00403/1.015, allocations: 2.222 MB / 1.094 GB, free: 6.418 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006101/1.016, allocations: 183.7 kB / 1.094 GB, free: 6.418 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/1.018, allocations: 0.8683 MB / 1.095 GB, free: 6.398 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001347/1.019, allocations: 1.356 MB / 1.096 GB, free: 6.398 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002355/1.022, allocations: 1.93 MB / 1.098 GB, free: 6.004 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008887/1.03, allocations: 7.751 MB / 1.106 GB, free: 5.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/1.031, allocations: 0 / 1.106 GB, free: 5.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.437e-06/1.031, allocations: 0 / 1.106 GB, free: 5.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003539/1.031, allocations: 2.938 kB / 1.106 GB, free: 5.09 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.01116/1.042, allocations: 3.724 MB / 1.109 GB, free: 2.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/1.042, allocations: 11 kB / 1.109 GB, free: 2.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/1.056, allocations: 1.983 MB / 1.111 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00666/1.062, allocations: 2.389 MB / 1.114 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/1.063, allocations: 328.2 kB / 1.114 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009195/1.064, allocations: 422.6 kB / 1.114 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/1.077, allocations: 6.663 MB / 1.121 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.405e-05/1.078, allocations: 10.59 kB / 1.121 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005118/1.078, allocations: 185.1 kB / 1.121 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002491/1.078, allocations: 230.5 kB / 1.121 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/1.094, allocations: 6.569 MB / 1.128 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04307/1.137, allocations: 23.77 MB / 1.151 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008977/1.146, allocations: 4.146 MB / 1.155 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/1.15, allocations: 1.859 MB / 1.157 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000818/1.151, allocations: 0.5179 MB / 1.157 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004366/1.155, allocations: 2.042 MB / 1.159 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=240): time 6.562e-06/1.155, allocations: 0 / 1.159 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of matching and sorting (n=243): time 0.01634/1.172, allocations: 7.211 MB / 1.166 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00026/1.172, allocations: 392.4 kB / 1.167 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002878/1.175, allocations: 1.732 MB / 1.168 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004448/1.175, allocations: 73.69 kB / 1.168 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001988/1.177, allocations: 1.715 MB / 1.17 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009677/1.178, allocations: 0.8164 MB / 1.171 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/1.179, allocations: 219.2 kB / 1.171 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.179, allocations: 301.3 kB / 1.171 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003818/1.183, allocations: 1.575 MB / 1.173 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004482/1.187, allocations: 2.291 MB / 1.175 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008881/1.196, allocations: 3.891 MB / 1.179 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/1.196, allocations: 7.984 kB / 1.179 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01188/1.208, allocations: 4.196 MB / 1.183 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006044/1.209, allocations: 0.6197 MB / 1.184 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.646e-05/1.209, allocations: 24 kB / 1.184 GB, free: 9.781 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.125e-05/1.209, allocations: 35.94 kB / 1.184 GB, free: 9.746 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/1.213, allocations: 0.8148 MB / 1.185 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001022/1.213, allocations: 43.67 kB / 1.185 GB, free: 8.934 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004457/1.218, allocations: 382.2 kB / 1.185 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000842/1.219, allocations: 139.9 kB / 1.185 GB, free: 8.422 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.219, allocations: 4 kB / 1.185 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01084/1.23, allocations: 3.766 MB / 1.189 GB, free: 4.723 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.087e-05/1.23, allocations: 24.22 kB / 1.189 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-05/1.23, allocations: 28 kB / 1.189 GB, free: 4.672 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004117/1.234, allocations: 0.7774 MB / 1.19 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.624e-05/1.234, allocations: 43.77 kB / 1.19 GB, free: 3.898 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00371/1.238, allocations: 349.3 kB / 1.19 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008581/1.239, allocations: 139.9 kB / 1.19 GB, free: 3.422 MB / 0.7605 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.004472/1.243, allocations: 1.285 MB / 1.191 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.244, allocations: 229.2 kB / 1.192 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/1.256, allocations: 4.121 MB / 1.196 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.403e-05/1.256, allocations: 11.95 kB / 1.196 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.256, allocations: 0 / 1.196 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/1.258, allocations: 0.7122 MB / 1.196 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009003/1.259, allocations: 67.69 kB / 1.196 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003369/1.263, allocations: 366.1 kB / 1.197 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005161/1.263, allocations: 149.8 kB / 1.197 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.012/1.275, allocations: 4.145 MB / 1.201 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01278/1.288, allocations: 4.011 MB / 1.205 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004084/1.292, allocations: 1.729 MB / 1.207 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00277/1.295, allocations: 1.243 MB / 1.208 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of Backend: time 5.51e-07/1.295, allocations: 0 / 1.208 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01607/1.311, allocations: 5.108 MB / 1.213 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of SimCode: time 0.01737/1.328, allocations: 8.483 MB / 1.221 GB, free: 4.004 MB / 0.7917 GB Notification: Performance of Templates: time 0.1138/1.442, allocations: 64.69 MB / 1.284 GB, free: 3.777 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)