Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 181.2 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007848/0.0007849, allocations: 87.98 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 9.156 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2449, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02838/0.2734, allocations: 20.63 MB / 0.9169 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.7441/1.018, allocations: 155.7 MB / 1.069 GB, free: 5.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003079/1.021, allocations: 60.66 kB / 1.069 GB, free: 5.91 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005018/1.026, allocations: 1.707 MB / 1.071 GB, free: 5.859 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.006633/1.032, allocations: 1.738 MB / 1.072 GB, free: 5.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007437/1.04, allocations: 2.041 MB / 1.074 GB, free: 5.699 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01242/1.052, allocations: 6.637 MB / 1.081 GB, free: 5.672 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/1.062, allocations: 5.94 MB / 1.087 GB, free: 4.691 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/1.067, allocations: 1.537 MB / 1.088 GB, free: 4.688 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/1.071, allocations: 2.002 MB / 1.09 GB, free: 4.676 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005562/1.072, allocations: 166.7 kB / 1.09 GB, free: 4.676 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/1.074, allocations: 0.9641 MB / 1.091 GB, free: 4.652 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001911/1.076, allocations: 1.324 MB / 1.093 GB, free: 4.652 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002411/1.079, allocations: 1.681 MB / 1.094 GB, free: 4.582 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007178/1.086, allocations: 6.622 MB / 1.101 GB, free: 3.844 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/1.086, allocations: 0 / 1.101 GB, free: 3.844 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/1.086, allocations: 0 / 1.101 GB, free: 3.844 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001647/1.086, allocations: 0 / 1.101 GB, free: 3.844 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.006834/1.093, allocations: 3.267 MB / 1.104 GB, free: 2.223 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.093, allocations: 9.219 kB / 1.104 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/1.097, allocations: 0.8123 MB / 1.105 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004679/1.101, allocations: 2.403 MB / 1.107 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/1.102, allocations: 232.2 kB / 1.107 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004467/1.102, allocations: 304.9 kB / 1.108 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008955/1.111, allocations: 4.745 MB / 1.112 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.975e-05/1.111, allocations: 14.28 kB / 1.112 GB, free: 336 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002977/1.111, allocations: 137.8 kB / 1.112 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003115/1.112, allocations: 213.7 kB / 1.112 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007465/1.119, allocations: 4.392 MB / 1.117 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02357/1.143, allocations: 19.54 MB / 1.136 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/1.146, allocations: 1.982 MB / 1.138 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/1.147, allocations: 1.119 MB / 1.139 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/1.148, allocations: 141.2 kB / 1.139 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001807/1.15, allocations: 1.207 MB / 1.14 GB, free: 360 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=160): time 4.709e-06/1.15, allocations: 4 kB / 1.14 GB, free: 356 kB / 0.7136 GB Notification: Performance of matching and sorting (n=197): time 0.03661/1.186, allocations: 11.21 MB / 1.151 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/1.186, allocations: 304.7 kB / 1.151 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/1.191, allocations: 2.079 MB / 1.153 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005554/1.191, allocations: 61.7 kB / 1.154 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001786/1.193, allocations: 1.483 MB / 1.155 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009902/1.194, allocations: 0.6587 MB / 1.156 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004798/1.194, allocations: 157.6 kB / 1.156 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.195, allocations: 301.1 kB / 1.156 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/1.197, allocations: 1.189 MB / 1.157 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/1.2, allocations: 1.628 MB / 1.159 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004664/1.204, allocations: 2.89 MB / 1.162 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/1.204, allocations: 0 / 1.162 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01469/1.219, allocations: 5.185 MB / 1.167 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003009/1.219, allocations: 371.7 kB / 1.167 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/1.219, allocations: 8 kB / 1.167 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/1.23, allocations: 2.452 MB / 1.169 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/1.232, allocations: 461.5 kB / 1.17 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/1.253, allocations: 14.23 MB / 1.184 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/1.256, allocations: 191.8 kB / 1.184 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005618/1.257, allocations: 87.95 kB / 1.184 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/1.257, allocations: 4 kB / 1.184 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01209/1.269, allocations: 4.214 MB / 1.188 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/1.269, allocations: 8 kB / 1.188 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007063/1.276, allocations: 1.62 MB / 1.19 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/1.279, allocations: 486.9 kB / 1.19 GB, free: 484 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/1.293, allocations: 8.398 MB / 1.198 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/1.296, allocations: 179.7 kB / 1.199 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005287/1.296, allocations: 92.03 kB / 1.199 GB, free: 7.438 MB / 0.7761 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,2), (2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003403/1.3, allocations: 1.248 MB / 1.2 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.301, allocations: 231.8 kB / 1.2 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.315, allocations: 5.201 MB / 1.205 GB, free: 0.7617 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-05/1.315, allocations: 15.91 kB / 1.205 GB, free: 0.7461 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.315, allocations: 0 / 1.205 GB, free: 0.7461 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/1.317, allocations: 0.6268 MB / 1.206 GB, free: 100 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008623/1.318, allocations: 36 kB / 1.206 GB, free: 64 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.32, allocations: 240.2 kB / 1.206 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005695/1.32, allocations: 153.7 kB / 1.206 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009992/1.33, allocations: 4.226 MB / 1.21 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007142/1.338, allocations: 4.567 MB / 1.215 GB, free: 6.883 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001821/1.339, allocations: 1.37 MB / 1.216 GB, free: 5.516 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002713/1.342, allocations: 1.46 MB / 1.218 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of Backend: time 7.71e-07/1.342, allocations: 0 / 1.218 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01297/1.355, allocations: 5.78 MB / 1.223 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of SimCode: time 0.01426/1.369, allocations: 7.98 MB / 1.231 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of Templates: time 0.09603/1.466, allocations: 60.79 MB / 1.29 GB, free: 10.07 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)