Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.642/1.642, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001308/0.001308, allocations: 176.9 kB / 361.4 MB, free: 6.852 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.564/1.564, allocations: 205.3 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007701/0.0007703, allocations: 94.53 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.155e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6333/0.6334, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.787/5.421, allocations: 2.13 GB / 3.094 GB, free: 29.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/5.421, allocations: 112.5 kB / 3.094 GB, free: 29.48 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 0.9435/6.364, allocations: 149.8 MB / 3.24 GB, free: 274.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.303e-06/6.364, allocations: 0 / 3.24 GB, free: 274.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003894/6.365, allocations: 91.62 kB / 3.24 GB, free: 274 MB / 0.948 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.01046/6.375, allocations: 3.063 MB / 3.243 GB, free: 270.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/6.375, allocations: 8.031 kB / 3.243 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005603/6.381, allocations: 0.8266 MB / 3.244 GB, free: 270 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005345/6.386, allocations: 2.28 MB / 3.246 GB, free: 267.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/6.387, allocations: 107.9 kB / 3.246 GB, free: 267.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006765/6.387, allocations: 180 kB / 3.247 GB, free: 267.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006071/6.393, allocations: 3.511 MB / 3.25 GB, free: 263.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005958/6.399, allocations: 3.916 MB / 3.254 GB, free: 259.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.666e-05/6.399, allocations: 7.938 kB / 3.254 GB, free: 259.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/6.4, allocations: 4 kB / 3.254 GB, free: 259.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/6.4, allocations: 182 kB / 3.254 GB, free: 259.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02142/6.421, allocations: 19.12 MB / 3.273 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/6.423, allocations: 1.737 MB / 3.274 GB, free: 237.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/6.425, allocations: 1.115 MB / 3.276 GB, free: 236.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/6.425, allocations: 134.4 kB / 3.276 GB, free: 236 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/6.426, allocations: 1.04 MB / 3.277 GB, free: 234.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 3.126e-06/6.426, allocations: 0 / 3.277 GB, free: 234.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.01795/6.444, allocations: 9.876 MB / 3.286 GB, free: 225 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/6.445, allocations: 0.5023 MB / 3.287 GB, free: 224.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/6.448, allocations: 1.87 MB / 3.289 GB, free: 222.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005174/6.448, allocations: 29.7 kB / 3.289 GB, free: 222.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/6.449, allocations: 1.522 MB / 3.29 GB, free: 220.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005715/6.45, allocations: 0.6005 MB / 3.291 GB, free: 220.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/6.45, allocations: 0 / 3.291 GB, free: 220.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001195/6.45, allocations: 385.9 kB / 3.291 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/6.452, allocations: 1.058 MB / 3.292 GB, free: 218.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/6.453, allocations: 1.57 MB / 3.294 GB, free: 217 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/6.455, allocations: 1.376 MB / 3.295 GB, free: 215.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/6.455, allocations: 4 kB / 3.295 GB, free: 215.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.008607/6.464, allocations: 4.204 MB / 3.299 GB, free: 211.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007819/6.464, allocations: 4.632 MB / 3.304 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/6.465, allocations: 8 kB / 3.304 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005105/6.47, allocations: 1.359 MB / 3.305 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/6.472, allocations: 479.3 kB / 3.305 GB, free: 204.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009149/6.481, allocations: 9.064 MB / 3.314 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/6.484, allocations: 159.7 kB / 3.314 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/6.484, allocations: 91.95 kB / 3.315 GB, free: 194.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/6.484, allocations: 8.688 kB / 3.315 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003756/6.488, allocations: 2.179 MB / 3.317 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/6.488, allocations: 8 kB / 3.317 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/6.488, allocations: 27.94 kB / 3.317 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/6.49, allocations: 0.5031 MB / 3.317 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/6.49, allocations: 27.92 kB / 3.317 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/6.492, allocations: 104 kB / 3.317 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/6.493, allocations: 87.92 kB / 3.317 GB, free: 191.9 MB / 0.948 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (236): * Single equations (assignments): 230 * 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.0005601/6.493, allocations: 173.3 kB / 3.318 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004261/6.494, allocations: 229.1 kB / 3.318 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009203/6.503, allocations: 4.229 MB / 3.322 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/6.503, allocations: 27.98 kB / 3.322 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/6.503, allocations: 7.953 kB / 3.322 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/6.503, allocations: 7.969 kB / 3.322 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/6.517, allocations: 8.728 MB / 3.33 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/6.517, allocations: 4 kB / 3.33 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/6.518, allocations: 359.4 kB / 3.331 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00565/6.524, allocations: 1.792 MB / 3.333 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/6.524, allocations: 23.98 kB / 3.333 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/6.536, allocations: 12.52 MB / 3.345 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/6.536, allocations: 4 kB / 3.345 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/6.546, allocations: 4.591 MB / 3.349 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/6.548, allocations: 0.6776 MB / 3.35 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/6.548, allocations: 8 kB / 3.35 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/6.55, allocations: 231.6 kB / 3.35 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/6.55, allocations: 153.7 kB / 3.35 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/6.55, allocations: 59.98 kB / 3.35 GB, free: 156.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00177/6.552, allocations: 1.428 MB / 3.352 GB, free: 155.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/6.552, allocations: 0 / 3.352 GB, free: 155.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003428/6.556, allocations: 1.14 MB / 3.353 GB, free: 154.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001279/6.557, allocations: 0.6474 MB / 3.354 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006172/6.563, allocations: 4.406 MB / 3.358 GB, free: 149.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/6.563, allocations: 4 kB / 3.358 GB, free: 149.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003109/6.566, allocations: 2.229 MB / 3.36 GB, free: 147 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/6.569, allocations: 0.5321 MB / 3.361 GB, free: 146.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008482/6.578, allocations: 5.224 MB / 3.366 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/6.58, allocations: 2.537 MB / 3.368 GB, free: 138.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003865/6.584, allocations: 1.379 MB / 3.369 GB, free: 137.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/6.584, allocations: 151.4 kB / 3.37 GB, free: 137.1 MB / 0.948 GB Notification: Performance of SimCode: time 8.72e-07/6.584, allocations: 0 / 3.37 GB, free: 137.1 MB / 0.948 GB Notification: Performance of Templates: time 0.05934/6.643, allocations: 43.16 MB / 3.412 GB, free: 94.07 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)