Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.59/1.59, allocations: 288.4 MB / 304.3 MB, free: 7.996 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.0009786/0.0009787, allocations: 191.1 kB / 372.9 MB, free: 10.14 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.464/1.464, allocations: 205.4 MB / 0.6316 GB, free: 9.93 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.0007294/0.0007294, allocations: 86.31 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005981/0.0005981, allocations: 12.22 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2643, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.01685/0.2812, allocations: 19.14 MB / 0.9994 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7937/1.075, allocations: 143.8 MB / 1.14 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/1.079, allocations: 58.88 kB / 1.14 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002361/1.081, allocations: 0.5758 MB / 1.141 GB, free: 3.828 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.005899/1.087, allocations: 1.615 MB / 1.142 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005408/1.092, allocations: 1.513 MB / 1.144 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008737/1.101, allocations: 5.437 MB / 1.149 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01354/1.115, allocations: 6.588 MB / 1.155 GB, free: 12.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004716/1.119, allocations: 1.495 MB / 1.157 GB, free: 11.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005305/1.125, allocations: 1.937 MB / 1.159 GB, free: 10.47 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008539/1.126, allocations: 173.2 kB / 1.159 GB, free: 10.46 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/1.129, allocations: 0.9224 MB / 1.16 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001903/1.131, allocations: 1.323 MB / 1.161 GB, free: 9.262 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002741/1.134, allocations: 1.62 MB / 1.163 GB, free: 8.129 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008467/1.142, allocations: 5.702 MB / 1.168 GB, free: 3.973 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.142, allocations: 0 / 1.168 GB, free: 3.973 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/1.142, allocations: 0 / 1.168 GB, free: 3.973 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003015/1.142, allocations: 4 kB / 1.168 GB, free: 3.969 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.008375/1.151, allocations: 3.262 MB / 1.171 GB, free: 1.664 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.151, allocations: 10.72 kB / 1.171 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004076/1.155, allocations: 0.8064 MB / 1.172 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006296/1.161, allocations: 2.408 MB / 1.174 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/1.161, allocations: 233.4 kB / 1.175 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005886/1.162, allocations: 307 kB / 1.175 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/1.173, allocations: 4.714 MB / 1.18 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.135e-05/1.173, allocations: 6.375 kB / 1.18 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000365/1.173, allocations: 137.9 kB / 1.18 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004494/1.174, allocations: 221.6 kB / 1.18 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008034/1.182, allocations: 4.291 MB / 1.184 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02733/1.209, allocations: 19.54 MB / 1.203 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00361/1.213, allocations: 1.994 MB / 1.205 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/1.215, allocations: 1.114 MB / 1.206 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003528/1.215, allocations: 134.4 kB / 1.206 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002044/1.217, allocations: 1.194 MB / 1.208 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=160): time 6.522e-06/1.217, allocations: 0 / 1.208 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=197): time 0.03635/1.254, allocations: 11.19 MB / 1.218 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002065/1.254, allocations: 304.7 kB / 1.219 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003835/1.258, allocations: 2.067 MB / 1.221 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0006202/1.258, allocations: 57.7 kB / 1.221 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001944/1.26, allocations: 1.481 MB / 1.222 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.261, allocations: 0.6585 MB / 1.223 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/1.262, allocations: 40 kB / 1.223 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002121/1.262, allocations: 385.9 kB / 1.223 GB, free: 444 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/1.264, allocations: 1.175 MB / 1.225 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/1.266, allocations: 1.622 MB / 1.226 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004357/1.271, allocations: 2.873 MB / 1.229 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/1.271, allocations: 8 kB / 1.229 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01426/1.285, allocations: 5.164 MB / 1.234 GB, free: 5.289 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003021/1.285, allocations: 367.4 kB / 1.234 GB, free: 4.801 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/1.285, allocations: 12 kB / 1.234 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/1.296, allocations: 2.455 MB / 1.237 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/1.298, allocations: 467.3 kB / 1.237 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/1.318, allocations: 14.22 MB / 1.251 GB, free: 2.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/1.321, allocations: 195.8 kB / 1.251 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002828/1.321, allocations: 91.97 kB / 1.251 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/1.322, allocations: 4 kB / 1.251 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01124/1.333, allocations: 4.191 MB / 1.255 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/1.333, allocations: 8 kB / 1.255 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007188/1.34, allocations: 1.629 MB / 1.257 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/1.343, allocations: 479.3 kB / 1.257 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/1.355, allocations: 8.12 MB / 1.265 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/1.357, allocations: 181 kB / 1.266 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/1.358, allocations: 83.97 kB / 1.266 GB, free: 3.465 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002834/1.361, allocations: 1.255 MB / 1.267 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006773/1.361, allocations: 233.2 kB / 1.267 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/1.375, allocations: 5.194 MB / 1.272 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.188e-05/1.375, allocations: 11.91 kB / 1.272 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.375, allocations: 0 / 1.272 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/1.377, allocations: 0.6736 MB / 1.273 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004251/1.377, allocations: 43.98 kB / 1.273 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/1.379, allocations: 238.4 kB / 1.273 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/1.38, allocations: 153.8 kB / 1.273 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009831/1.39, allocations: 4.207 MB / 1.277 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006848/1.396, allocations: 4.545 MB / 1.282 GB, free: 2.809 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001884/1.398, allocations: 1.366 MB / 1.283 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002448/1.401, allocations: 1.445 MB / 1.285 GB, free: 15.98 MB / 0.823 GB Notification: Performance of Backend: time 1.072e-06/1.401, allocations: 4 kB / 1.285 GB, free: 15.98 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.413, allocations: 5.608 MB / 1.29 GB, free: 10.4 MB / 0.823 GB Notification: Performance of SimCode: time 0.01277/1.426, allocations: 7.7 MB / 1.298 GB, free: 2.656 MB / 0.823 GB Notification: Performance of Templates: time 0.1031/1.529, allocations: 60.04 MB / 1.356 GB, free: 6.852 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)