Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.852/1.852, allocations: 287.4 MB / 303.2 MB, free: 8.328 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.001547/0.001547, allocations: 176.5 kB / 371.8 MB, free: 10.82 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.762/1.762, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.001034/0.001034, allocations: 92.14 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004083, allocations: 14.92 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2474, 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.WindTurbine_N): time 0.01945/0.2669, allocations: 18.87 MB / 0.9977 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7796/1.046, allocations: 143.9 MB / 1.138 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/1.049, allocations: 61.41 kB / 1.138 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/1.05, allocations: 0.5162 MB / 1.139 GB, free: 3.496 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.004854/1.055, allocations: 1.44 MB / 1.14 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004764/1.06, allocations: 1.354 MB / 1.142 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008321/1.068, allocations: 5.21 MB / 1.147 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01242/1.081, allocations: 6.526 MB / 1.153 GB, free: 14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004155/1.085, allocations: 1.465 MB / 1.154 GB, free: 13.26 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004738/1.09, allocations: 1.864 MB / 1.156 GB, free: 12.21 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001489/1.091, allocations: 163 kB / 1.156 GB, free: 12.21 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/1.095, allocations: 0.5911 MB / 1.157 GB, free: 12 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003394/1.098, allocations: 1.266 MB / 1.158 GB, free: 11.24 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002716/1.101, allocations: 0.6632 MB / 1.159 GB, free: 10.82 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009372/1.11, allocations: 5.42 MB / 1.164 GB, free: 6.883 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/1.111, allocations: 0 / 1.164 GB, free: 6.883 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.111, allocations: 0 / 1.164 GB, free: 6.883 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003471/1.111, allocations: 0 / 1.164 GB, free: 6.883 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.009963/1.121, allocations: 3.155 MB / 1.167 GB, free: 4.668 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/1.121, allocations: 8.031 kB / 1.167 GB, free: 4.668 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/1.126, allocations: 0.8293 MB / 1.168 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007432/1.133, allocations: 2.252 MB / 1.17 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004343/1.134, allocations: 225.6 kB / 1.171 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/1.136, allocations: 305 kB / 1.171 GB, free: 2.531 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/1.151, allocations: 4.657 MB / 1.175 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001724/1.151, allocations: 6.656 kB / 1.175 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001168/1.152, allocations: 137.8 kB / 1.175 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004815/1.153, allocations: 211.9 kB / 1.176 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/1.163, allocations: 4.284 MB / 1.18 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03382/1.197, allocations: 18.47 MB / 1.198 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003969/1.201, allocations: 2.122 MB / 1.2 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/1.203, allocations: 1.102 MB / 1.201 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/1.203, allocations: 134.4 kB / 1.201 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002192/1.206, allocations: 1.165 MB / 1.202 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=157): time 7.254e-06/1.206, allocations: 4 kB / 1.202 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=192): time 0.03329/1.239, allocations: 10.36 MB / 1.212 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002221/1.239, allocations: 356.1 kB / 1.213 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004192/1.243, allocations: 1.873 MB / 1.215 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005125/1.244, allocations: 61.7 kB / 1.215 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001718/1.246, allocations: 1.433 MB / 1.216 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.247, allocations: 0.6509 MB / 1.217 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/1.247, allocations: 40 kB / 1.217 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002772/1.247, allocations: 389.9 kB / 1.217 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/1.25, allocations: 1.14 MB / 1.218 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/1.252, allocations: 1.657 MB / 1.22 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004961/1.257, allocations: 2.908 MB / 1.223 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/1.257, allocations: 4 kB / 1.223 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01249/1.27, allocations: 4.637 MB / 1.227 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004425/1.27, allocations: 463 kB / 1.228 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/1.27, allocations: 12.05 kB / 1.228 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007842/1.278, allocations: 1.84 MB / 1.229 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/1.281, allocations: 475.2 kB / 1.23 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/1.297, allocations: 9.349 MB / 1.239 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/1.3, allocations: 202 kB / 1.239 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000508/1.3, allocations: 91.97 kB / 1.239 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.3, allocations: 5.719 kB / 1.239 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01031/1.311, allocations: 3.834 MB / 1.243 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.214e-05/1.311, allocations: 12 kB / 1.243 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00491/1.316, allocations: 1.197 MB / 1.244 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/1.318, allocations: 499.2 kB / 1.245 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/1.328, allocations: 5.658 MB / 1.25 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/1.331, allocations: 175.7 kB / 1.25 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/1.332, allocations: 91.97 kB / 1.251 GB, free: 3.539 MB / 0.7761 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.004146/1.336, allocations: 1.227 MB / 1.252 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/1.337, allocations: 229.3 kB / 1.252 GB, free: 2.074 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.349, allocations: 4.495 MB / 1.256 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-05/1.349, allocations: 11.97 kB / 1.256 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.349, allocations: 11.88 kB / 1.256 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002073/1.351, allocations: 0.6308 MB / 1.257 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007931/1.352, allocations: 32 kB / 1.257 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/1.354, allocations: 219.7 kB / 1.257 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004928/1.355, allocations: 157.7 kB / 1.257 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009503/1.364, allocations: 3.999 MB / 1.261 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007197/1.372, allocations: 4.409 MB / 1.266 GB, free: 4.039 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001938/1.374, allocations: 1.3 MB / 1.267 GB, free: 2.734 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002782/1.376, allocations: 1.297 MB / 1.268 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of Backend: time 5.11e-07/1.376, allocations: 7.938 kB / 1.268 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0143/1.391, allocations: 5.166 MB / 1.273 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0147/1.405, allocations: 7.466 MB / 1.28 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of Templates: time 0.09877/1.504, allocations: 55.69 MB / 1.335 GB, free: 13.48 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)