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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 251.5 MB / 267.4 MB, free: 11.03 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.0009635/0.0009636, allocations: 174.4 kB / 326.5 MB, free: 2.668 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.708/1.708, allocations: 205 MB / 0.5766 GB, free: 21 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.0008879/0.0008879, allocations: 95.92 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 10.41 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2319, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.0187/0.2507, allocations: 20.37 MB / 0.9167 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.7435/0.9942, allocations: 155.8 MB / 1.069 GB, free: 5.828 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.9969, allocations: 61.66 kB / 1.069 GB, free: 5.828 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004193/1.001, allocations: 1.464 MB / 1.07 GB, free: 5.785 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.005906/1.007, allocations: 1.603 MB / 1.072 GB, free: 5.707 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005922/1.013, allocations: 1.925 MB / 1.074 GB, free: 5.633 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009653/1.023, allocations: 6.399 MB / 1.08 GB, free: 5.605 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008606/1.031, allocations: 5.975 MB / 1.086 GB, free: 4.617 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/1.035, allocations: 1.486 MB / 1.087 GB, free: 4.617 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/1.038, allocations: 1.933 MB / 1.089 GB, free: 4.605 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004556/1.038, allocations: 165 kB / 1.089 GB, free: 4.605 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/1.041, allocations: 0.9241 MB / 1.09 GB, free: 4.586 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001354/1.042, allocations: 1.277 MB / 1.092 GB, free: 4.586 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002192/1.044, allocations: 1.615 MB / 1.093 GB, free: 4.582 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007964/1.052, allocations: 6.319 MB / 1.099 GB, free: 3.883 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.052, allocations: 4 kB / 1.099 GB, free: 3.879 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.819e-06/1.052, allocations: 0 / 1.099 GB, free: 3.879 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002799/1.053, allocations: 2.906 kB / 1.099 GB, free: 3.879 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.008212/1.061, allocations: 3.166 MB / 1.102 GB, free: 2.328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.061, allocations: 11.28 kB / 1.102 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003981/1.065, allocations: 0.8274 MB / 1.103 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004441/1.069, allocations: 2.237 MB / 1.105 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/1.07, allocations: 230.9 kB / 1.106 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005534/1.07, allocations: 303 kB / 1.106 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/1.081, allocations: 4.686 MB / 1.11 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.766e-05/1.082, allocations: 6.219 kB / 1.11 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003533/1.082, allocations: 136.4 kB / 1.111 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004059/1.082, allocations: 213.8 kB / 1.111 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007638/1.09, allocations: 4.316 MB / 1.115 GB, free: 0 / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02709/1.117, allocations: 18.46 MB / 1.133 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003325/1.12, allocations: 2.125 MB / 1.135 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/1.122, allocations: 1.116 MB / 1.136 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/1.122, allocations: 132 kB / 1.136 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001727/1.124, allocations: 1.179 MB / 1.137 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 4.659e-06/1.124, allocations: 0 / 1.137 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.02895/1.153, allocations: 10.38 MB / 1.148 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/1.153, allocations: 362 kB / 1.148 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/1.156, allocations: 1.885 MB / 1.15 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002381/1.156, allocations: 61.7 kB / 1.15 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/1.157, allocations: 1.432 MB / 1.151 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005977/1.158, allocations: 0.647 MB / 1.152 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/1.158, allocations: 165.7 kB / 1.152 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/1.158, allocations: 309.1 kB / 1.152 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/1.16, allocations: 1.148 MB / 1.153 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/1.162, allocations: 1.662 MB / 1.155 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004095/1.167, allocations: 2.92 MB / 1.158 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.167, allocations: 4 kB / 1.158 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01127/1.178, allocations: 4.66 MB / 1.162 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003996/1.178, allocations: 462.4 kB / 1.163 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/1.178, allocations: 12 kB / 1.163 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007356/1.186, allocations: 1.832 MB / 1.165 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/1.188, allocations: 475.1 kB / 1.165 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/1.202, allocations: 9.114 MB / 1.174 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/1.204, allocations: 191.8 kB / 1.174 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/1.204, allocations: 97.75 kB / 1.174 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.547e-06/1.205, allocations: 4 kB / 1.174 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008963/1.213, allocations: 3.852 MB / 1.178 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/1.214, allocations: 12 kB / 1.178 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004861/1.218, allocations: 1.191 MB / 1.179 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/1.22, allocations: 0.4932 MB / 1.18 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009436/1.23, allocations: 5.658 MB / 1.185 GB, free: 5.633 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/1.232, allocations: 187.3 kB / 1.185 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/1.232, allocations: 95.97 kB / 1.186 GB, free: 5.359 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (232): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002441/1.235, allocations: 1.225 MB / 1.187 GB, free: 4.152 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/1.235, allocations: 221.3 kB / 1.187 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/1.246, allocations: 4.509 MB / 1.191 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.169e-05/1.246, allocations: 11.97 kB / 1.191 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.246, allocations: 3.938 kB / 1.191 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.248, allocations: 0.5881 MB / 1.192 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006115/1.248, allocations: 35.91 kB / 1.192 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/1.25, allocations: 225.8 kB / 1.192 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004029/1.25, allocations: 149.8 kB / 1.192 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008329/1.259, allocations: 4.025 MB / 1.196 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006314/1.265, allocations: 4.427 MB / 1.201 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001755/1.267, allocations: 1.308 MB / 1.202 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002574/1.27, allocations: 1.316 MB / 1.203 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of Backend: time 7.81e-07/1.27, allocations: 0 / 1.203 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.282, allocations: 5.181 MB / 1.208 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of SimCode: time 0.01348/1.296, allocations: 7.733 MB / 1.216 GB, free: 6.613 MB / 0.7917 GB Notification: Performance of Templates: time 0.09327/1.389, allocations: 56.95 MB / 1.271 GB, free: 14.16 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)