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.8382/0.8382, allocations: 133.7 MB / 148.6 MB, free: 13.62 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.001559/0.001559, allocations: 183.1 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.375/1.375, allocations: 170.7 MB / 383.7 MB, free: 16.1 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.001443/0.001443, allocations: 115.3 kB / 454.6 MB, free: 9.703 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.1745/0.1751, allocations: 73.41 MB / 0.6812 GB, free: 5.527 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.844/6.019, allocations: 2.189 GB / 2.87 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004212/6.02, allocations: 111.9 kB / 2.87 GB, free: 12.98 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.7625/6.782, allocations: 179.2 MB / 3.045 GB, free: 91.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.745e-06/6.782, allocations: 4 kB / 3.045 GB, free: 91.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002768/6.783, allocations: 83.88 kB / 3.045 GB, free: 91.26 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.01162/6.794, allocations: 3.517 MB / 3.049 GB, free: 87.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/6.794, allocations: 16.56 kB / 3.049 GB, free: 87.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006679/6.801, allocations: 0.9252 MB / 3.05 GB, free: 86.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006436/6.807, allocations: 2.17 MB / 3.052 GB, free: 84.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/6.808, allocations: 234.1 kB / 3.052 GB, free: 84.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/6.809, allocations: 304 kB / 3.052 GB, free: 83.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009197/6.818, allocations: 4.429 MB / 3.056 GB, free: 79.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-05/6.818, allocations: 7.938 kB / 3.056 GB, free: 79.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/6.819, allocations: 124 kB / 3.057 GB, free: 79.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/6.819, allocations: 181.8 kB / 3.057 GB, free: 79.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007998/6.827, allocations: 4.106 MB / 3.061 GB, free: 74.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/6.853, allocations: 15.17 MB / 3.076 GB, free: 59.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/6.856, allocations: 2.03 MB / 3.078 GB, free: 57.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007446/6.857, allocations: 0.5586 MB / 3.078 GB, free: 56.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001792/6.859, allocations: 1.175 MB / 3.079 GB, free: 55.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=150): time 4.038e-06/6.859, allocations: 4 kB / 3.079 GB, free: 55.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=187): time 0.03435/6.893, allocations: 13.67 MB / 3.093 GB, free: 41.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/6.893, allocations: 441.2 kB / 3.093 GB, free: 41.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/6.897, allocations: 1.948 MB / 3.095 GB, free: 39.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000649/6.897, allocations: 65.69 kB / 3.095 GB, free: 39.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001464/6.899, allocations: 1.444 MB / 3.096 GB, free: 37.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007833/6.9, allocations: 0.6161 MB / 3.097 GB, free: 36.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/6.9, allocations: 44 kB / 3.097 GB, free: 36.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001254/6.9, allocations: 381.9 kB / 3.097 GB, free: 36.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/6.902, allocations: 1.226 MB / 3.099 GB, free: 35.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/6.904, allocations: 1.72 MB / 3.1 GB, free: 33.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/6.906, allocations: 1.607 MB / 3.102 GB, free: 31.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/6.906, allocations: 4 kB / 3.102 GB, free: 31.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01163/6.918, allocations: 5.102 MB / 3.107 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001125/6.919, allocations: 4.745 MB / 3.112 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/6.919, allocations: 16 kB / 3.112 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008417/6.927, allocations: 2.057 MB / 3.114 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/6.93, allocations: 491.2 kB / 3.114 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/6.94, allocations: 9.837 MB / 3.124 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/6.944, allocations: 211.7 kB / 3.124 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006005/6.944, allocations: 87.97 kB / 3.124 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/6.944, allocations: 4 kB / 3.124 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01073/6.955, allocations: 4.285 MB / 3.128 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.434e-05/6.955, allocations: 16.03 kB / 3.128 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005512/6.961, allocations: 1.383 MB / 3.129 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/6.963, allocations: 0.4953 MB / 3.13 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.375/7.338, allocations: 7.828 MB / 3.138 GB, free: 122.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/7.341, allocations: 169.6 kB / 3.138 GB, free: 122.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004239/7.342, allocations: 92.69 kB / 3.138 GB, free: 122.6 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 = 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked 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.003053/7.345, allocations: 1.259 MB / 3.139 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007592/7.345, allocations: 227.1 kB / 3.139 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/7.359, allocations: 4.653 MB / 3.144 GB, free: 122.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.68e-05/7.359, allocations: 24.17 kB / 3.144 GB, free: 122.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/7.359, allocations: 5.438 kB / 3.144 GB, free: 122.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.537e-05/7.359, allocations: 11.22 kB / 3.144 GB, free: 122.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/7.381, allocations: 9.724 MB / 3.153 GB, free: 121 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/7.381, allocations: 6.812 kB / 3.153 GB, free: 121 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/7.383, allocations: 376.5 kB / 3.154 GB, free: 121 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007869/7.391, allocations: 2.002 MB / 3.156 GB, free: 121 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005757/7.391, allocations: 55.73 kB / 3.156 GB, free: 121 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/7.406, allocations: 13.64 MB / 3.169 GB, free: 113.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.944e-06/7.406, allocations: 12.72 kB / 3.169 GB, free: 113.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/7.418, allocations: 4.963 MB / 3.174 GB, free: 112.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003534/7.422, allocations: 0.6882 MB / 3.175 GB, free: 112.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008934/7.422, allocations: 42.98 kB / 3.175 GB, free: 112.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/7.424, allocations: 193.8 kB / 3.175 GB, free: 112.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004871/7.425, allocations: 151.5 kB / 3.175 GB, free: 112.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/7.425, allocations: 69.47 kB / 3.175 GB, free: 112.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002979/7.428, allocations: 1.51 MB / 3.176 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/7.428, allocations: 0 / 3.176 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005615/7.434, allocations: 1.338 MB / 3.178 GB, free: 112.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) * Number of clocked states: 0 () * 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.002336/7.436, allocations: 0.9617 MB / 3.179 GB, free: 112.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01098/7.447, allocations: 6.233 MB / 3.185 GB, free: 110.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/7.447, allocations: 0 / 3.185 GB, free: 110.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004351/7.451, allocations: 2.39 MB / 3.187 GB, free: 110.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/7.454, allocations: 0.5023 MB / 3.188 GB, free: 110.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/7.466, allocations: 7.803 MB / 3.195 GB, free: 107 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/7.468, allocations: 2.498 MB / 3.198 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003834/7.472, allocations: 1.031 MB / 3.199 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/7.473, allocations: 193.2 kB / 3.199 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of SimCode: time 1.442e-06/7.473, allocations: 0 / 3.199 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.07783/7.551, allocations: 46.66 MB / 3.244 GB, free: 103.6 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)