Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 288.3 MB / 303.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 187.3 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 97.66 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 15.72 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2578, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.897/5.155, allocations: 2.101 GB / 3.081 GB, free: 224.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/5.155, allocations: 105.7 kB / 3.081 GB, free: 224.6 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1152/5.271, allocations: 51.76 MB / 3.131 GB, free: 172.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.218e-06/5.271, allocations: 0 / 3.131 GB, free: 172.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000122/5.271, allocations: 35.98 kB / 3.132 GB, free: 172.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.002934/5.274, allocations: 1.457 MB / 3.133 GB, free: 171 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/5.274, allocations: 16.02 kB / 3.133 GB, free: 171 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/5.275, allocations: 270.8 kB / 3.133 GB, free: 170.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/5.277, allocations: 0.8066 MB / 3.134 GB, free: 169.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/5.277, allocations: 74 kB / 3.134 GB, free: 169.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/5.277, allocations: 95.98 kB / 3.134 GB, free: 169.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/5.279, allocations: 1.143 MB / 3.135 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/5.279, allocations: 7.938 kB / 3.135 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/5.279, allocations: 47.98 kB / 3.135 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.597e-05/5.279, allocations: 45.98 kB / 3.135 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/5.28, allocations: 1.284 MB / 3.137 GB, free: 167.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005106/5.286, allocations: 4.372 MB / 3.141 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/5.287, allocations: 0.8112 MB / 3.142 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/5.287, allocations: 36.67 kB / 3.142 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006255/5.288, allocations: 469.8 kB / 3.142 GB, free: 161.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.106e-06/5.288, allocations: 0 / 3.142 GB, free: 161.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.001882/5.29, allocations: 1.093 MB / 3.143 GB, free: 160 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/5.29, allocations: 346.7 kB / 3.144 GB, free: 159.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/5.291, allocations: 0.882 MB / 3.144 GB, free: 158.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/5.291, allocations: 45.77 kB / 3.144 GB, free: 158.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/5.291, allocations: 0.5193 MB / 3.145 GB, free: 158.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/5.291, allocations: 268 kB / 3.145 GB, free: 157.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/5.291, allocations: 19.94 kB / 3.145 GB, free: 157.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.392e-05/5.291, allocations: 337.9 kB / 3.146 GB, free: 157.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/5.292, allocations: 241.9 kB / 3.146 GB, free: 157.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/5.292, allocations: 449.4 kB / 3.146 GB, free: 156.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/5.293, allocations: 312.5 kB / 3.147 GB, free: 156.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/5.293, allocations: 4 kB / 3.147 GB, free: 156.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00129/5.294, allocations: 0.825 MB / 3.147 GB, free: 155.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001945/5.294, allocations: 0.9652 MB / 3.148 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/5.294, allocations: 11.98 kB / 3.148 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/5.295, allocations: 32.8 kB / 3.148 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/5.295, allocations: 167.7 kB / 3.149 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002563/5.296, allocations: 0.5407 MB / 3.149 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/5.296, allocations: 99.23 kB / 3.149 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/5.296, allocations: 31.98 kB / 3.149 GB, free: 153.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/5.296, allocations: 7.938 kB / 3.149 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001044/5.297, allocations: 0.691 MB / 3.15 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/5.297, allocations: 4 kB / 3.15 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-06/5.297, allocations: 4.312 kB / 3.15 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/5.298, allocations: 183.7 kB / 3.15 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/5.298, allocations: 8 kB / 3.15 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/5.299, allocations: 111.1 kB / 3.15 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/5.299, allocations: 31.98 kB / 3.15 GB, free: 152.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (94): * Single equations (assignments): 93 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006101/5.299, allocations: 406.6 kB / 3.151 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/5.3, allocations: 106.8 kB / 3.151 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/5.301, allocations: 0.9893 MB / 3.152 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/5.301, allocations: 11.95 kB / 3.152 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/5.301, allocations: 0 / 3.152 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/5.301, allocations: 7.984 kB / 3.152 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/5.303, allocations: 1.339 MB / 3.153 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/5.303, allocations: 3.953 kB / 3.153 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/5.303, allocations: 155.8 kB / 3.153 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/5.303, allocations: 24.84 kB / 3.153 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/5.304, allocations: 28.05 kB / 3.153 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007157/5.304, allocations: 1.28 MB / 3.154 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/5.304, allocations: 0 / 3.154 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/5.306, allocations: 0.9036 MB / 3.155 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/5.306, allocations: 323.4 kB / 3.156 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/5.306, allocations: 23.94 kB / 3.156 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/5.307, allocations: 71.94 kB / 3.156 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/5.307, allocations: 68.86 kB / 3.156 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/5.307, allocations: 31.98 kB / 3.156 GB, free: 146.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007889/5.308, allocations: 0.6949 MB / 3.156 GB, free: 145.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/5.308, allocations: 0 / 3.156 GB, free: 145.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001375/5.309, allocations: 0.5489 MB / 3.157 GB, free: 145.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (91): * Single equations (assignments): 88 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/5.31, allocations: 0.5849 MB / 3.158 GB, free: 144.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001773/5.312, allocations: 1.054 MB / 3.159 GB, free: 143.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/5.312, allocations: 0 / 3.159 GB, free: 143.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006162/5.313, allocations: 496.2 kB / 3.159 GB, free: 143.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/5.314, allocations: 298.7 kB / 3.159 GB, free: 143.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/5.317, allocations: 2.511 MB / 3.162 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/5.318, allocations: 1.161 MB / 3.163 GB, free: 139.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001189/5.319, allocations: 395.7 kB / 3.163 GB, free: 139 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/5.319, allocations: 107.4 kB / 3.163 GB, free: 138.9 MB / 0.948 GB Notification: Performance of SimCode: time 9.51e-07/5.319, allocations: 4 kB / 3.163 GB, free: 138.9 MB / 0.948 GB Notification: Performance of Templates: time 0.02452/5.344, allocations: 14.56 MB / 3.178 GB, free: 124.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)