Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001029, allocations: 174.5 kB / 327.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 0.5785 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007474/0.0007474, allocations: 89.31 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003772, allocations: 16.59 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2036, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.92/5.123, allocations: 2.25 GB / 3.151 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/5.124, allocations: 114.8 kB / 3.151 GB, free: 321.7 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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.288/5.412, allocations: 147.1 MB / 3.295 GB, free: 184 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.764e-06/5.412, allocations: 0 / 3.295 GB, free: 184 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002553/5.412, allocations: 79.94 kB / 3.295 GB, free: 184 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.006586/5.418, allocations: 3.279 MB / 3.298 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/5.419, allocations: 12.03 kB / 3.298 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003598/5.422, allocations: 0.841 MB / 3.299 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/5.425, allocations: 2.191 MB / 3.301 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/5.425, allocations: 230.1 kB / 3.302 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/5.426, allocations: 299.9 kB / 3.302 GB, free: 177 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005365/5.431, allocations: 4.377 MB / 3.306 GB, free: 172.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-05/5.431, allocations: 11.89 kB / 3.306 GB, free: 172.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002806/5.431, allocations: 128 kB / 3.306 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/5.431, allocations: 169.9 kB / 3.306 GB, free: 172.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004918/5.436, allocations: 3.977 MB / 3.31 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/5.452, allocations: 18.58 MB / 3.328 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/5.455, allocations: 1.782 MB / 3.33 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/5.456, allocations: 0.9543 MB / 3.331 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/5.456, allocations: 138.3 kB / 3.331 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/5.457, allocations: 1.099 MB / 3.332 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=147): time 3.727e-06/5.457, allocations: 112 / 3.332 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=182): time 0.02529/5.482, allocations: 13.93 MB / 3.346 GB, free: 130 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/5.482, allocations: 0.5808 MB / 3.346 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/5.485, allocations: 2.071 MB / 3.349 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/5.485, allocations: 57.7 kB / 3.349 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009236/5.486, allocations: 1.471 MB / 3.35 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/5.486, allocations: 0.6162 MB / 3.351 GB, free: 125 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/5.486, allocations: 40 kB / 3.351 GB, free: 125 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.085e-05/5.486, allocations: 386 kB / 3.351 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/5.488, allocations: 1.105 MB / 3.352 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/5.489, allocations: 1.694 MB / 3.354 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03996/5.529, allocations: 12.66 MB / 3.366 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/5.529, allocations: 8 kB / 3.366 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009556/5.539, allocations: 4.548 MB / 3.371 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002782/5.539, allocations: 0.5257 MB / 3.371 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/5.539, allocations: 12 kB / 3.371 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006334/5.546, allocations: 1.818 MB / 3.373 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/5.547, allocations: 479.2 kB / 3.373 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/5.558, allocations: 8.75 MB / 3.382 GB, free: 92.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/5.56, allocations: 223.6 kB / 3.382 GB, free: 91.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/5.561, allocations: 91.97 kB / 3.382 GB, free: 91.73 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/5.561, allocations: 6.344 kB / 3.382 GB, free: 91.73 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007245/5.568, allocations: 3.767 MB / 3.386 GB, free: 87.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/5.568, allocations: 19.94 kB / 3.386 GB, free: 87.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004117/5.572, allocations: 1.182 MB / 3.387 GB, free: 86.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/5.574, allocations: 499.2 kB / 3.387 GB, free: 86.26 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006409/5.58, allocations: 5.059 MB / 3.392 GB, free: 81.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/5.582, allocations: 191.8 kB / 3.393 GB, free: 80.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/5.582, allocations: 91.97 kB / 3.393 GB, free: 80.79 MB / 0.8855 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: 65 * 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 (234): * Single equations (assignments): 232 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,76.0%) 11} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002053/5.584, allocations: 1.226 MB / 3.394 GB, free: 79.56 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/5.585, allocations: 225.3 kB / 3.394 GB, free: 79.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008844/5.594, allocations: 4.029 MB / 3.398 GB, free: 75.29 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/5.594, allocations: 27.94 kB / 3.398 GB, free: 75.26 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/5.594, allocations: 7.984 kB / 3.398 GB, free: 75.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/5.594, allocations: 11.97 kB / 3.398 GB, free: 75.24 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/5.609, allocations: 9.561 MB / 3.407 GB, free: 65.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/5.609, allocations: 4 kB / 3.407 GB, free: 65.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/5.61, allocations: 339.6 kB / 3.408 GB, free: 65.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005554/5.616, allocations: 1.662 MB / 3.409 GB, free: 63.51 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/5.616, allocations: 55.97 kB / 3.409 GB, free: 63.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/5.627, allocations: 8.536 MB / 3.418 GB, free: 54.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/5.627, allocations: 15.92 kB / 3.418 GB, free: 54.64 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008286/5.635, allocations: 4.239 MB / 3.422 GB, free: 50.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/5.636, allocations: 0.6502 MB / 3.423 GB, free: 49.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005299/5.637, allocations: 43.94 kB / 3.423 GB, free: 49.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/5.638, allocations: 199.7 kB / 3.423 GB, free: 49.38 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/5.639, allocations: 149.6 kB / 3.423 GB, free: 49.24 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/5.639, allocations: 67.98 kB / 3.423 GB, free: 49.17 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002391/5.641, allocations: 1.446 MB / 3.424 GB, free: 47.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/5.641, allocations: 0 / 3.424 GB, free: 47.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005249/5.647, allocations: 1.285 MB / 3.426 GB, free: 46.42 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (166): * Single equations (assignments): 162 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002009/5.649, allocations: 0.7271 MB / 3.426 GB, free: 45.84 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008287/5.657, allocations: 5.048 MB / 3.431 GB, free: 40.76 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/5.657, allocations: 0 / 3.431 GB, free: 40.76 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003577/5.661, allocations: 1.938 MB / 3.433 GB, free: 38.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00525/5.666, allocations: 0.5727 MB / 3.434 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/5.677, allocations: 7.658 MB / 3.441 GB, free: 30.48 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00328/5.68, allocations: 2.405 MB / 3.444 GB, free: 28.04 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0036/5.684, allocations: 1.009 MB / 3.445 GB, free: 27.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007052/5.685, allocations: 187.4 kB / 3.445 GB, free: 26.84 MB / 0.8855 GB Notification: Performance of SimCode: time 7.21e-07/5.685, allocations: 0 / 3.445 GB, free: 26.84 MB / 0.8855 GB Notification: Performance of Templates: time 0.4697/6.154, allocations: 45.47 MB / 3.489 GB, free: 232.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)