Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine")
translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.841/0.841, allocations: 133.7 MB / 148.6 MB, free: 13.64 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.0009747/0.0009748, allocations: 172.1 kB / 180.9 MB, free: 15.09 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.464/1.464, allocations: 170.7 MB / 383.7 MB, free: 16.29 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.001586/0.001586, allocations: 123.9 kB / 454.6 MB, free: 9.867 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.2009/0.2014, allocations: 73.41 MB / 0.6812 GB, free: 5.574 MB / 474.7 MB
Notification: Performance of FrontEnd - scodeFlatten: time 5.419/5.621, allocations: 2.165 GB / 2.847 GB, free: 37.79 MB / 0.6198 GB
Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/5.621, allocations: 111.9 kB / 2.847 GB, free: 37.68 MB / 0.6198 GB
Notification: Performance of FrontEnd - DAE generated: time 0.5403/6.161, allocations: 86.73 MB / 2.931 GB, free: 172.1 MB / 0.6198 GB
Notification: Performance of FrontEnd: time 2.124e-06/6.162, allocations: 3.938 kB / 2.931 GB, free: 172.1 MB / 0.6198 GB
Notification: Performance of Transformations before backend: time 9.84e-05/6.162, allocations: 35.94 kB / 2.931 GB, free: 172.1 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: 273
* Number of variables: 273
Notification: Performance of Generate backend data structure: time 0.00292/6.165, allocations: 1.573 MB / 2.933 GB, free: 171 MB / 0.6198 GB
Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/6.165, allocations: 9.969 kB / 2.933 GB, free: 171 MB / 0.6198 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/6.167, allocations: 412.9 kB / 2.933 GB, free: 170.9 MB / 0.6198 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/6.168, allocations: 0.7431 MB / 2.934 GB, free: 170.4 MB / 0.6198 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/6.169, allocations: 76.02 kB / 2.934 GB, free: 170.4 MB / 0.6198 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/6.169, allocations: 104.2 kB / 2.934 GB, free: 170.3 MB / 0.6198 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/6.171, allocations: 1.319 MB / 2.936 GB, free: 169.7 MB / 0.6198 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/6.171, allocations: 0 / 2.936 GB, free: 169.7 MB / 0.6198 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/6.171, allocations: 47.86 kB / 2.936 GB, free: 169.7 MB / 0.6198 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.033e-05/6.171, allocations: 63.59 kB / 2.936 GB, free: 169.7 MB / 0.6198 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/6.174, allocations: 1.546 MB / 2.937 GB, free: 169.3 MB / 0.6198 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006737/6.18, allocations: 4.185 MB / 2.941 GB, free: 166.8 MB / 0.6198 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002572/6.183, allocations: 1.147 MB / 2.942 GB, free: 166.3 MB / 0.6198 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008724/6.184, allocations: 0.5446 MB / 2.943 GB, free: 165.8 MB / 0.6198 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/6.185, allocations: 0.6409 MB / 2.944 GB, free: 165.5 MB / 0.6198 GB
Notification: Performance of pre-optimization done (n=94): time 4.358e-06/6.185, allocations: 0 / 2.944 GB, free: 165.5 MB / 0.6198 GB
Notification: Performance of matching and sorting (n=95): time 0.00543/6.191, allocations: 2.16 MB / 2.946 GB, free: 164.6 MB / 0.6198 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/6.191, allocations: 219.8 kB / 2.946 GB, free: 164.3 MB / 0.6198 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/6.192, allocations: 0.7772 MB / 2.947 GB, free: 164 MB / 0.6198 GB
Notification: Performance of collectPreVariables (initialization): time 9.543e-05/6.192, allocations: 52.36 kB / 2.947 GB, free: 163.9 MB / 0.6198 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004297/6.192, allocations: 0.4893 MB / 2.947 GB, free: 163.6 MB / 0.6198 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002848/6.193, allocations: 316.3 kB / 2.947 GB, free: 163.3 MB / 0.6198 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/6.193, allocations: 22.53 kB / 2.947 GB, free: 163.3 MB / 0.6198 GB
Notification: Performance of setup shared object (initialization): time 9.662e-05/6.193, allocations: 340.2 kB / 2.948 GB, free: 163 MB / 0.6198 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008136/6.194, allocations: 416.5 kB / 2.948 GB, free: 162.9 MB / 0.6198 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/6.195, allocations: 0.5928 MB / 2.949 GB, free: 162.5 MB / 0.6198 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/6.196, allocations: 0.554 MB / 2.949 GB, free: 162.2 MB / 0.6198 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/6.196, allocations: 5.094 kB / 2.949 GB, free: 162.2 MB / 0.6198 GB
Notification: Performance of matching and sorting (n=113) (initialization): time 0.003363/6.199, allocations: 1.438 MB / 2.951 GB, free: 161.6 MB / 0.6198 GB
Notification: Performance of prepare postOptimizeDAE: time 0.000358/6.2, allocations: 1.229 MB / 2.952 GB, free: 160.3 MB / 0.6198 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/6.2, allocations: 3.469 kB / 2.952 GB, free: 160.3 MB / 0.6198 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/6.201, allocations: 212.3 kB / 2.952 GB, free: 160.3 MB / 0.6198 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/6.202, allocations: 227.3 kB / 2.952 GB, free: 160.3 MB / 0.6198 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005466/6.202, allocations: 0.6416 MB / 2.953 GB, free: 159.7 MB / 0.6198 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/6.204, allocations: 110.9 kB / 2.953 GB, free: 159.7 MB / 0.6198 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/6.204, allocations: 35.75 kB / 2.953 GB, free: 159.7 MB / 0.6198 GB
Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/6.204, allocations: 4.375 kB / 2.953 GB, free: 159.7 MB / 0.6198 GB
Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002229/6.206, allocations: 1.169 MB / 2.954 GB, free: 159.2 MB / 0.6198 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/6.206, allocations: 10.72 kB / 2.954 GB, free: 159.2 MB / 0.6198 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/6.206, allocations: 6.875 kB / 2.954 GB, free: 159.2 MB / 0.6198 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/6.207, allocations: 229.1 kB / 2.954 GB, free: 159.2 MB / 0.6198 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/6.207, allocations: 7.188 kB / 2.954 GB, free: 159.2 MB / 0.6198 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009506/6.208, allocations: 99.92 kB / 2.955 GB, free: 159.1 MB / 0.6198 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.396e-05/6.208, allocations: 43.33 kB / 2.955 GB, free: 159.1 MB / 0.6198 GB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 13
* 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 (110):
* Single equations (assignments): 106
* Array equations: 0
* Algorithm blocks: 3
* Record equations: 0
* When equations: 0
* If-equations: 0
* Equation systems (linear and non-linear blocks): 0
* Torn equation systems: 1
* Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
* Linear torn systems: 0
* Non-linear torn systems: 1 {2 2}
Notification: Performance of prepare postOptimizeDAE: time 0.0008195/6.209, allocations: 413.8 kB / 2.955 GB, free: 158.8 MB / 0.6198 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/6.209, allocations: 101.1 kB / 2.955 GB, free: 158.8 MB / 0.6198 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/6.213, allocations: 1.482 MB / 2.957 GB, free: 158.2 MB / 0.6198 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/6.213, allocations: 11.25 kB / 2.957 GB, free: 158.2 MB / 0.6198 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/6.213, allocations: 0 / 2.957 GB, free: 158.2 MB / 0.6198 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/6.213, allocations: 8.703 kB / 2.957 GB, free: 158.2 MB / 0.6198 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005197/6.218, allocations: 2.775 MB / 2.959 GB, free: 156.9 MB / 0.6198 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/6.218, allocations: 2.625 kB / 2.959 GB, free: 156.9 MB / 0.6198 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009355/6.219, allocations: 203.9 kB / 2.96 GB, free: 156.9 MB / 0.6198 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008653/6.22, allocations: 206.1 kB / 2.96 GB, free: 156.9 MB / 0.6198 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.022e-05/6.22, allocations: 35.75 kB / 2.96 GB, free: 156.9 MB / 0.6198 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/6.222, allocations: 1.869 MB / 2.962 GB, free: 155.4 MB / 0.6198 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/6.222, allocations: 6.156 kB / 2.962 GB, free: 155.4 MB / 0.6198 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/6.225, allocations: 1.554 MB / 2.963 GB, free: 154.5 MB / 0.6198 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007979/6.226, allocations: 365.5 kB / 2.963 GB, free: 154.3 MB / 0.6198 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/6.226, allocations: 19.53 kB / 2.963 GB, free: 154.3 MB / 0.6198 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/6.227, allocations: 98.27 kB / 2.964 GB, free: 154.3 MB / 0.6198 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/6.227, allocations: 71.98 kB / 2.964 GB, free: 154.3 MB / 0.6198 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/6.227, allocations: 45.36 kB / 2.964 GB, free: 154.2 MB / 0.6198 GB
Notification: Performance of sorting global known variables: time 0.001201/6.229, allocations: 0.6236 MB / 2.964 GB, free: 154 MB / 0.6198 GB
Notification: Performance of sort global known variables: time 1.3e-07/6.229, allocations: 7.938 kB / 2.964 GB, free: 154 MB / 0.6198 GB
Notification: Performance of remove unused functions: time 0.002355/6.231, allocations: 0.5428 MB / 2.965 GB, free: 153.9 MB / 0.6198 GB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 8
* 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 (101):
* Single equations (assignments): 98
* 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: 1
* Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
* Linear torn systems: 0
* Non-linear torn systems: 1 {2 2}
Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/6.233, allocations: 0.6551 MB / 2.965 GB, free: 153.6 MB / 0.6198 GB
Notification: Performance of simCode: created initialization part: time 0.003479/6.236, allocations: 1.936 MB / 2.967 GB, free: 152.7 MB / 0.6198 GB
Notification: Performance of simCode: created event and clocks part: time 7.534e-06/6.236, allocations: 3.953 kB / 2.967 GB, free: 152.7 MB / 0.6198 GB
Notification: Performance of simCode: created simulation system equations: time 0.001235/6.237, allocations: 0.6942 MB / 2.968 GB, free: 152.4 MB / 0.6198 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/6.239, allocations: 226.5 kB / 2.968 GB, free: 152.3 MB / 0.6198 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/6.243, allocations: 2.777 MB / 2.971 GB, free: 150.8 MB / 0.6198 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/6.244, allocations: 1.179 MB / 2.972 GB, free: 150 MB / 0.6198 GB
Notification: Performance of simCode: alias equations: time 0.001739/6.245, allocations: 476.4 kB / 2.973 GB, free: 149.9 MB / 0.6198 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/6.246, allocations: 107.2 kB / 2.973 GB, free: 149.9 MB / 0.6198 GB
Notification: Performance of SimCode: time 1.543e-06/6.246, allocations: 0 / 2.973 GB, free: 149.9 MB / 0.6198 GB
Notification: Performance of Templates: time 0.02523/6.271, allocations: 16.03 MB / 2.988 GB, free: 145 MB / 0.6198 GB
make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile
(rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)