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.584/1.584, allocations: 285.4 MB / 298 MB, free: 5.984 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.001358/0.001358, allocations: 176.8 kB / 366.4 MB, free: 2.086 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.447/1.447, allocations: 205.1 MB / 0.6248 GB, free: 7.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.0008135/0.0008135, allocations: 89.03 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.55e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6069/0.607, allocations: 115.3 MB / 0.9709 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.4/6.007, allocations: 2.13 GB / 3.101 GB, free: 281.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/6.007, allocations: 109.4 kB / 3.101 GB, free: 281.1 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.3624/6.37, allocations: 156.5 MB / 3.254 GB, free: 179.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.557e-06/6.37, allocations: 0 / 3.254 GB, free: 179.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004202/6.37, allocations: 87.92 kB / 3.254 GB, free: 179.5 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.01082/6.381, allocations: 3.067 MB / 3.257 GB, free: 176.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/6.381, allocations: 8.031 kB / 3.257 GB, free: 176.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005845/6.387, allocations: 0.8226 MB / 3.258 GB, free: 175.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006744/6.394, allocations: 2.285 MB / 3.26 GB, free: 173.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/6.394, allocations: 230.2 kB / 3.26 GB, free: 173 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/6.396, allocations: 304 kB / 3.261 GB, free: 172.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/6.408, allocations: 4.357 MB / 3.265 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001716/6.409, allocations: 3.938 kB / 3.265 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001324/6.41, allocations: 132 kB / 3.265 GB, free: 168.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002469/6.41, allocations: 177.9 kB / 3.265 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/6.421, allocations: 3.924 MB / 3.269 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03034/6.451, allocations: 19.86 MB / 3.288 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/6.454, allocations: 1.828 MB / 3.29 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/6.455, allocations: 0.9443 MB / 3.291 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/6.456, allocations: 134.3 kB / 3.291 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001523/6.457, allocations: 1.085 MB / 3.292 GB, free: 138.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 6.573e-06/6.457, allocations: 4 kB / 3.292 GB, free: 138.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.03285/6.49, allocations: 11.84 MB / 3.304 GB, free: 126.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/6.49, allocations: 0.51 MB / 3.304 GB, free: 125.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/6.493, allocations: 2.03 MB / 3.306 GB, free: 123.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004089/6.494, allocations: 61.7 kB / 3.306 GB, free: 123.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001321/6.495, allocations: 1.512 MB / 3.308 GB, free: 122.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005266/6.496, allocations: 0.6316 MB / 3.309 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/6.496, allocations: 44 kB / 3.309 GB, free: 121.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001337/6.496, allocations: 385.8 kB / 3.309 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/6.497, allocations: 1.093 MB / 3.31 GB, free: 120.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/6.499, allocations: 1.621 MB / 3.312 GB, free: 118.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/6.501, allocations: 1.356 MB / 3.313 GB, free: 116.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/6.501, allocations: 4 kB / 3.313 GB, free: 116.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.009477/6.51, allocations: 4.547 MB / 3.317 GB, free: 112.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008172/6.511, allocations: 4.659 MB / 3.322 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/6.511, allocations: 19.89 kB / 3.322 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006399/6.518, allocations: 1.846 MB / 3.324 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/6.52, allocations: 475.3 kB / 3.324 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009323/6.529, allocations: 9.52 MB / 3.334 GB, free: 94.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/6.532, allocations: 199.7 kB / 3.334 GB, free: 94.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/6.532, allocations: 83.97 kB / 3.334 GB, free: 94.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/6.532, allocations: 4 kB / 3.334 GB, free: 94.68 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007296/6.54, allocations: 3.699 MB / 3.337 GB, free: 90.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/6.54, allocations: 12 kB / 3.337 GB, free: 90.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/6.543, allocations: 1.181 MB / 3.339 GB, free: 89.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/6.546, allocations: 487.2 kB / 3.339 GB, free: 89.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00813/6.554, allocations: 7.523 MB / 3.346 GB, free: 81.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/6.557, allocations: 163.8 kB / 3.347 GB, free: 81.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005153/6.557, allocations: 87.98 kB / 3.347 GB, free: 81.12 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.001093/6.558, allocations: 240.5 kB / 3.347 GB, free: 80.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009628/6.559, allocations: 229.2 kB / 3.347 GB, free: 80.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/6.57, allocations: 4.347 MB / 3.351 GB, free: 76.28 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/6.57, allocations: 23.95 kB / 3.351 GB, free: 76.26 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/6.57, allocations: 4 kB / 3.351 GB, free: 76.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.388e-05/6.57, allocations: 15.95 kB / 3.351 GB, free: 76.24 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/6.589, allocations: 9.42 MB / 3.361 GB, free: 66.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/6.589, allocations: 4 kB / 3.361 GB, free: 66.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/6.59, allocations: 360 kB / 3.361 GB, free: 66.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006191/6.597, allocations: 1.811 MB / 3.363 GB, free: 64.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003181/6.597, allocations: 55.97 kB / 3.363 GB, free: 64.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/6.61, allocations: 13.14 MB / 3.376 GB, free: 50.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/6.61, allocations: 4 kB / 3.376 GB, free: 50.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/6.621, allocations: 4.684 MB / 3.38 GB, free: 45.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002007/6.623, allocations: 0.6891 MB / 3.381 GB, free: 44.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009067/6.624, allocations: 48 kB / 3.381 GB, free: 44.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/6.626, allocations: 191.7 kB / 3.381 GB, free: 44.58 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004745/6.626, allocations: 149.7 kB / 3.381 GB, free: 44.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/6.626, allocations: 63.97 kB / 3.381 GB, free: 44.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003166/6.63, allocations: 1.58 MB / 3.383 GB, free: 42.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.82e-07/6.63, allocations: 0 / 3.383 GB, free: 42.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005559/6.635, allocations: 1.281 MB / 3.384 GB, free: 41.48 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.001692/6.637, allocations: 0.6889 MB / 3.385 GB, free: 40.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009003/6.646, allocations: 5.373 MB / 3.39 GB, free: 35.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/6.646, allocations: 7.938 kB / 3.39 GB, free: 35.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003512/6.65, allocations: 2.278 MB / 3.392 GB, free: 33.08 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/6.653, allocations: 0.5778 MB / 3.393 GB, free: 32.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/6.665, allocations: 5.362 MB / 3.398 GB, free: 27.05 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003389/6.668, allocations: 2.534 MB / 3.4 GB, free: 24.48 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005485/6.674, allocations: 1.38 MB / 3.402 GB, free: 23.09 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006799/6.675, allocations: 155.4 kB / 3.402 GB, free: 22.94 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/6.675, allocations: 0 / 3.402 GB, free: 22.94 MB / 0.948 GB Notification: Performance of Templates: time 0.6219/7.296, allocations: 49.66 MB / 3.45 GB, free: 241.3 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)