Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.331/2.331, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001977/0.001977, allocations: 174.1 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.617/2.617, allocations: 205.4 MB / 0.5772 GB, free: 21.12 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.0008671/0.0008669, allocations: 87.61 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006436/0.0006437, allocations: 15.97 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2244, allocations: 106.3 MB / 0.8995 GB, free: 66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.445/7.67, allocations: 2.248 GB / 3.148 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/7.67, allocations: 115.5 kB / 3.148 GB, free: 230.2 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.5664/8.237, allocations: 156.6 MB / 3.301 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.796e-06/8.237, allocations: 0 / 3.301 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004211/8.237, allocations: 83.94 kB / 3.301 GB, free: 129.6 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.0126/8.25, allocations: 3.431 MB / 3.304 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/8.25, allocations: 8.031 kB / 3.304 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007462/8.257, allocations: 0.833 MB / 3.305 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007405/8.265, allocations: 2.281 MB / 3.307 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/8.265, allocations: 230.2 kB / 3.307 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/8.267, allocations: 319.8 kB / 3.308 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01457/8.281, allocations: 4.439 MB / 3.312 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/8.281, allocations: 11.94 kB / 3.312 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007678/8.282, allocations: 132 kB / 3.312 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002758/8.282, allocations: 174 kB / 3.312 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/8.295, allocations: 4.024 MB / 3.316 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03672/8.332, allocations: 19.82 MB / 3.336 GB, free: 92.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004871/8.337, allocations: 2.011 MB / 3.338 GB, free: 90.05 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002354/8.339, allocations: 1.063 MB / 3.339 GB, free: 88.99 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003428/8.339, allocations: 138.3 kB / 3.339 GB, free: 88.84 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002427/8.342, allocations: 1.079 MB / 3.34 GB, free: 87.74 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=156): time 5.099e-06/8.342, allocations: 0 / 3.34 GB, free: 87.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=193): time 0.06259/8.405, allocations: 10.77 MB / 3.35 GB, free: 76.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/8.405, allocations: 312.7 kB / 3.351 GB, free: 76.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005467/8.41, allocations: 2.19 MB / 3.353 GB, free: 74.29 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005955/8.411, allocations: 65.7 kB / 3.353 GB, free: 74.22 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001637/8.413, allocations: 1.496 MB / 3.354 GB, free: 72.71 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008717/8.413, allocations: 0.6392 MB / 3.355 GB, free: 72.06 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/8.414, allocations: 40 kB / 3.355 GB, free: 72.02 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001426/8.414, allocations: 385.9 kB / 3.355 GB, free: 71.64 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002861/8.417, allocations: 1.128 MB / 3.356 GB, free: 70.51 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003244/8.42, allocations: 1.66 MB / 3.358 GB, free: 68.65 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003349/8.423, allocations: 1.382 MB / 3.359 GB, free: 67.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/8.423, allocations: 8 kB / 3.359 GB, free: 67.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.02332/8.447, allocations: 5.058 MB / 3.364 GB, free: 62.17 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002324/8.447, allocations: 430 kB / 3.365 GB, free: 61.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/8.447, allocations: 16 kB / 3.365 GB, free: 61.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01857/8.466, allocations: 2.423 MB / 3.367 GB, free: 59.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003763/8.469, allocations: 479.3 kB / 3.368 GB, free: 58.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02826/8.498, allocations: 14 MB / 3.381 GB, free: 43.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00389/8.502, allocations: 195.8 kB / 3.381 GB, free: 43.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000335/8.502, allocations: 87.97 kB / 3.382 GB, free: 43.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/8.502, allocations: 4 kB / 3.382 GB, free: 43.59 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01764/8.52, allocations: 4.104 MB / 3.386 GB, free: 39.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/8.52, allocations: 12 kB / 3.386 GB, free: 39.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/8.532, allocations: 1.599 MB / 3.387 GB, free: 37.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003793/8.536, allocations: 491.2 kB / 3.388 GB, free: 37.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/8.553, allocations: 7.952 MB / 3.395 GB, free: 29.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/8.557, allocations: 180.1 kB / 3.396 GB, free: 28.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/8.557, allocations: 83.97 kB / 3.396 GB, free: 28.76 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: 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.003587/8.561, allocations: 1.269 MB / 3.397 GB, free: 27.48 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008728/8.562, allocations: 233.1 kB / 3.397 GB, free: 27.25 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02302/8.585, allocations: 5.069 MB / 3.402 GB, free: 22.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.472e-05/8.585, allocations: 20 kB / 3.402 GB, free: 22.12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/8.585, allocations: 7.938 kB / 3.402 GB, free: 22.11 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.781e-05/8.585, allocations: 11.95 kB / 3.402 GB, free: 22.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03458/8.62, allocations: 9.673 MB / 3.412 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.698e-05/8.62, allocations: 12.03 kB / 3.412 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/8.623, allocations: 383.3 kB / 3.412 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01667/8.64, allocations: 2.221 MB / 3.414 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005331/8.64, allocations: 51.98 kB / 3.414 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6788/9.319, allocations: 13.59 MB / 3.427 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/9.319, allocations: 10.16 kB / 3.427 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02322/9.342, allocations: 4.94 MB / 3.432 GB, free: 230 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/9.345, allocations: 0.6927 MB / 3.433 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008612/9.346, allocations: 49.06 kB / 3.433 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003974/9.35, allocations: 219.5 kB / 3.433 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/9.351, allocations: 161.9 kB / 3.433 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003106/9.351, allocations: 68.59 kB / 3.433 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005193/9.356, allocations: 1.547 MB / 3.435 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.62e-07/9.357, allocations: 0.9062 kB / 3.435 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008719/9.365, allocations: 1.297 MB / 3.436 GB, free: 229.8 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 (190): * Single equations (assignments): 182 * 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.002815/9.368, allocations: 0.7481 MB / 3.437 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02213/9.39, allocations: 6.047 MB / 3.443 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/9.39, allocations: 2.031 kB / 3.443 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008773/9.399, allocations: 2.508 MB / 3.445 GB, free: 228 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006099/9.405, allocations: 0.6224 MB / 3.446 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02201/9.427, allocations: 8.035 MB / 3.454 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0045/9.432, allocations: 2.479 MB / 3.456 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005352/9.437, allocations: 1.006 MB / 3.457 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/9.439, allocations: 204.5 kB / 3.457 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.282e-06/9.439, allocations: 3.5 kB / 3.457 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.1184/9.557, allocations: 49.89 MB / 3.506 GB, free: 221.7 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)