Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.603/1.603, allocations: 287.4 MB / 303.2 MB, free: 8.32 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.0009333/0.0009333, allocations: 181.1 kB / 371.8 MB, free: 10.84 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.535/1.535, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.0008743/0.0008743, allocations: 88.33 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005053, allocations: 13.17 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2684, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.01787/0.2863, allocations: 19.12 MB / 0.998 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7377/1.024, allocations: 143.8 MB / 1.138 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003137/1.027, allocations: 63.72 kB / 1.138 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002537/1.03, allocations: 0.5805 MB / 1.139 GB, free: 3.551 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.008256/1.038, allocations: 1.536 MB / 1.141 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008713/1.047, allocations: 1.478 MB / 1.142 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01264/1.06, allocations: 5.43 MB / 1.147 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02381/1.083, allocations: 6.602 MB / 1.154 GB, free: 13.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005883/1.089, allocations: 1.49 MB / 1.155 GB, free: 12.72 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006492/1.096, allocations: 1.938 MB / 1.157 GB, free: 11.63 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001588/1.098, allocations: 165.2 kB / 1.157 GB, free: 11.63 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004666/1.102, allocations: 0.6014 MB / 1.158 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.004117/1.106, allocations: 1.32 MB / 1.159 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003483/1.11, allocations: 0.6947 MB / 1.16 GB, free: 10.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/1.121, allocations: 5.684 MB / 1.165 GB, free: 6.031 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.121, allocations: 0 / 1.165 GB, free: 6.031 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/1.121, allocations: 0 / 1.165 GB, free: 6.031 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002789/1.122, allocations: 0 / 1.165 GB, free: 6.031 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.01366/1.135, allocations: 3.264 MB / 1.169 GB, free: 3.727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/1.135, allocations: 7.875 kB / 1.169 GB, free: 3.727 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008183/1.144, allocations: 0.8103 MB / 1.169 GB, free: 3.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00976/1.153, allocations: 2.413 MB / 1.172 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004112/1.154, allocations: 233.6 kB / 1.172 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/1.156, allocations: 306.7 kB / 1.172 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02004/1.176, allocations: 4.713 MB / 1.177 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/1.176, allocations: 2.875 kB / 1.177 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001273/1.177, allocations: 137.8 kB / 1.177 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006221/1.178, allocations: 226.4 kB / 1.177 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/1.193, allocations: 4.294 MB / 1.181 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0492/1.243, allocations: 19.54 MB / 1.2 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006242/1.249, allocations: 1.981 MB / 1.202 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003107/1.252, allocations: 1.115 MB / 1.203 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004361/1.253, allocations: 138.4 kB / 1.204 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003349/1.256, allocations: 1.194 MB / 1.205 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=160): time 8.546e-06/1.256, allocations: 0 / 1.205 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of matching and sorting (n=197): time 0.04903/1.305, allocations: 11.2 MB / 1.216 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001823/1.305, allocations: 304.7 kB / 1.216 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004683/1.31, allocations: 2.071 MB / 1.218 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004726/1.311, allocations: 57.7 kB / 1.218 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001927/1.313, allocations: 1.477 MB / 1.22 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.314, allocations: 0.6624 MB / 1.22 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/1.314, allocations: 40 kB / 1.22 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002775/1.314, allocations: 381.9 kB / 1.221 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/1.317, allocations: 1.171 MB / 1.222 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/1.319, allocations: 1.614 MB / 1.223 GB, free: 212 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00518/1.325, allocations: 2.881 MB / 1.226 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/1.325, allocations: 4 kB / 1.226 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01504/1.34, allocations: 5.163 MB / 1.231 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004848/1.34, allocations: 373.9 kB / 1.231 GB, free: 7.516 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.793e-05/1.34, allocations: 8 kB / 1.232 GB, free: 7.508 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01061/1.351, allocations: 2.455 MB / 1.234 GB, free: 5.031 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/1.353, allocations: 467.2 kB / 1.234 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/1.375, allocations: 14.22 MB / 1.248 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/1.377, allocations: 198 kB / 1.248 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005333/1.378, allocations: 83.97 kB / 1.249 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.378, allocations: 4 kB / 1.249 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01202/1.39, allocations: 4.198 MB / 1.253 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/1.39, allocations: 11.94 kB / 1.253 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007075/1.397, allocations: 1.622 MB / 1.254 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/1.4, allocations: 483.2 kB / 1.255 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/1.412, allocations: 8.12 MB / 1.263 GB, free: 6.438 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/1.415, allocations: 183.8 kB / 1.263 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005239/1.415, allocations: 87.97 kB / 1.263 GB, free: 6.172 MB / 0.7917 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 ($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 (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.003297/1.419, allocations: 1.259 MB / 1.264 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009063/1.42, allocations: 233.2 kB / 1.264 GB, free: 4.672 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/1.434, allocations: 5.182 MB / 1.269 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.925e-05/1.434, allocations: 11.91 kB / 1.269 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.434, allocations: 0 / 1.269 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/1.436, allocations: 0.6736 MB / 1.27 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008747/1.437, allocations: 39.98 kB / 1.27 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/1.44, allocations: 243.6 kB / 1.27 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005505/1.44, allocations: 149.8 kB / 1.27 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01067/1.451, allocations: 4.211 MB / 1.275 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008304/1.459, allocations: 4.553 MB / 1.279 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001994/1.461, allocations: 1.359 MB / 1.28 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003146/1.464, allocations: 1.449 MB / 1.282 GB, free: 2.684 MB / 0.8073 GB Notification: Performance of Backend: time 8.02e-07/1.464, allocations: 3.938 kB / 1.282 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01322/1.478, allocations: 5.467 MB / 1.287 GB, free: 13.3 MB / 0.823 GB Notification: Performance of SimCode: time 0.01517/1.493, allocations: 7.701 MB / 1.295 GB, free: 5.551 MB / 0.823 GB Notification: Performance of Templates: time 0.1065/1.599, allocations: 59.65 MB / 1.353 GB, free: 10.16 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)