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.67/1.67, allocations: 288.4 MB / 304.3 MB, free: 8.168 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.001225/0.001225, allocations: 185.5 kB / 373 MB, free: 10.14 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.686/1.686, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.0007693/0.0007694, allocations: 88.66 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004412, allocations: 11.91 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2352, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.098/5.333, allocations: 2.13 GB / 3.111 GB, free: 193.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000405/5.333, allocations: 119.9 kB / 3.111 GB, free: 193.7 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.3414/5.675, allocations: 156.6 MB / 3.264 GB, free: 35.73 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.848e-06/5.675, allocations: 0 / 3.264 GB, free: 35.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002627/5.675, allocations: 87.92 kB / 3.264 GB, free: 35.64 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.008862/5.684, allocations: 3.392 MB / 3.268 GB, free: 32.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/5.684, allocations: 8.031 kB / 3.268 GB, free: 32.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/5.689, allocations: 0.8291 MB / 3.268 GB, free: 31.34 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00549/5.695, allocations: 2.361 MB / 3.271 GB, free: 28.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/5.695, allocations: 234.2 kB / 3.271 GB, free: 28.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008156/5.696, allocations: 307.9 kB / 3.271 GB, free: 28.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007481/5.703, allocations: 4.447 MB / 3.276 GB, free: 23.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.165e-05/5.703, allocations: 3.938 kB / 3.276 GB, free: 23.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003421/5.704, allocations: 136 kB / 3.276 GB, free: 23.65 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001805/5.704, allocations: 174 kB / 3.276 GB, free: 23.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006314/5.71, allocations: 4.021 MB / 3.28 GB, free: 19.45 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5797/6.29, allocations: 19.87 MB / 3.299 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/6.294, allocations: 1.866 MB / 3.301 GB, free: 248.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/6.295, allocations: 0.9648 MB / 3.302 GB, free: 248.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/6.295, allocations: 132.1 kB / 3.302 GB, free: 248.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001962/6.297, allocations: 1.115 MB / 3.303 GB, free: 248 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 4.248e-06/6.297, allocations: 2.516 kB / 3.303 GB, free: 248 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.03931/6.337, allocations: 14.11 MB / 3.317 GB, free: 244.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/6.337, allocations: 0.5037 MB / 3.317 GB, free: 243.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004055/6.341, allocations: 2.283 MB / 3.32 GB, free: 243.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004546/6.342, allocations: 65.05 kB / 3.32 GB, free: 243.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/6.343, allocations: 1.507 MB / 3.321 GB, free: 243.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007353/6.344, allocations: 0.631 MB / 3.322 GB, free: 242.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/6.344, allocations: 38.78 kB / 3.322 GB, free: 242.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001366/6.344, allocations: 389.6 kB / 3.322 GB, free: 242.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/6.346, allocations: 1.129 MB / 3.323 GB, free: 242.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/6.348, allocations: 1.664 MB / 3.325 GB, free: 242 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06395/6.412, allocations: 14.53 MB / 3.339 GB, free: 241.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/6.412, allocations: 3.656 kB / 3.339 GB, free: 241.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.02368/6.436, allocations: 5.061 MB / 3.344 GB, free: 241.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004507/6.436, allocations: 439.1 kB / 3.345 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.704e-05/6.436, allocations: 11.69 kB / 3.345 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01904/6.456, allocations: 2.422 MB / 3.347 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/6.459, allocations: 477.7 kB / 3.347 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02312/6.483, allocations: 14.03 MB / 3.361 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/6.486, allocations: 217.7 kB / 3.361 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/6.486, allocations: 87.86 kB / 3.361 GB, free: 233.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/6.486, allocations: 3.406 kB / 3.361 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009953/6.496, allocations: 4.121 MB / 3.365 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.294e-05/6.496, allocations: 17.62 kB / 3.365 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006639/6.503, allocations: 1.597 MB / 3.367 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/6.505, allocations: 484.9 kB / 3.367 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/6.516, allocations: 7.954 MB / 3.375 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/6.519, allocations: 196.6 kB / 3.375 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/6.52, allocations: 79.8 kB / 3.375 GB, free: 229.2 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 = true ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "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 () * Number of clocked 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.003452/6.523, allocations: 1.267 MB / 3.377 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007766/6.524, allocations: 237.9 kB / 3.377 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/6.536, allocations: 4.752 MB / 3.382 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.498e-05/6.536, allocations: 24.09 kB / 3.382 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/6.536, allocations: 4.969 kB / 3.382 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-05/6.536, allocations: 10.31 kB / 3.382 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/6.555, allocations: 9.835 MB / 3.391 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/6.555, allocations: 6.406 kB / 3.391 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/6.556, allocations: 357.3 kB / 3.392 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008454/6.565, allocations: 2.224 MB / 3.394 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002941/6.565, allocations: 44.34 kB / 3.394 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01489/6.58, allocations: 13.61 MB / 3.407 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/6.58, allocations: 8 kB / 3.407 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/6.592, allocations: 4.763 MB / 3.412 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/6.594, allocations: 0.6874 MB / 3.412 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004492/6.594, allocations: 43.12 kB / 3.412 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/6.596, allocations: 214.7 kB / 3.413 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004501/6.596, allocations: 159.1 kB / 3.413 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/6.596, allocations: 58.31 kB / 3.413 GB, free: 211.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002192/6.599, allocations: 1.605 MB / 3.414 GB, free: 211.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.599, allocations: 0 / 3.414 GB, free: 211.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004458/6.603, allocations: 1.309 MB / 3.416 GB, free: 211.1 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) * Number of clocked states: 0 () * 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.001674/6.605, allocations: 0.7439 MB / 3.416 GB, free: 210.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01029/6.615, allocations: 5.9 MB / 3.422 GB, free: 208.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/6.615, allocations: 5.375 kB / 3.422 GB, free: 208.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004093/6.619, allocations: 2.426 MB / 3.425 GB, free: 207.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/6.624, allocations: 0.612 MB / 3.425 GB, free: 206.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/6.637, allocations: 7.899 MB / 3.433 GB, free: 202.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002571/6.639, allocations: 2.469 MB / 3.435 GB, free: 201.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003535/6.643, allocations: 1.01 MB / 3.436 GB, free: 201.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/6.643, allocations: 203 kB / 3.436 GB, free: 201.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.653e-06/6.643, allocations: 0 / 3.436 GB, free: 201.5 MB / 0.948 GB Notification: Performance of Templates: time 0.07342/6.717, allocations: 49.78 MB / 3.485 GB, free: 173.9 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)