Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 289.7 MB / 302.2 MB, free: 2.129 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.0009784/0.0009785, allocations: 178.1 kB / 371.6 MB, free: 3.359 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.42/1.42, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008584/0.0008585, allocations: 89.91 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.748e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2608, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.807/6.068, allocations: 2.131 GB / 3.111 GB, free: 65.28 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/6.068, allocations: 114.5 kB / 3.111 GB, free: 65.22 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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 1.017/7.085, allocations: 161.8 MB / 3.269 GB, free: 235.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/7.085, allocations: 0 / 3.269 GB, free: 235.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002412/7.085, allocations: 92.28 kB / 3.269 GB, free: 235.6 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.006166/7.092, allocations: 3.072 MB / 3.272 GB, free: 233.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/7.092, allocations: 9.75 kB / 3.272 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/7.096, allocations: 0.8376 MB / 3.273 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00449/7.1, allocations: 2.271 MB / 3.275 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/7.101, allocations: 242.4 kB / 3.275 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007975/7.102, allocations: 306.4 kB / 3.276 GB, free: 232.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/7.116, allocations: 4.347 MB / 3.28 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/7.116, allocations: 10.25 kB / 3.28 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004571/7.117, allocations: 134.6 kB / 3.28 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003198/7.117, allocations: 178.7 kB / 3.28 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008782/7.126, allocations: 3.924 MB / 3.284 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03522/7.161, allocations: 19.87 MB / 3.304 GB, free: 214.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/7.165, allocations: 1.828 MB / 3.305 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/7.166, allocations: 0.941 MB / 3.306 GB, free: 213.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000309/7.167, allocations: 130.1 kB / 3.306 GB, free: 213.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001883/7.168, allocations: 1.079 MB / 3.307 GB, free: 212.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 1.16e-05/7.169, allocations: 0 / 3.307 GB, free: 212.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.03143/7.2, allocations: 11.85 MB / 3.319 GB, free: 207.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/7.2, allocations: 0.505 MB / 3.32 GB, free: 206.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/7.203, allocations: 2.031 MB / 3.322 GB, free: 205.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003569/7.204, allocations: 65.3 kB / 3.322 GB, free: 205.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001428/7.205, allocations: 1.508 MB / 3.323 GB, free: 204.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005866/7.206, allocations: 0.6309 MB / 3.324 GB, free: 204.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/7.206, allocations: 42.78 kB / 3.324 GB, free: 204.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001174/7.206, allocations: 386.1 kB / 3.324 GB, free: 203.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/7.207, allocations: 1.094 MB / 3.325 GB, free: 203.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/7.209, allocations: 1.615 MB / 3.327 GB, free: 202.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/7.211, allocations: 1.362 MB / 3.328 GB, free: 201.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/7.211, allocations: 7.734 kB / 3.328 GB, free: 201.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.009717/7.221, allocations: 4.545 MB / 3.332 GB, free: 200.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007925/7.221, allocations: 4.656 MB / 3.337 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/7.222, allocations: 18.91 kB / 3.337 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006535/7.228, allocations: 1.846 MB / 3.339 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/7.23, allocations: 477.5 kB / 3.339 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009402/7.24, allocations: 9.528 MB / 3.349 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/7.243, allocations: 190.9 kB / 3.349 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004881/7.243, allocations: 90.56 kB / 3.349 GB, free: 187.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/7.243, allocations: 3.625 kB / 3.349 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008526/7.252, allocations: 3.693 MB / 3.353 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/7.252, allocations: 15.94 kB / 3.353 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004065/7.256, allocations: 1.182 MB / 3.354 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/7.258, allocations: 484 kB / 3.354 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008173/7.266, allocations: 7.513 MB / 3.361 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/7.269, allocations: 174.4 kB / 3.362 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004242/7.269, allocations: 82.78 kB / 3.362 GB, free: 180.8 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.0008567/7.27, allocations: 250.9 kB / 3.362 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008411/7.271, allocations: 238.1 kB / 3.362 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/7.281, allocations: 4.342 MB / 3.366 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/7.281, allocations: 23.72 kB / 3.366 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/7.281, allocations: 3.969 kB / 3.366 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-05/7.281, allocations: 10.47 kB / 3.366 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01977/7.301, allocations: 9.43 MB / 3.376 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/7.301, allocations: 3.969 kB / 3.376 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/7.303, allocations: 361 kB / 3.376 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006345/7.309, allocations: 1.814 MB / 3.378 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003308/7.309, allocations: 47.17 kB / 3.378 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/7.323, allocations: 13.15 MB / 3.391 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/7.323, allocations: 8 kB / 3.391 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/7.333, allocations: 4.668 MB / 3.395 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/7.335, allocations: 0.6969 MB / 3.396 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008324/7.336, allocations: 51.95 kB / 3.396 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/7.338, allocations: 195.7 kB / 3.396 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005184/7.339, allocations: 149.7 kB / 3.396 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/7.339, allocations: 67.97 kB / 3.396 GB, free: 153.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002984/7.342, allocations: 1.58 MB / 3.398 GB, free: 152.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.1e-07/7.342, allocations: 0 / 3.398 GB, free: 152.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005517/7.347, allocations: 1.284 MB / 3.399 GB, free: 150.8 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.001797/7.349, allocations: 0.6904 MB / 3.4 GB, free: 150.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009085/7.358, allocations: 5.377 MB / 3.405 GB, free: 144.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/7.358, allocations: 0 / 3.405 GB, free: 144.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003561/7.362, allocations: 2.281 MB / 3.407 GB, free: 142.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/7.365, allocations: 0.586 MB / 3.408 GB, free: 141.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/7.378, allocations: 5.365 MB / 3.413 GB, free: 136.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003281/7.381, allocations: 2.538 MB / 3.416 GB, free: 133.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005014/7.386, allocations: 1.38 MB / 3.417 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/7.387, allocations: 159.4 kB / 3.417 GB, free: 132.3 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/7.387, allocations: 0 / 3.417 GB, free: 132.3 MB / 0.948 GB Notification: Performance of Templates: time 0.07285/7.46, allocations: 49.8 MB / 3.466 GB, free: 82.66 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)