Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.434/2.434, allocations: 284.8 MB / 297.3 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 180.8 kB / 365.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.1 MB / 0.6241 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 94.44 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.276e-05, allocations: 4 kB / 0.8575 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8229/0.8229, allocations: 115.2 MB / 0.97 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.874/7.697, allocations: 2.13 GB / 3.1 GB, free: 282.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003851/7.697, allocations: 110.3 kB / 3.1 GB, free: 282.9 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.5795/8.277, allocations: 156.5 MB / 3.253 GB, free: 183.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/8.277, allocations: 4 kB / 3.253 GB, free: 183.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004457/8.277, allocations: 80 kB / 3.253 GB, free: 183.3 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.01297/8.29, allocations: 3.063 MB / 3.256 GB, free: 180.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/8.29, allocations: 12.03 kB / 3.256 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007437/8.298, allocations: 0.8265 MB / 3.257 GB, free: 179.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007726/8.305, allocations: 2.277 MB / 3.259 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/8.306, allocations: 230.2 kB / 3.259 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/8.307, allocations: 300 kB / 3.26 GB, free: 176.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/8.322, allocations: 4.353 MB / 3.264 GB, free: 172 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/8.322, allocations: 4 kB / 3.264 GB, free: 172 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001192/8.324, allocations: 135.9 kB / 3.264 GB, free: 171.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002669/8.324, allocations: 174 kB / 3.264 GB, free: 171.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/8.336, allocations: 3.935 MB / 3.268 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03889/8.375, allocations: 19.86 MB / 3.287 GB, free: 146.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004762/8.38, allocations: 1.832 MB / 3.289 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/8.382, allocations: 0.9344 MB / 3.29 GB, free: 143.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/8.382, allocations: 142.4 kB / 3.29 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002501/8.385, allocations: 1.089 MB / 3.291 GB, free: 142.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 5.751e-06/8.385, allocations: 0 / 3.291 GB, free: 142.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.04984/8.435, allocations: 11.84 MB / 3.303 GB, free: 130.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/8.435, allocations: 0.5022 MB / 3.303 GB, free: 129.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0051/8.44, allocations: 2.038 MB / 3.305 GB, free: 127.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000569/8.441, allocations: 57.7 kB / 3.305 GB, free: 127.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001909/8.443, allocations: 1.515 MB / 3.307 GB, free: 126 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/8.444, allocations: 0.6277 MB / 3.308 GB, free: 125.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/8.444, allocations: 40 kB / 3.308 GB, free: 125.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001838/8.444, allocations: 389.8 kB / 3.308 GB, free: 125 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002967/8.447, allocations: 1.089 MB / 3.309 GB, free: 123.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003641/8.451, allocations: 1.621 MB / 3.311 GB, free: 122.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003704/8.455, allocations: 1.359 MB / 3.312 GB, free: 120.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/8.455, allocations: 0 / 3.312 GB, free: 120.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.0197/8.474, allocations: 4.555 MB / 3.316 GB, free: 116.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00113/8.476, allocations: 4.667 MB / 3.321 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-05/8.476, allocations: 12 kB / 3.321 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01218/8.488, allocations: 1.846 MB / 3.323 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/8.492, allocations: 475.2 kB / 3.323 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/8.508, allocations: 9.516 MB / 3.332 GB, free: 98.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/8.512, allocations: 199.6 kB / 3.333 GB, free: 98.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004729/8.512, allocations: 87.97 kB / 3.333 GB, free: 98.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/8.512, allocations: 8.062 kB / 3.333 GB, free: 98.48 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01359/8.526, allocations: 3.695 MB / 3.336 GB, free: 94.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/8.526, allocations: 12 kB / 3.336 GB, free: 94.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007493/8.534, allocations: 1.177 MB / 3.338 GB, free: 93.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/8.538, allocations: 483.2 kB / 3.338 GB, free: 93.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/8.551, allocations: 7.516 MB / 3.345 GB, free: 85.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/8.555, allocations: 171.8 kB / 3.345 GB, free: 85.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005977/8.556, allocations: 87.97 kB / 3.346 GB, free: 84.93 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.0008589/8.557, allocations: 237.8 kB / 3.346 GB, free: 84.69 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009103/8.558, allocations: 241.2 kB / 3.346 GB, free: 84.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01789/8.575, allocations: 4.339 MB / 3.35 GB, free: 80.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/8.576, allocations: 20 kB / 3.35 GB, free: 80.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/8.576, allocations: 7.938 kB / 3.35 GB, free: 80.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.338e-05/8.576, allocations: 11.97 kB / 3.35 GB, free: 80.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03589/8.612, allocations: 9.421 MB / 3.359 GB, free: 70.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-05/8.612, allocations: 8.125 kB / 3.36 GB, free: 70.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004667/8.616, allocations: 363.4 kB / 3.36 GB, free: 70.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01821/8.635, allocations: 1.811 MB / 3.362 GB, free: 68.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006412/8.635, allocations: 47.98 kB / 3.362 GB, free: 68.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03461/8.67, allocations: 13.15 MB / 3.375 GB, free: 54.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/8.67, allocations: 7.938 kB / 3.375 GB, free: 54.26 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02524/8.695, allocations: 4.68 MB / 3.379 GB, free: 49.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002548/8.698, allocations: 0.693 MB / 3.38 GB, free: 48.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/8.699, allocations: 43.98 kB / 3.38 GB, free: 48.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00357/8.703, allocations: 191.8 kB / 3.38 GB, free: 48.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007671/8.703, allocations: 149.6 kB / 3.38 GB, free: 48.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002679/8.704, allocations: 67.98 kB / 3.38 GB, free: 48.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003817/8.707, allocations: 1.577 MB / 3.382 GB, free: 46.56 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.92e-07/8.707, allocations: 4 kB / 3.382 GB, free: 46.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007161/8.715, allocations: 1.289 MB / 3.383 GB, free: 45.27 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.00243/8.717, allocations: 0.6797 MB / 3.384 GB, free: 44.74 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01585/8.733, allocations: 5.373 MB / 3.389 GB, free: 39.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/8.733, allocations: 1.438 kB / 3.389 GB, free: 39.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006454/8.74, allocations: 2.292 MB / 3.391 GB, free: 36.93 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004796/8.744, allocations: 0.5808 MB / 3.392 GB, free: 36.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/8.76, allocations: 5.354 MB / 3.397 GB, free: 30.91 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003848/8.763, allocations: 2.538 MB / 3.399 GB, free: 28.33 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007274/8.771, allocations: 1.38 MB / 3.401 GB, free: 26.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009528/8.772, allocations: 159.4 kB / 3.401 GB, free: 26.79 MB / 0.948 GB Notification: Performance of SimCode: time 1.333e-06/8.772, allocations: 0 / 3.401 GB, free: 26.79 MB / 0.948 GB Notification: Performance of Templates: time 0.7893/9.561, allocations: 49.64 MB / 3.449 GB, free: 239.9 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)