Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_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.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.292/2.292, allocations: 251.1 MB / 266.7 MB, free: 11.59 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.001787/0.001786, allocations: 183.7 kB / 326.2 MB, free: 2.883 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.62/2.62, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.001072/0.001072, allocations: 90.23 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.00048, allocations: 8.625 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02821/0.2422, allocations: 18.89 MB / 0.9179 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8682/1.111, allocations: 143.9 MB / 1.059 GB, free: 7.754 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/1.113, allocations: 59.88 kB / 1.059 GB, free: 7.754 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/1.116, allocations: 0.5094 MB / 1.059 GB, free: 7.75 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.006368/1.122, allocations: 1.445 MB / 1.06 GB, free: 7.703 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006314/1.128, allocations: 1.345 MB / 1.062 GB, free: 7.656 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009402/1.138, allocations: 5.22 MB / 1.067 GB, free: 7.633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01658/1.154, allocations: 6.111 MB / 1.073 GB, free: 6.723 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00461/1.159, allocations: 1.46 MB / 1.074 GB, free: 6.719 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005263/1.164, allocations: 1.873 MB / 1.076 GB, free: 6.711 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001565/1.166, allocations: 162.2 kB / 1.076 GB, free: 6.711 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003843/1.17, allocations: 0.5924 MB / 1.077 GB, free: 6.691 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003064/1.173, allocations: 1.259 MB / 1.078 GB, free: 6.691 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00221/1.175, allocations: 0.665 MB / 1.079 GB, free: 6.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01013/1.185, allocations: 5.421 MB / 1.084 GB, free: 6.367 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.186, allocations: 0 / 1.084 GB, free: 6.367 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.429e-06/1.186, allocations: 0 / 1.084 GB, free: 6.367 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002888/1.186, allocations: 4.375 kB / 1.084 GB, free: 6.367 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.01258/1.198, allocations: 3.193 MB / 1.087 GB, free: 4.836 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.198, allocations: 9.125 kB / 1.087 GB, free: 4.836 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006767/1.205, allocations: 0.8295 MB / 1.088 GB, free: 4.637 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006927/1.212, allocations: 2.174 MB / 1.09 GB, free: 4.176 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/1.213, allocations: 227 kB / 1.09 GB, free: 4.168 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/1.214, allocations: 304.2 kB / 1.091 GB, free: 4.164 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/1.23, allocations: 4.662 MB / 1.095 GB, free: 3.734 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/1.23, allocations: 5.688 kB / 1.095 GB, free: 3.734 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/1.232, allocations: 129.3 kB / 1.095 GB, free: 3.734 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006311/1.232, allocations: 219.4 kB / 1.095 GB, free: 3.723 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/1.246, allocations: 4.279 MB / 1.1 GB, free: 3.688 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04153/1.288, allocations: 18.47 MB / 1.118 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00604/1.294, allocations: 2.11 MB / 1.12 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003136/1.297, allocations: 1.1 MB / 1.121 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003874/1.297, allocations: 140 kB / 1.121 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003347/1.301, allocations: 1.169 MB / 1.122 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 6.482e-06/1.301, allocations: 0 / 1.122 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.05778/1.358, allocations: 10.35 MB / 1.132 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002214/1.359, allocations: 360.3 kB / 1.133 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004498/1.363, allocations: 1.877 MB / 1.134 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006552/1.364, allocations: 63.39 kB / 1.134 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00226/1.366, allocations: 1.434 MB / 1.136 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/1.368, allocations: 0.643 MB / 1.136 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/1.368, allocations: 43.78 kB / 1.137 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002696/1.368, allocations: 390.5 kB / 1.137 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/1.372, allocations: 1.143 MB / 1.138 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004156/1.376, allocations: 1.652 MB / 1.14 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004093/1.38, allocations: 1.408 MB / 1.141 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.571e-05/1.38, allocations: 4.688 kB / 1.141 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.02187/1.402, allocations: 4.636 MB / 1.146 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004329/1.402, allocations: 471 kB / 1.146 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/1.402, allocations: 12 kB / 1.146 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01497/1.417, allocations: 1.833 MB / 1.148 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/1.422, allocations: 470.4 kB / 1.148 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02796/1.45, allocations: 9.365 MB / 1.157 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004438/1.454, allocations: 207.7 kB / 1.158 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006398/1.455, allocations: 95.41 kB / 1.158 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.455, allocations: 4 kB / 1.158 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01745/1.472, allocations: 3.83 MB / 1.161 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-05/1.472, allocations: 12 kB / 1.161 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009686/1.482, allocations: 1.195 MB / 1.163 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004309/1.486, allocations: 496.8 kB / 1.163 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/1.505, allocations: 5.662 MB / 1.169 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003872/1.509, allocations: 178.4 kB / 1.169 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007053/1.51, allocations: 94.66 kB / 1.169 GB, free: 10.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (232): * Single equations (assignments): 230 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.003988/1.514, allocations: 1.224 MB / 1.17 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008875/1.514, allocations: 221.3 kB / 1.17 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02059/1.535, allocations: 4.516 MB / 1.175 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/1.535, allocations: 11.95 kB / 1.175 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.535, allocations: 5.859 kB / 1.175 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002469/1.538, allocations: 0.6223 MB / 1.175 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008753/1.539, allocations: 39 kB / 1.175 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003814/1.542, allocations: 224.4 kB / 1.176 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007289/1.543, allocations: 154 kB / 1.176 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01664/1.56, allocations: 4.003 MB / 1.18 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0123/1.572, allocations: 4.406 MB / 1.184 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003476/1.576, allocations: 1.297 MB / 1.185 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003697/1.58, allocations: 1.308 MB / 1.186 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of Backend: time 1.042e-06/1.58, allocations: 0 / 1.186 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02204/1.602, allocations: 5.161 MB / 1.191 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of SimCode: time 0.02025/1.622, allocations: 7.478 MB / 1.199 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of Templates: time 0.1525/1.774, allocations: 55.67 MB / 1.253 GB, free: 12.35 MB / 0.823 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)