Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.751/0.751, allocations: 132.4 MB / 139.9 MB, free: 15.37 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001009/0.001009, allocations: 169.5 kB / 171.8 MB, free: 2.035 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.534/1.534, allocations: 170.6 MB / 374.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001741/0.001741, allocations: 115.9 kB / 444.8 MB, free: 9.289 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5158/0.5159, allocations: 73.41 MB / 0.6666 GB, free: 46.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.259/6.775, allocations: 2.188 GB / 2.855 GB, free: 202.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/6.775, allocations: 111 kB / 2.855 GB, free: 202.9 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.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 3.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.3755/7.151, allocations: 173.1 MB / 3.024 GB, free: 81.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.053e-06/7.151, allocations: 4 kB / 3.024 GB, free: 81.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002608/7.151, allocations: 83.94 kB / 3.024 GB, free: 81.81 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 810 * Number of variables: 810 Notification: Performance of Generate backend data structure: time 0.01057/7.162, allocations: 3.188 MB / 3.027 GB, free: 78.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/7.162, allocations: 12.03 kB / 3.027 GB, free: 78.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006712/7.168, allocations: 0.9252 MB / 3.028 GB, free: 77.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007951/7.176, allocations: 2.162 MB / 3.03 GB, free: 75.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/7.177, allocations: 100 kB / 3.03 GB, free: 75.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/7.178, allocations: 176 kB / 3.03 GB, free: 75.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01057/7.189, allocations: 3.549 MB / 3.034 GB, free: 71.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/7.203, allocations: 3.914 MB / 3.038 GB, free: 67.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/7.203, allocations: 7.984 kB / 3.038 GB, free: 67.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005229/7.204, allocations: 4 kB / 3.038 GB, free: 67.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002611/7.204, allocations: 173.9 kB / 3.038 GB, free: 67.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03185/7.236, allocations: 14.44 MB / 3.052 GB, free: 52.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/7.24, allocations: 1.825 MB / 3.054 GB, free: 50.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00247/7.242, allocations: 1.152 MB / 3.055 GB, free: 49.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007363/7.243, allocations: 0.5623 MB / 3.055 GB, free: 48.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002074/7.245, allocations: 1.083 MB / 3.056 GB, free: 47.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=150): time 7.043e-06/7.245, allocations: 0 / 3.056 GB, free: 47.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=187): time 0.03833/7.283, allocations: 10.61 MB / 3.067 GB, free: 37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002054/7.284, allocations: 449.2 kB / 3.067 GB, free: 36.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004373/7.288, allocations: 1.758 MB / 3.069 GB, free: 34.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0008567/7.289, allocations: 29.7 kB / 3.069 GB, free: 34.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00192/7.291, allocations: 1.455 MB / 3.07 GB, free: 33.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/7.292, allocations: 0.5966 MB / 3.071 GB, free: 32.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/7.292, allocations: 4 kB / 3.071 GB, free: 32.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001469/7.292, allocations: 385.9 kB / 3.071 GB, free: 32.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/7.294, allocations: 1.129 MB / 3.072 GB, free: 31.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/7.297, allocations: 1.622 MB / 3.074 GB, free: 29.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007309/7.304, allocations: 1.808 MB / 3.076 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.517e-05/7.304, allocations: 4 kB / 3.076 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01806/7.322, allocations: 4.754 MB / 3.08 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001158/7.323, allocations: 4.715 MB / 3.085 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/7.324, allocations: 12 kB / 3.085 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007613/7.331, allocations: 1.351 MB / 3.086 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003449/7.335, allocations: 499.2 kB / 3.087 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/7.348, allocations: 9.064 MB / 3.096 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00378/7.352, allocations: 163.7 kB / 3.096 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005302/7.352, allocations: 95.97 kB / 3.096 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/7.352, allocations: 6.812 kB / 3.096 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009957/7.362, allocations: 2.772 MB / 3.099 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.384e-05/7.362, allocations: 12.06 kB / 3.099 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.472e-05/7.362, allocations: 24 kB / 3.099 GB, free: 3.055 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/7.365, allocations: 0.5187 MB / 3.099 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-05/7.365, allocations: 35.88 kB / 3.099 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/7.368, allocations: 107.7 kB / 3.099 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003115/7.368, allocations: 95.97 kB / 3.099 GB, free: 2.301 MB / 0.6198 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 5 * 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.0008262/7.369, allocations: 168.3 kB / 3.099 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007807/7.37, allocations: 209.5 kB / 3.1 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4832/7.853, allocations: 4.705 MB / 3.104 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.561e-05/7.853, allocations: 21.7 kB / 3.104 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/7.853, allocations: 3.656 kB / 3.104 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.286e-05/7.853, allocations: 16.25 kB / 3.104 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02188/7.875, allocations: 9.185 MB / 3.113 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/7.875, allocations: 12.11 kB / 3.113 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/7.877, allocations: 379.5 kB / 3.114 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00638/7.884, allocations: 1.788 MB / 3.115 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005428/7.884, allocations: 27.34 kB / 3.115 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/7.899, allocations: 12.51 MB / 3.128 GB, free: 125.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/7.899, allocations: 11.72 kB / 3.128 GB, free: 125.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/7.914, allocations: 5.015 MB / 3.133 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/7.917, allocations: 0.6772 MB / 3.133 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004363/7.917, allocations: 17.75 kB / 3.133 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/7.919, allocations: 232 kB / 3.133 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004702/7.92, allocations: 148.9 kB / 3.134 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/7.92, allocations: 64.86 kB / 3.134 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002184/7.922, allocations: 1.34 MB / 3.135 GB, free: 124.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/7.922, allocations: 0 / 3.135 GB, free: 124.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004823/7.927, allocations: 1.197 MB / 3.136 GB, free: 124.3 MB / 0.6198 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 172 * 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.00225/7.929, allocations: 0.8197 MB / 3.137 GB, free: 124.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.008076/7.937, allocations: 5.133 MB / 3.142 GB, free: 123.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/7.937, allocations: 3.125 kB / 3.142 GB, free: 123.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003771/7.941, allocations: 2.261 MB / 3.144 GB, free: 122.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/7.944, allocations: 453.8 kB / 3.145 GB, free: 122.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/7.955, allocations: 5.174 MB / 3.15 GB, free: 121.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002611/7.958, allocations: 2.491 MB / 3.152 GB, free: 120.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.005006/7.963, allocations: 1.392 MB / 3.153 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005068/7.963, allocations: 152.5 kB / 3.154 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/7.963, allocations: 3.719 kB / 3.154 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.07883/8.042, allocations: 42.81 MB / 3.195 GB, free: 118.4 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)