Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 249.5 MB / 257 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 180.8 kB / 316.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008402/0.0008403, allocations: 93.8 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.819e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1843, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.244/5.428, allocations: 2.22 GB / 3.105 GB, free: 145 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/5.428, allocations: 98.31 kB / 3.105 GB, free: 145 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.1105/5.539, allocations: 49.91 MB / 3.154 GB, free: 101 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.184e-06/5.539, allocations: 0 / 3.154 GB, free: 101 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001016/5.539, allocations: 28 kB / 3.154 GB, free: 101 MB / 0.8698 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.00208/5.541, allocations: 1.301 MB / 3.155 GB, free: 99.61 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/5.541, allocations: 12.03 kB / 3.155 GB, free: 99.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/5.542, allocations: 274.6 kB / 3.155 GB, free: 99.33 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/5.544, allocations: 0.7911 MB / 3.156 GB, free: 98.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/5.544, allocations: 32 kB / 3.156 GB, free: 98.46 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/5.544, allocations: 56 kB / 3.156 GB, free: 98.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001466/5.545, allocations: 1.171 MB / 3.157 GB, free: 97.23 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/5.547, allocations: 0.9743 MB / 3.158 GB, free: 96.19 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/5.547, allocations: 3.938 kB / 3.158 GB, free: 96.18 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-05/5.547, allocations: 3.984 kB / 3.158 GB, free: 96.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/5.547, allocations: 46 kB / 3.158 GB, free: 96.13 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004698/5.551, allocations: 4.176 MB / 3.162 GB, free: 91.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/5.552, allocations: 0.7279 MB / 3.163 GB, free: 91.02 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/5.553, allocations: 295.1 kB / 3.163 GB, free: 90.72 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.884e-05/5.553, allocations: 32.81 kB / 3.164 GB, free: 90.69 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005219/5.553, allocations: 422.3 kB / 3.164 GB, free: 90.25 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=80): time 2.585e-06/5.553, allocations: 0 / 3.164 GB, free: 90.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80): time 0.001094/5.555, allocations: 0.6638 MB / 3.165 GB, free: 89.58 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/5.555, allocations: 342.9 kB / 3.165 GB, free: 89.16 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000849/5.556, allocations: 0.7624 MB / 3.166 GB, free: 88.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/5.556, allocations: 33.7 kB / 3.166 GB, free: 88.36 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/5.556, allocations: 0.5269 MB / 3.166 GB, free: 87.82 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/5.556, allocations: 256.1 kB / 3.166 GB, free: 87.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/5.556, allocations: 0 / 3.166 GB, free: 87.57 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/5.556, allocations: 337.9 kB / 3.167 GB, free: 87.23 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/5.556, allocations: 205.5 kB / 3.167 GB, free: 87.03 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/5.557, allocations: 393.5 kB / 3.167 GB, free: 86.58 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/5.557, allocations: 280.4 kB / 3.168 GB, free: 86.31 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/5.557, allocations: 3.984 kB / 3.168 GB, free: 86.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0009663/5.558, allocations: 0.7068 MB / 3.168 GB, free: 85.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001947/5.558, allocations: 0.971 MB / 3.169 GB, free: 84.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/5.558, allocations: 0 / 3.169 GB, free: 84.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/5.559, allocations: 28.8 kB / 3.169 GB, free: 84.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/5.559, allocations: 175.7 kB / 3.169 GB, free: 84.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002568/5.559, allocations: 0.5329 MB / 3.17 GB, free: 83.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006027/5.56, allocations: 79.44 kB / 3.17 GB, free: 83.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/5.56, allocations: 35.98 kB / 3.17 GB, free: 83.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/5.56, allocations: 1.875 kB / 3.17 GB, free: 83.66 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007575/5.561, allocations: 0.5726 MB / 3.171 GB, free: 83.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/5.561, allocations: 4.297 kB / 3.171 GB, free: 83.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/5.561, allocations: 15.94 kB / 3.171 GB, free: 83.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/5.562, allocations: 171.8 kB / 3.171 GB, free: 82.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/5.562, allocations: 4 kB / 3.171 GB, free: 82.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/5.562, allocations: 75.34 kB / 3.171 GB, free: 82.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/5.562, allocations: 35.98 kB / 3.171 GB, free: 82.79 MB / 0.8698 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 () * 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.0001749/5.562, allocations: 131.6 kB / 3.171 GB, free: 82.66 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009047/5.563, allocations: 0.6638 MB / 3.172 GB, free: 81.98 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/5.563, allocations: 106.7 kB / 3.172 GB, free: 81.88 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/5.565, allocations: 0.8746 MB / 3.173 GB, free: 80.99 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/5.565, allocations: 12 kB / 3.173 GB, free: 80.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/5.565, allocations: 0 / 3.173 GB, free: 80.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/5.565, allocations: 3.984 kB / 3.173 GB, free: 80.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/5.567, allocations: 2.087 MB / 3.175 GB, free: 78.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/5.567, allocations: 0 / 3.175 GB, free: 78.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/5.568, allocations: 159.9 kB / 3.175 GB, free: 78.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/5.568, allocations: 28.84 kB / 3.175 GB, free: 78.62 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/5.568, allocations: 15.98 kB / 3.175 GB, free: 78.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006539/5.569, allocations: 1.229 MB / 3.176 GB, free: 77.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/5.569, allocations: 4.031 kB / 3.176 GB, free: 77.26 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/5.57, allocations: 0.9013 MB / 3.177 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/5.57, allocations: 319.4 kB / 3.177 GB, free: 75.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/5.57, allocations: 11.98 kB / 3.177 GB, free: 75.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/5.571, allocations: 51.95 kB / 3.177 GB, free: 75.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/5.571, allocations: 64.62 kB / 3.177 GB, free: 75.85 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/5.571, allocations: 39.98 kB / 3.177 GB, free: 75.81 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006731/5.572, allocations: 0.6006 MB / 3.178 GB, free: 75.21 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/5.572, allocations: 0 / 3.178 GB, free: 75.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001375/5.573, allocations: 0.5097 MB / 3.179 GB, free: 74.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * 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.002214/5.575, allocations: 2.131 MB / 3.181 GB, free: 72.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00141/5.577, allocations: 0.9419 MB / 3.182 GB, free: 71.66 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/5.577, allocations: 0 / 3.182 GB, free: 71.66 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004739/5.577, allocations: 449.8 kB / 3.182 GB, free: 71.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/5.579, allocations: 274.6 kB / 3.182 GB, free: 70.95 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/5.582, allocations: 1.752 MB / 3.184 GB, free: 69.15 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/5.582, allocations: 1.159 MB / 3.185 GB, free: 67.96 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001555/5.584, allocations: 0.5577 MB / 3.186 GB, free: 67.39 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/5.584, allocations: 447.3 kB / 3.186 GB, free: 66.96 MB / 0.8698 GB Notification: Performance of SimCode: time 7.72e-07/5.584, allocations: 0 / 3.186 GB, free: 66.96 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04747/5.632, allocations: 23.26 MB / 3.209 GB, free: 43.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/5.632, allocations: 177.6 kB / 3.209 GB, free: 43.61 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/8.471, allocations: 4.031 kB / 3.209 GB, free: 43.61 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)