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.597/1.597, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001045/0.001045, allocations: 184.8 kB / 366.7 MB, free: 1.648 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.455/1.455, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0009038/0.000904, allocations: 92.77 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.041e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.6208, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.339/5.96, allocations: 2.131 GB / 3.104 GB, free: 343.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/5.96, allocations: 108.2 kB / 3.104 GB, free: 343.7 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 0.3463/6.306, allocations: 155 MB / 3.255 GB, free: 212.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.134e-06/6.306, allocations: 0 / 3.255 GB, free: 212.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002723/6.307, allocations: 83.92 kB / 3.255 GB, free: 212.2 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.009022/6.316, allocations: 3.083 MB / 3.258 GB, free: 209 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/6.316, allocations: 8.031 kB / 3.258 GB, free: 209 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005518/6.321, allocations: 0.8188 MB / 3.259 GB, free: 208.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005828/6.327, allocations: 2.281 MB / 3.261 GB, free: 205.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/6.327, allocations: 100 kB / 3.262 GB, free: 205.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/6.328, allocations: 180 kB / 3.262 GB, free: 205.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007176/6.336, allocations: 3.514 MB / 3.265 GB, free: 202.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009406/6.345, allocations: 3.909 MB / 3.269 GB, free: 198 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/6.345, allocations: 11.94 kB / 3.269 GB, free: 198 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006254/6.346, allocations: 7.984 kB / 3.269 GB, free: 198 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001801/6.346, allocations: 173.9 kB / 3.269 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02745/6.373, allocations: 19.12 MB / 3.288 GB, free: 177.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/6.376, allocations: 1.745 MB / 3.29 GB, free: 175.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/6.378, allocations: 1.116 MB / 3.291 GB, free: 174.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/6.378, allocations: 134.4 kB / 3.291 GB, free: 174.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/6.38, allocations: 1.044 MB / 3.292 GB, free: 173.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 6.552e-06/6.38, allocations: 4 kB / 3.292 GB, free: 173.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.01999/6.4, allocations: 9.868 MB / 3.301 GB, free: 163.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/6.4, allocations: 0.51 MB / 3.302 GB, free: 162.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/6.403, allocations: 1.866 MB / 3.304 GB, free: 160.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000426/6.404, allocations: 29.64 kB / 3.304 GB, free: 160.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001321/6.405, allocations: 1.526 MB / 3.305 GB, free: 159 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005709/6.406, allocations: 0.5966 MB / 3.306 GB, free: 158.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/6.406, allocations: 4 kB / 3.306 GB, free: 158.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000121/6.406, allocations: 389.8 kB / 3.306 GB, free: 158 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/6.407, allocations: 1.058 MB / 3.307 GB, free: 156.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/6.409, allocations: 1.574 MB / 3.309 GB, free: 155.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/6.411, allocations: 1.379 MB / 3.31 GB, free: 153.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/6.411, allocations: 4 kB / 3.31 GB, free: 153.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.008825/6.419, allocations: 4.188 MB / 3.314 GB, free: 149.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009937/6.42, allocations: 4.64 MB / 3.319 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/6.421, allocations: 12 kB / 3.319 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005185/6.426, allocations: 1.355 MB / 3.32 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/6.428, allocations: 479.2 kB / 3.321 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008909/6.437, allocations: 9.068 MB / 3.329 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/6.44, allocations: 163.7 kB / 3.33 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004255/6.44, allocations: 87.97 kB / 3.33 GB, free: 132.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/6.44, allocations: 0 / 3.33 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003746/6.444, allocations: 2.182 MB / 3.332 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/6.444, allocations: 12 kB / 3.332 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/6.444, allocations: 20.91 kB / 3.332 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/6.446, allocations: 0.507 MB / 3.332 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.021e-05/6.446, allocations: 35.86 kB / 3.332 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/6.448, allocations: 103.8 kB / 3.332 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/6.448, allocations: 83.97 kB / 3.333 GB, free: 130 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.0007038/6.449, allocations: 165.3 kB / 3.333 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007861/6.45, allocations: 233.2 kB / 3.333 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009808/6.46, allocations: 4.229 MB / 3.337 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/6.46, allocations: 20 kB / 3.337 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/6.46, allocations: 4 kB / 3.337 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/6.46, allocations: 19.95 kB / 3.337 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/6.475, allocations: 8.731 MB / 3.346 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/6.476, allocations: 8 kB / 3.346 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/6.477, allocations: 355.5 kB / 3.346 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005702/6.483, allocations: 1.796 MB / 3.348 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/6.483, allocations: 23.98 kB / 3.348 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/6.495, allocations: 12.51 MB / 3.36 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/6.495, allocations: 15.89 kB / 3.36 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009295/6.505, allocations: 4.583 MB / 3.364 GB, free: 96.17 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/6.506, allocations: 0.6854 MB / 3.365 GB, free: 95.46 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/6.507, allocations: 8 kB / 3.365 GB, free: 95.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/6.509, allocations: 227.5 kB / 3.365 GB, free: 95.23 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003563/6.509, allocations: 153.7 kB / 3.365 GB, free: 95.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/6.509, allocations: 63.98 kB / 3.366 GB, free: 95.02 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001887/6.511, allocations: 1.424 MB / 3.367 GB, free: 93.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/6.511, allocations: 4 kB / 3.367 GB, free: 93.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003651/6.515, allocations: 1.152 MB / 3.368 GB, free: 92.41 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.001428/6.516, allocations: 0.632 MB / 3.369 GB, free: 91.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006453/6.523, allocations: 4.409 MB / 3.373 GB, free: 87.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/6.523, allocations: 0 / 3.373 GB, free: 87.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003238/6.526, allocations: 2.23 MB / 3.375 GB, free: 85.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/6.529, allocations: 0.5392 MB / 3.376 GB, free: 84.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008966/6.538, allocations: 5.235 MB / 3.381 GB, free: 79.25 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001937/6.54, allocations: 2.529 MB / 3.383 GB, free: 76.69 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004045/6.544, allocations: 1.379 MB / 3.385 GB, free: 75.31 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/6.544, allocations: 159.4 kB / 3.385 GB, free: 75.15 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/6.544, allocations: 0 / 3.385 GB, free: 75.15 MB / 0.948 GB Notification: Performance of Templates: time 0.06355/6.608, allocations: 43.28 MB / 3.427 GB, free: 32.04 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)