Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.594/2.594, allocations: 287.5 MB / 303.2 MB, free: 8.238 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.001274/0.001274, allocations: 174.2 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.4 MB / 0.6305 GB, free: 10.53 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.0008859/0.0008857, allocations: 95.7 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004891, allocations: 11.3 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2153, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.613/6.828, allocations: 2.132 GB / 3.111 GB, free: 180.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003907/6.829, allocations: 119.3 kB / 3.111 GB, free: 180.1 MB / 0.948 GB [/home/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. [/home/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.5255/7.354, allocations: 147.1 MB / 3.255 GB, free: 31.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.935e-06/7.354, allocations: 0 / 3.255 GB, free: 31.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004077/7.355, allocations: 79.94 kB / 3.255 GB, free: 31.64 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.01289/7.367, allocations: 3.279 MB / 3.258 GB, free: 28.29 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/7.368, allocations: 8.031 kB / 3.258 GB, free: 28.28 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007509/7.375, allocations: 0.8371 MB / 3.259 GB, free: 27.44 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006755/7.382, allocations: 2.203 MB / 3.261 GB, free: 25.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/7.382, allocations: 222.1 kB / 3.261 GB, free: 24.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/7.384, allocations: 307.9 kB / 3.262 GB, free: 24.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/7.398, allocations: 4.376 MB / 3.266 GB, free: 20.15 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/7.398, allocations: 3.938 kB / 3.266 GB, free: 20.14 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008489/7.399, allocations: 132 kB / 3.266 GB, free: 20.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002323/7.399, allocations: 169.9 kB / 3.266 GB, free: 19.85 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/7.411, allocations: 3.974 MB / 3.27 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7171/8.128, allocations: 18.53 MB / 3.288 GB, free: 251.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005995/8.134, allocations: 2.112 MB / 3.29 GB, free: 251.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003149/8.137, allocations: 1.064 MB / 3.291 GB, free: 251.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000349/8.137, allocations: 130 kB / 3.291 GB, free: 251.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003212/8.141, allocations: 1.109 MB / 3.293 GB, free: 251.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=153): time 5.951e-06/8.141, allocations: 1.094 kB / 3.293 GB, free: 251.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=188): time 0.05358/8.194, allocations: 9.892 MB / 3.302 GB, free: 250.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/8.194, allocations: 337.9 kB / 3.302 GB, free: 250 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005476/8.2, allocations: 1.986 MB / 3.304 GB, free: 249.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005578/8.2, allocations: 61.45 kB / 3.304 GB, free: 249.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/8.203, allocations: 1.454 MB / 3.306 GB, free: 249.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/8.204, allocations: 0.6319 MB / 3.307 GB, free: 248.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/8.204, allocations: 40.41 kB / 3.307 GB, free: 248.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001704/8.204, allocations: 388.5 kB / 3.307 GB, free: 248.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/8.207, allocations: 1.095 MB / 3.308 GB, free: 248.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003661/8.211, allocations: 1.692 MB / 3.31 GB, free: 248 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09188/8.303, allocations: 12.68 MB / 3.322 GB, free: 247.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.783e-05/8.303, allocations: 3.75 kB / 3.322 GB, free: 247.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.02056/8.323, allocations: 4.531 MB / 3.326 GB, free: 247.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003624/8.324, allocations: 0.5177 MB / 3.327 GB, free: 246.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.25e-05/8.324, allocations: 14.03 kB / 3.327 GB, free: 246.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01387/8.338, allocations: 1.814 MB / 3.329 GB, free: 246.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/8.342, allocations: 474.9 kB / 3.329 GB, free: 246.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02331/8.365, allocations: 8.88 MB / 3.338 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003845/8.369, allocations: 195.1 kB / 3.338 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005213/8.369, allocations: 93.38 kB / 3.338 GB, free: 244 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/8.369, allocations: 3.562 kB / 3.338 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01468/8.384, allocations: 3.756 MB / 3.342 GB, free: 243.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.305e-05/8.384, allocations: 15.44 kB / 3.342 GB, free: 243.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008799/8.393, allocations: 1.166 MB / 3.343 GB, free: 243.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003847/8.397, allocations: 0.4908 MB / 3.343 GB, free: 243.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/8.411, allocations: 5.128 MB / 3.348 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003624/8.414, allocations: 172.4 kB / 3.349 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005926/8.415, allocations: 96.36 kB / 3.349 GB, free: 242.6 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: 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,80.0%) 11} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.00347/8.418, allocations: 1.236 MB / 3.35 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008226/8.419, allocations: 217.3 kB / 3.35 GB, free: 242.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01857/8.438, allocations: 4.366 MB / 3.354 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/8.438, allocations: 21.53 kB / 3.354 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/8.438, allocations: 0 / 3.354 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001098/8.438, allocations: 13.84 kB / 3.354 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02962/8.468, allocations: 9.373 MB / 3.364 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.538e-05/8.468, allocations: 7.344 kB / 3.364 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/8.471, allocations: 354.3 kB / 3.364 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01214/8.483, allocations: 1.67 MB / 3.366 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004869/8.483, allocations: 54.44 kB / 3.366 GB, free: 238.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02045/8.504, allocations: 8.558 MB / 3.374 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/8.504, allocations: 10.91 kB / 3.374 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01679/8.521, allocations: 4.431 MB / 3.378 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/8.523, allocations: 0.6457 MB / 3.379 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009569/8.524, allocations: 43.56 kB / 3.379 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003468/8.527, allocations: 200.4 kB / 3.379 GB, free: 230.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006472/8.528, allocations: 161.9 kB / 3.379 GB, free: 230.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/8.528, allocations: 67.64 kB / 3.379 GB, free: 230.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003039/8.531, allocations: 1.388 MB / 3.381 GB, free: 230.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-07/8.532, allocations: 0 / 3.381 GB, free: 230.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006795/8.538, allocations: 1.27 MB / 3.382 GB, free: 230.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (173): * Single equations (assignments): 169 * 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.002334/8.541, allocations: 0.7409 MB / 3.383 GB, free: 230 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01598/8.557, allocations: 5.264 MB / 3.388 GB, free: 228.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.61e-05/8.557, allocations: 3.625 kB / 3.388 GB, free: 228.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006571/8.563, allocations: 2.019 MB / 3.39 GB, free: 227.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007809/8.571, allocations: 0.5809 MB / 3.39 GB, free: 227.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/8.588, allocations: 7.798 MB / 3.398 GB, free: 223 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003537/8.592, allocations: 2.41 MB / 3.4 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005965/8.598, allocations: 1.017 MB / 3.401 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/8.599, allocations: 187.2 kB / 3.402 GB, free: 221.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.332e-06/8.599, allocations: 0 / 3.402 GB, free: 221.8 MB / 0.948 GB Notification: Performance of Templates: time 0.107/8.706, allocations: 45.44 MB / 3.446 GB, free: 204.6 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)