Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.657/1.657, allocations: 288.4 MB / 304.3 MB, free: 8.117 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.0009863/0.000986, allocations: 172.5 kB / 372.9 MB, free: 10.18 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.484/1.484, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0007222/0.0007224, allocations: 86.3 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 11.72 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2179, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.006746/0.2246, allocations: 7.166 MB / 0.9877 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.692/0.9167, allocations: 138 MB / 1.123 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.9179, allocations: 24.62 kB / 1.123 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007699/0.9186, allocations: 245.1 kB / 1.123 GB, free: 3.102 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.002234/0.9209, allocations: 0.6466 MB / 1.123 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.9234, allocations: 0.803 MB / 1.124 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002055/0.9255, allocations: 1.625 MB / 1.126 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.928, allocations: 1.528 MB / 1.127 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.9291, allocations: 456.2 kB / 1.128 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009994/0.9301, allocations: 0.5582 MB / 1.128 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.9302, allocations: 37.56 kB / 1.128 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.9317, allocations: 0.5484 MB / 1.129 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.932, allocations: 306.5 kB / 1.129 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005885/0.9326, allocations: 0.5537 MB / 1.13 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.9346, allocations: 1.543 MB / 1.131 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.9346, allocations: 0 / 1.131 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.686e-06/0.9347, allocations: 1.156 kB / 1.131 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.23e-05/0.9347, allocations: 1.859 kB / 1.131 GB, free: 1.535 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002572/0.9373, allocations: 1.455 MB / 1.133 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.9373, allocations: 10.06 kB / 1.133 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.9386, allocations: 298.9 kB / 1.133 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.9399, allocations: 0.944 MB / 1.134 GB, free: 204 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.597e-05/0.94, allocations: 82.61 kB / 1.134 GB, free: 200 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.9401, allocations: 102.9 kB / 1.134 GB, free: 200 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.9422, allocations: 1.305 MB / 1.135 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.9422, allocations: 8.672 kB / 1.135 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.9423, allocations: 44.56 kB / 1.135 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.005e-05/0.9424, allocations: 69.08 kB / 1.135 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.9448, allocations: 1.459 MB / 1.137 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006395/0.9512, allocations: 4.716 MB / 1.141 GB, free: 12.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.953, allocations: 1.005 MB / 1.142 GB, free: 12.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006798/0.9537, allocations: 426.9 kB / 1.143 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.954, allocations: 128.4 kB / 1.143 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.955, allocations: 0.5721 MB / 1.143 GB, free: 12.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 4.047e-06/0.955, allocations: 1.281 kB / 1.143 GB, free: 12.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.005276/0.9603, allocations: 2.12 MB / 1.146 GB, free: 11.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.9605, allocations: 245.6 kB / 1.146 GB, free: 10.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.962, allocations: 0.898 MB / 1.147 GB, free: 10.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.99e-05/0.9621, allocations: 45.27 kB / 1.147 GB, free: 10.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/0.9626, allocations: 0.5369 MB / 1.147 GB, free: 10.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.9629, allocations: 318.5 kB / 1.148 GB, free: 10.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.963, allocations: 24.72 kB / 1.148 GB, free: 10.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.9631, allocations: 341.7 kB / 1.148 GB, free: 9.773 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007155/0.9639, allocations: 375.2 kB / 1.148 GB, free: 9.711 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009701/0.9648, allocations: 0.5357 MB / 1.149 GB, free: 9.496 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.9663, allocations: 0.9223 MB / 1.15 GB, free: 9.273 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.9663, allocations: 1.25 kB / 1.15 GB, free: 9.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002912/0.9692, allocations: 1.259 MB / 1.151 GB, free: 8.957 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.9694, allocations: 193.7 kB / 1.151 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.9694, allocations: 5.172 kB / 1.151 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.9707, allocations: 265.5 kB / 1.151 GB, free: 8.641 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.9717, allocations: 217.7 kB / 1.152 GB, free: 8.594 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.9747, allocations: 1.977 MB / 1.153 GB, free: 7.098 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.976, allocations: 114.5 kB / 1.154 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/0.9761, allocations: 47.22 kB / 1.154 GB, free: 7.035 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.9761, allocations: 5.719 kB / 1.154 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001742/0.9779, allocations: 0.9386 MB / 1.155 GB, free: 6.887 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.9779, allocations: 3 kB / 1.155 GB, free: 6.887 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.9779, allocations: 11.22 kB / 1.155 GB, free: 6.883 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/0.9788, allocations: 224.2 kB / 1.155 GB, free: 6.832 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.9788, allocations: 14.8 kB / 1.155 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.9798, allocations: 99.38 kB / 1.155 GB, free: 6.781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/0.9799, allocations: 48.17 kB / 1.155 GB, free: 6.773 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (116): * Single equations (assignments): 115 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009085/0.9808, allocations: 434.4 kB / 1.155 GB, free: 6.539 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.981, allocations: 111.7 kB / 1.155 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/0.9839, allocations: 1.381 MB / 1.157 GB, free: 6.105 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.9839, allocations: 10.95 kB / 1.157 GB, free: 6.098 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9839, allocations: 0 / 1.157 GB, free: 6.098 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005658/0.9845, allocations: 342.6 kB / 1.157 GB, free: 5.879 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.9846, allocations: 20.47 kB / 1.157 GB, free: 5.879 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/0.9853, allocations: 101 kB / 1.157 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.9855, allocations: 71.27 kB / 1.157 GB, free: 5.816 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00233/0.9879, allocations: 1.3 MB / 1.159 GB, free: 5.406 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002437/0.9903, allocations: 1.769 MB / 1.16 GB, free: 4.836 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006325/0.991, allocations: 464.3 kB / 1.161 GB, free: 4.746 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009352/0.9919, allocations: 0.6255 MB / 1.161 GB, free: 4.543 MB / 0.698 GB Notification: Performance of Backend: time 7.41e-07/0.9919, allocations: 0 / 1.161 GB, free: 4.543 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004863/0.9968, allocations: 2.01 MB / 1.163 GB, free: 3.891 MB / 0.698 GB Notification: Performance of SimCode: time 0.004491/1.001, allocations: 3.089 MB / 1.166 GB, free: 1.898 MB / 0.698 GB Notification: Performance of Templates: time 0.0382/1.04, allocations: 23.06 MB / 1.189 GB, free: 1.281 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)