Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.672/1.672, allocations: 287.4 MB / 303.2 MB, free: 8.184 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.00102/0.00102, allocations: 181 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.688/1.688, allocations: 205.4 MB / 0.6305 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.000881/0.000881, allocations: 106.2 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004285, allocations: 12.11 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.251, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.008002/0.259, allocations: 7.159 MB / 0.9863 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7712/1.03, allocations: 138 MB / 1.121 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/1.032, allocations: 22.59 kB / 1.121 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008587/1.032, allocations: 249.6 kB / 1.121 GB, free: 2.375 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.002409/1.035, allocations: 0.6069 MB / 1.122 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00293/1.038, allocations: 0.7841 MB / 1.123 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002485/1.04, allocations: 1.628 MB / 1.124 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002481/1.043, allocations: 1.525 MB / 1.126 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008546/1.044, allocations: 456.8 kB / 1.126 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009807/1.045, allocations: 0.5607 MB / 1.127 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/1.045, allocations: 40 kB / 1.127 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/1.046, allocations: 380.2 kB / 1.127 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003636/1.046, allocations: 317.1 kB / 1.127 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002855/1.047, allocations: 249 kB / 1.128 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001731/1.048, allocations: 1.531 MB / 1.129 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.048, allocations: 3.344 kB / 1.129 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.036e-06/1.048, allocations: 0 / 1.129 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.081e-05/1.048, allocations: 0 / 1.129 GB, free: 0.9805 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.002623/1.051, allocations: 1.455 MB / 1.131 GB, free: 112 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/1.051, allocations: 9.594 kB / 1.131 GB, free: 112 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/1.052, allocations: 297.1 kB / 1.131 GB, free: 24 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/1.054, allocations: 0.952 MB / 1.132 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/1.054, allocations: 84.75 kB / 1.132 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/1.054, allocations: 105.8 kB / 1.132 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/1.056, allocations: 1.298 MB / 1.133 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-05/1.057, allocations: 2.562 kB / 1.133 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/1.057, allocations: 53.42 kB / 1.133 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-05/1.057, allocations: 62.5 kB / 1.133 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/1.059, allocations: 1.459 MB / 1.135 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006845/1.066, allocations: 4.7 MB / 1.139 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/1.068, allocations: 1.018 MB / 1.14 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007411/1.068, allocations: 437.9 kB / 1.141 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/1.069, allocations: 117.8 kB / 1.141 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009345/1.07, allocations: 0.5774 MB / 1.142 GB, free: 12.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 3.346e-06/1.07, allocations: 1.219 kB / 1.142 GB, free: 12.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.005028/1.075, allocations: 2.115 MB / 1.144 GB, free: 11.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.075, allocations: 248.8 kB / 1.144 GB, free: 11.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/1.076, allocations: 0.9037 MB / 1.145 GB, free: 10.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/1.076, allocations: 42.39 kB / 1.145 GB, free: 10.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000493/1.077, allocations: 0.5315 MB / 1.145 GB, free: 10.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/1.077, allocations: 318.9 kB / 1.146 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/1.077, allocations: 19.84 kB / 1.146 GB, free: 10.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.077, allocations: 342 kB / 1.146 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006747/1.078, allocations: 374.8 kB / 1.146 GB, free: 10.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008244/1.079, allocations: 0.5429 MB / 1.147 GB, free: 9.828 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/1.08, allocations: 0.9229 MB / 1.148 GB, free: 9.602 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.08, allocations: 1.031 kB / 1.148 GB, free: 9.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002838/1.083, allocations: 1.267 MB / 1.149 GB, free: 9.281 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/1.083, allocations: 183.8 kB / 1.149 GB, free: 9.078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.083, allocations: 2.969 kB / 1.149 GB, free: 9.078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/1.085, allocations: 268.1 kB / 1.149 GB, free: 8.969 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.086, allocations: 219 kB / 1.15 GB, free: 8.922 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/1.089, allocations: 1.98 MB / 1.152 GB, free: 7.422 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/1.09, allocations: 116.3 kB / 1.152 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/1.09, allocations: 45.25 kB / 1.152 GB, free: 7.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/1.09, allocations: 4.594 kB / 1.152 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001821/1.092, allocations: 0.9366 MB / 1.153 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.092, allocations: 3.469 kB / 1.153 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.092, allocations: 15.61 kB / 1.153 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008958/1.093, allocations: 222.5 kB / 1.153 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-05/1.093, allocations: 11.58 kB / 1.153 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009326/1.094, allocations: 104.2 kB / 1.153 GB, free: 7.109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-05/1.094, allocations: 47.09 kB / 1.153 GB, free: 7.102 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.0008772/1.095, allocations: 428.8 kB / 1.153 GB, free: 6.875 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/1.095, allocations: 108.7 kB / 1.153 GB, free: 6.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/1.099, allocations: 1.376 MB / 1.155 GB, free: 6.441 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/1.099, allocations: 5.016 kB / 1.155 GB, free: 6.438 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.099, allocations: 0 / 1.155 GB, free: 6.438 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000732/1.099, allocations: 343.5 kB / 1.155 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/1.1, allocations: 22.55 kB / 1.155 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008873/1.101, allocations: 108.5 kB / 1.155 GB, free: 6.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/1.101, allocations: 70.61 kB / 1.155 GB, free: 6.152 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002845/1.104, allocations: 1.303 MB / 1.157 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003376/1.107, allocations: 1.773 MB / 1.158 GB, free: 5.164 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006791/1.108, allocations: 459.8 kB / 1.159 GB, free: 5.074 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001265/1.109, allocations: 0.6368 MB / 1.159 GB, free: 4.863 MB / 0.698 GB Notification: Performance of Backend: time 5.71e-07/1.109, allocations: 0 / 1.159 GB, free: 4.863 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005211/1.114, allocations: 1.924 MB / 1.161 GB, free: 4.289 MB / 0.698 GB Notification: Performance of SimCode: time 0.006445/1.121, allocations: 3.09 MB / 1.164 GB, free: 2.289 MB / 0.698 GB Notification: Performance of Templates: time 0.04605/1.167, allocations: 22.82 MB / 1.187 GB, free: 2.371 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)