Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.708/1.708, 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.0009859/0.0009862, allocations: 178.4 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.621/1.621, allocations: 205.4 MB / 0.6316 GB, free: 9.859 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.0007559/0.0007559, allocations: 93.09 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004214, allocations: 11.84 kB / 0.8681 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2236, allocations: 115.3 MB / 0.9807 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.006398/0.2301, allocations: 6.219 MB / 0.9868 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6897/0.9198, allocations: 138 MB / 1.122 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.9212, allocations: 21.34 kB / 1.122 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009741/0.9222, allocations: 251.3 kB / 1.122 GB, free: 2.461 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.002405/0.9246, allocations: 0.6479 MB / 1.123 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.9274, allocations: 0.7948 MB / 1.123 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002151/0.9296, allocations: 1.626 MB / 1.125 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002489/0.9321, allocations: 1.529 MB / 1.126 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008015/0.9329, allocations: 455.9 kB / 1.127 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008903/0.9338, allocations: 0.5611 MB / 1.127 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.9339, allocations: 37.97 kB / 1.127 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.9353, allocations: 0.5471 MB / 1.128 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.9356, allocations: 305.2 kB / 1.128 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000561/0.9362, allocations: 0.5583 MB / 1.129 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.938, allocations: 1.543 MB / 1.13 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.938, allocations: 0 / 1.13 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.908e-06/0.938, allocations: 2.391 kB / 1.13 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.9381, allocations: 0.9375 kB / 1.13 GB, free: 0.8945 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.002691/0.9408, allocations: 1.445 MB / 1.132 GB, free: 16.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.9408, allocations: 12 kB / 1.132 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.9423, allocations: 299.4 kB / 1.132 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.9439, allocations: 0.9498 MB / 1.133 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-05/0.944, allocations: 76.02 kB / 1.133 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.9441, allocations: 107.5 kB / 1.133 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.9464, allocations: 1.307 MB / 1.134 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.9464, allocations: 0 / 1.134 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.9465, allocations: 51.09 kB / 1.134 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.9466, allocations: 71.36 kB / 1.134 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.949, allocations: 1.452 MB / 1.136 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006591/0.9556, allocations: 4.708 MB / 1.14 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.9575, allocations: 1.015 MB / 1.141 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007068/0.9583, allocations: 434.6 kB / 1.142 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.9585, allocations: 117.6 kB / 1.142 GB, free: 11.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009558/0.9594, allocations: 0.5784 MB / 1.143 GB, free: 11.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 3.637e-06/0.9595, allocations: 0 / 1.143 GB, free: 11.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.005952/0.9654, allocations: 2.118 MB / 1.145 GB, free: 10.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.9656, allocations: 250.2 kB / 1.145 GB, free: 10.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.9674, allocations: 0.9005 MB / 1.146 GB, free: 10.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.088e-05/0.9675, allocations: 46.33 kB / 1.146 GB, free: 10.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000524/0.968, allocations: 0.5326 MB / 1.146 GB, free: 9.773 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.9683, allocations: 317.5 kB / 1.147 GB, free: 9.547 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.9684, allocations: 20.78 kB / 1.147 GB, free: 9.547 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.9685, allocations: 346.2 kB / 1.147 GB, free: 9.227 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007017/0.9692, allocations: 375.8 kB / 1.147 GB, free: 9.164 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008499/0.9701, allocations: 0.5387 MB / 1.148 GB, free: 8.945 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.9717, allocations: 0.9214 MB / 1.149 GB, free: 8.727 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.9717, allocations: 0 / 1.149 GB, free: 8.727 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002829/0.9745, allocations: 1.264 MB / 1.15 GB, free: 8.406 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.9747, allocations: 186 kB / 1.15 GB, free: 8.203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.9747, allocations: 11.19 kB / 1.15 GB, free: 8.195 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.976, allocations: 262.5 kB / 1.15 GB, free: 8.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/0.977, allocations: 218.5 kB / 1.151 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/0.9801, allocations: 1.977 MB / 1.153 GB, free: 6.551 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.9813, allocations: 108.9 kB / 1.153 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/0.9814, allocations: 49.91 kB / 1.153 GB, free: 6.488 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.9814, allocations: 3.188 kB / 1.153 GB, free: 6.488 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001756/0.9831, allocations: 0.9393 MB / 1.154 GB, free: 6.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.9832, allocations: 3.688 kB / 1.154 GB, free: 6.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.9832, allocations: 7 kB / 1.154 GB, free: 6.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/0.984, allocations: 226.1 kB / 1.154 GB, free: 6.289 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.9841, allocations: 19.34 kB / 1.154 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009126/0.985, allocations: 103.3 kB / 1.154 GB, free: 6.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/0.9851, allocations: 47.66 kB / 1.154 GB, free: 6.223 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.0008562/0.986, allocations: 429.5 kB / 1.154 GB, free: 5.996 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.9862, allocations: 112.9 kB / 1.155 GB, free: 5.938 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/0.989, allocations: 1.378 MB / 1.156 GB, free: 5.562 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.361e-05/0.9891, allocations: 5.453 kB / 1.156 GB, free: 5.559 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9891, allocations: 0 / 1.156 GB, free: 5.559 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005495/0.9896, allocations: 344.6 kB / 1.156 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.9898, allocations: 17.22 kB / 1.156 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/0.9905, allocations: 99.27 kB / 1.156 GB, free: 5.309 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.9907, allocations: 76.89 kB / 1.156 GB, free: 5.277 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002362/0.9931, allocations: 1.305 MB / 1.158 GB, free: 4.859 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002419/0.9955, allocations: 1.775 MB / 1.159 GB, free: 4.285 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006158/0.9961, allocations: 449.8 kB / 1.16 GB, free: 4.203 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008882/0.997, allocations: 0.6289 MB / 1.16 GB, free: 4 MB / 0.698 GB Notification: Performance of Backend: time 5.81e-07/0.997, allocations: 4 kB / 1.16 GB, free: 3.996 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004533/1.002, allocations: 1.997 MB / 1.162 GB, free: 3.367 MB / 0.698 GB Notification: Performance of SimCode: time 0.004324/1.006, allocations: 3.103 MB / 1.165 GB, free: 1.363 MB / 0.698 GB Notification: Performance of Templates: time 0.03959/1.046, allocations: 23.1 MB / 1.188 GB, free: 1.16 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)