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_N.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_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.808/0.808, allocations: 133.7 MB / 148.6 MB, free: 13.61 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.0011/0.0011, allocations: 178.5 kB / 180.9 MB, free: 15.06 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.392/1.392, allocations: 170.7 MB / 383.7 MB, free: 16.12 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.001986/0.001986, allocations: 117.5 kB / 454.6 MB, free: 9.707 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.1783/0.1788, allocations: 73.41 MB / 0.6812 GB, free: 5.527 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.852/6.031, allocations: 2.19 GB / 2.872 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/6.031, allocations: 111.9 kB / 2.872 GB, free: 11.19 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.6864/6.718, allocations: 169.9 MB / 3.038 GB, free: 99.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.835e-06/6.718, allocations: 0 / 3.038 GB, free: 99.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002847/6.718, allocations: 83.94 kB / 3.038 GB, free: 99.02 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: 799 * Number of variables: 799 Notification: Performance of Generate backend data structure: time 0.009264/6.727, allocations: 3.367 MB / 3.041 GB, free: 95.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/6.727, allocations: 8.562 kB / 3.041 GB, free: 95.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006393/6.734, allocations: 0.9438 MB / 3.042 GB, free: 94.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005501/6.739, allocations: 2.017 MB / 3.044 GB, free: 92.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/6.74, allocations: 234 kB / 3.044 GB, free: 92.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/6.741, allocations: 296 kB / 3.044 GB, free: 92.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/6.752, allocations: 4.356 MB / 3.049 GB, free: 87.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/6.752, allocations: 11.84 kB / 3.049 GB, free: 87.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009467/6.753, allocations: 128 kB / 3.049 GB, free: 87.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/6.754, allocations: 169.9 kB / 3.049 GB, free: 87.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008339/6.762, allocations: 4.055 MB / 3.053 GB, free: 83.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02063/6.783, allocations: 14.24 MB / 3.067 GB, free: 68.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/6.786, allocations: 1.96 MB / 3.069 GB, free: 66.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006047/6.786, allocations: 0.5584 MB / 3.069 GB, free: 65.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/6.788, allocations: 1.166 MB / 3.07 GB, free: 64.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=147): time 3.818e-06/6.788, allocations: 0 / 3.07 GB, free: 64.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=182): time 0.02947/6.817, allocations: 13.63 MB / 3.084 GB, free: 50.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/6.817, allocations: 0.5094 MB / 3.084 GB, free: 50.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/6.82, allocations: 1.751 MB / 3.086 GB, free: 48.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000379/6.82, allocations: 73.64 kB / 3.086 GB, free: 48.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/6.821, allocations: 1.408 MB / 3.087 GB, free: 47.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004454/6.822, allocations: 0.6046 MB / 3.088 GB, free: 46.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/6.822, allocations: 47.94 kB / 3.088 GB, free: 46.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/6.822, allocations: 394.1 kB / 3.088 GB, free: 45.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/6.824, allocations: 1.187 MB / 3.09 GB, free: 44.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/6.826, allocations: 1.754 MB / 3.091 GB, free: 42.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/6.828, allocations: 1.581 MB / 3.093 GB, free: 41.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/6.828, allocations: 7.953 kB / 3.093 GB, free: 41.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.009423/6.837, allocations: 4.665 MB / 3.097 GB, free: 36.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008634/6.838, allocations: 5.914 MB / 3.103 GB, free: 29.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/6.838, allocations: 19.94 kB / 3.103 GB, free: 29.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005916/6.844, allocations: 1.576 MB / 3.105 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/6.846, allocations: 499.2 kB / 3.105 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007478/6.854, allocations: 6.171 MB / 3.111 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/6.856, allocations: 223.9 kB / 3.111 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000295/6.857, allocations: 99.97 kB / 3.112 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/6.857, allocations: 4 kB / 3.112 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007568/6.864, allocations: 3.973 MB / 3.115 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.656e-05/6.864, allocations: 12.75 kB / 3.115 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/6.868, allocations: 1.04 MB / 3.116 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/6.87, allocations: 0.5031 MB / 3.117 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006285/6.877, allocations: 5.144 MB / 3.122 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/6.879, allocations: 179.6 kB / 3.122 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/6.879, allocations: 104 kB / 3.122 GB, free: 10.11 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: 65 * 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 (238): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 4 * 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,76.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.002146/6.881, allocations: 1.214 MB / 3.123 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004421/6.882, allocations: 217.4 kB / 3.124 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008652/6.891, allocations: 4.017 MB / 3.128 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/6.891, allocations: 20 kB / 3.128 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/6.891, allocations: 15.95 kB / 3.128 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.734e-05/6.891, allocations: 11.97 kB / 3.128 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2878/7.178, allocations: 9.516 MB / 3.137 GB, free: 129.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/7.178, allocations: 7.406 kB / 3.137 GB, free: 129.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/7.18, allocations: 348.4 kB / 3.137 GB, free: 129.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006113/7.186, allocations: 1.517 MB / 3.139 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002313/7.186, allocations: 51.89 kB / 3.139 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/7.199, allocations: 8.728 MB / 3.147 GB, free: 127.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/7.199, allocations: 13.89 kB / 3.147 GB, free: 127.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009446/7.208, allocations: 4.61 MB / 3.152 GB, free: 126.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/7.21, allocations: 0.6451 MB / 3.152 GB, free: 126.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003369/7.21, allocations: 41.62 kB / 3.152 GB, free: 126.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/7.212, allocations: 185.2 kB / 3.153 GB, free: 126.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003645/7.212, allocations: 154.1 kB / 3.153 GB, free: 126.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/7.212, allocations: 69.84 kB / 3.153 GB, free: 126.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001775/7.214, allocations: 1.357 MB / 3.154 GB, free: 126 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/7.214, allocations: 0 / 3.154 GB, free: 126 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003676/7.218, allocations: 1.307 MB / 3.155 GB, free: 126 MB / 0.6198 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.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 (162): * Single equations (assignments): 158 * 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,76.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001738/7.219, allocations: 0.8946 MB / 3.156 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.008417/7.228, allocations: 5.55 MB / 3.162 GB, free: 125.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/7.228, allocations: 2.844 kB / 3.162 GB, free: 125.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00292/7.231, allocations: 1.86 MB / 3.164 GB, free: 124.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/7.233, allocations: 489.1 kB / 3.164 GB, free: 124.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00988/7.243, allocations: 7.588 MB / 3.171 GB, free: 121.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/7.245, allocations: 2.424 MB / 3.174 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003375/7.248, allocations: 1.055 MB / 3.175 GB, free: 121 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005882/7.249, allocations: 178.6 kB / 3.175 GB, free: 121 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/7.249, allocations: 0 / 3.175 GB, free: 121 MB / 0.6198 GB Notification: Performance of Templates: time 0.06895/7.318, allocations: 43.17 MB / 3.217 GB, free: 118.9 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)