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.684/1.684, allocations: 288.3 MB / 303.2 MB, free: 8.133 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.001096/0.001096, allocations: 185 kB / 371.8 MB, free: 10.28 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.719/1.719, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0008497/0.0008496, allocations: 95.42 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004553, allocations: 11.72 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2941, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.378/6.672, allocations: 2.13 GB / 3.11 GB, free: 135.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/6.673, allocations: 114.9 kB / 3.11 GB, free: 135.6 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.8344/7.507, allocations: 157.2 MB / 3.263 GB, free: 263.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.364e-06/7.507, allocations: 1.125 kB / 3.263 GB, free: 263.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003413/7.507, allocations: 85.28 kB / 3.263 GB, free: 263.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.01639/7.524, allocations: 3.429 MB / 3.267 GB, free: 261.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 9.701e-05/7.524, allocations: 15.8 kB / 3.267 GB, free: 261.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007051/7.531, allocations: 0.8303 MB / 3.268 GB, free: 261.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00727/7.538, allocations: 2.291 MB / 3.27 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/7.539, allocations: 230.6 kB / 3.27 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/7.54, allocations: 306.5 kB / 3.27 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009817/7.549, allocations: 4.421 MB / 3.275 GB, free: 260.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.994e-05/7.55, allocations: 7.469 kB / 3.275 GB, free: 260.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004439/7.55, allocations: 136.6 kB / 3.275 GB, free: 260.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004003/7.55, allocations: 178.7 kB / 3.275 GB, free: 260.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/7.561, allocations: 4.022 MB / 3.279 GB, free: 260.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03387/7.595, allocations: 19.86 MB / 3.298 GB, free: 250.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/7.598, allocations: 1.88 MB / 3.3 GB, free: 250.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/7.598, allocations: 132 kB / 3.3 GB, free: 250.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/7.6, allocations: 1.116 MB / 3.301 GB, free: 249.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 3.827e-06/7.6, allocations: 0 / 3.301 GB, free: 249.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.03154/7.632, allocations: 13.41 MB / 3.314 GB, free: 245.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/7.632, allocations: 0.5156 MB / 3.315 GB, free: 245.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/7.635, allocations: 2.049 MB / 3.317 GB, free: 245.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004612/7.636, allocations: 64.11 kB / 3.317 GB, free: 245.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001495/7.637, allocations: 1.511 MB / 3.318 GB, free: 244.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007428/7.638, allocations: 0.6326 MB / 3.319 GB, free: 244 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/7.638, allocations: 39.09 kB / 3.319 GB, free: 244 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001126/7.638, allocations: 387.3 kB / 3.319 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/7.64, allocations: 1.133 MB / 3.321 GB, free: 243.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/7.641, allocations: 1.655 MB / 3.322 GB, free: 242.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/7.643, allocations: 1.378 MB / 3.324 GB, free: 241.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/7.643, allocations: 3.469 kB / 3.324 GB, free: 241.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01079/7.654, allocations: 4.728 MB / 3.328 GB, free: 240 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008435/7.655, allocations: 4.66 MB / 3.333 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/7.655, allocations: 14.3 kB / 3.333 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008107/7.663, allocations: 2.054 MB / 3.335 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/7.665, allocations: 475.9 kB / 3.335 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/7.676, allocations: 9.846 MB / 3.345 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/7.678, allocations: 201.9 kB / 3.345 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/7.679, allocations: 88.11 kB / 3.345 GB, free: 227.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/7.679, allocations: 4.406 kB / 3.345 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008131/7.687, allocations: 3.874 MB / 3.349 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/7.687, allocations: 11.88 kB / 3.349 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005254/7.692, allocations: 1.386 MB / 3.35 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/7.695, allocations: 490.6 kB / 3.351 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008496/7.703, allocations: 7.834 MB / 3.358 GB, free: 220.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/7.706, allocations: 163.2 kB / 3.359 GB, free: 220.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/7.706, allocations: 86.23 kB / 3.359 GB, free: 220.4 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.002866/7.709, allocations: 1.271 MB / 3.36 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007975/7.71, allocations: 239.8 kB / 3.36 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/7.721, allocations: 4.514 MB / 3.364 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.311e-05/7.721, allocations: 21.75 kB / 3.365 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/7.721, allocations: 6.828 kB / 3.365 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.611e-05/7.721, allocations: 11.31 kB / 3.365 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/7.739, allocations: 9.583 MB / 3.374 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/7.739, allocations: 11.94 kB / 3.374 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/7.741, allocations: 357.4 kB / 3.374 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007796/7.749, allocations: 2.007 MB / 3.376 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004474/7.749, allocations: 46.12 kB / 3.376 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/7.763, allocations: 13.65 MB / 3.39 GB, free: 203.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/7.763, allocations: 13.28 kB / 3.39 GB, free: 203.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/7.773, allocations: 4.85 MB / 3.394 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/7.776, allocations: 0.6902 MB / 3.395 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005904/7.776, allocations: 43.25 kB / 3.395 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/7.778, allocations: 193 kB / 3.395 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003878/7.778, allocations: 152.6 kB / 3.395 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/7.778, allocations: 58.83 kB / 3.395 GB, free: 200.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002198/7.78, allocations: 1.609 MB / 3.397 GB, free: 200.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/7.781, allocations: 4 kB / 3.397 GB, free: 200.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004907/7.785, allocations: 1.283 MB / 3.398 GB, free: 200.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.001777/7.787, allocations: 0.7429 MB / 3.399 GB, free: 199.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009293/7.797, allocations: 5.418 MB / 3.404 GB, free: 197.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/7.797, allocations: 0 / 3.404 GB, free: 197.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003791/7.8, allocations: 2.333 MB / 3.407 GB, free: 196.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/7.804, allocations: 0.5758 MB / 3.407 GB, free: 196.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/7.817, allocations: 7.883 MB / 3.415 GB, free: 190.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002101/7.819, allocations: 2.53 MB / 3.417 GB, free: 188.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003408/7.822, allocations: 1.003 MB / 3.418 GB, free: 187.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006213/7.823, allocations: 206.9 kB / 3.418 GB, free: 187.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/7.823, allocations: 0 / 3.418 GB, free: 187.6 MB / 0.948 GB Notification: Performance of Templates: time 0.0726/7.895, allocations: 46.84 MB / 3.464 GB, free: 148.8 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)