Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.564/2.564, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001473/0.001472, allocations: 180.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.2 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 94.16 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.103e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8279/0.828, allocations: 115.3 MB / 0.9634 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.023/6.851, allocations: 2.101 GB / 3.064 GB, free: 18.83 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/6.851, allocations: 96.53 kB / 3.064 GB, free: 18.79 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.842/7.693, allocations: 49.9 MB / 3.113 GB, free: 330.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.884e-06/7.693, allocations: 0 / 3.113 GB, free: 330.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001523/7.694, allocations: 37.27 kB / 3.113 GB, free: 330.8 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.003763/7.697, allocations: 1.293 MB / 3.114 GB, free: 329.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/7.697, allocations: 9.188 kB / 3.114 GB, free: 329.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/7.7, allocations: 281.5 kB / 3.114 GB, free: 329.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/7.703, allocations: 0.7942 MB / 3.115 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-05/7.703, allocations: 32.17 kB / 3.115 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/7.703, allocations: 57.42 kB / 3.115 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003212/7.706, allocations: 1.167 MB / 3.116 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/7.709, allocations: 0.9744 MB / 3.117 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/7.709, allocations: 4 kB / 3.117 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/7.709, allocations: 3.094 kB / 3.117 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.812e-05/7.709, allocations: 51.78 kB / 3.117 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/7.72, allocations: 4.158 MB / 3.121 GB, free: 326 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/7.722, allocations: 0.7321 MB / 3.122 GB, free: 325.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007931/7.723, allocations: 293.5 kB / 3.122 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/7.723, allocations: 32.77 kB / 3.122 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009368/7.724, allocations: 424 kB / 3.123 GB, free: 325.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.516e-06/7.724, allocations: 0 / 3.123 GB, free: 325.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002116/7.726, allocations: 0.6675 MB / 3.124 GB, free: 325.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/7.726, allocations: 345.2 kB / 3.124 GB, free: 324.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/7.728, allocations: 0.7693 MB / 3.125 GB, free: 324.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002291/7.728, allocations: 27.89 kB / 3.125 GB, free: 324.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006176/7.729, allocations: 0.5236 MB / 3.125 GB, free: 323.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/7.729, allocations: 255.8 kB / 3.125 GB, free: 323.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/7.729, allocations: 1 kB / 3.125 GB, free: 323.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/7.729, allocations: 335.1 kB / 3.126 GB, free: 323.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/7.73, allocations: 206.6 kB / 3.126 GB, free: 323.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007609/7.731, allocations: 393.3 kB / 3.126 GB, free: 323 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/7.731, allocations: 284 kB / 3.127 GB, free: 322.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/7.731, allocations: 5.125 kB / 3.127 GB, free: 322.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002145/7.733, allocations: 0.7034 MB / 3.127 GB, free: 322.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002318/7.734, allocations: 0.9637 MB / 3.128 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/7.734, allocations: 2.75 kB / 3.128 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/7.734, allocations: 31.09 kB / 3.128 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/7.735, allocations: 182.3 kB / 3.128 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003836/7.736, allocations: 0.532 MB / 3.129 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/7.737, allocations: 80.83 kB / 3.129 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/7.737, allocations: 39.61 kB / 3.129 GB, free: 321 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/7.737, allocations: 4.062 kB / 3.129 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001589/7.739, allocations: 0.5749 MB / 3.13 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/7.739, allocations: 2.312 kB / 3.13 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/7.739, allocations: 6.344 kB / 3.13 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/7.74, allocations: 170.8 kB / 3.13 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/7.74, allocations: 12.16 kB / 3.13 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/7.742, allocations: 80.59 kB / 3.13 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/7.742, allocations: 33.94 kB / 3.13 GB, free: 320.8 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 () * 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.0003087/7.742, allocations: 125.7 kB / 3.13 GB, free: 320.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001903/7.744, allocations: 0.6618 MB / 3.131 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/7.744, allocations: 108.8 kB / 3.131 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/7.747, allocations: 0.8638 MB / 3.132 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/7.747, allocations: 13.17 kB / 3.132 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/7.747, allocations: 5.469 kB / 3.132 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/7.747, allocations: 3.891 kB / 3.132 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/7.752, allocations: 2.089 MB / 3.134 GB, free: 318.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.966e-06/7.752, allocations: 5.406 kB / 3.134 GB, free: 318.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/7.753, allocations: 160 kB / 3.134 GB, free: 318.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/7.753, allocations: 26 kB / 3.134 GB, free: 318.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.829e-05/7.753, allocations: 15.86 kB / 3.134 GB, free: 318.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009668/7.754, allocations: 1.225 MB / 3.135 GB, free: 317.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/7.754, allocations: 5.25 kB / 3.135 GB, free: 317.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/7.757, allocations: 0.9069 MB / 3.136 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007612/7.757, allocations: 318.8 kB / 3.136 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/7.758, allocations: 7.141 kB / 3.136 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/7.759, allocations: 56.55 kB / 3.136 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/7.759, allocations: 60.73 kB / 3.136 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-05/7.759, allocations: 34.36 kB / 3.136 GB, free: 316.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001227/7.76, allocations: 0.5959 MB / 3.137 GB, free: 316.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.01e-07/7.76, allocations: 3.938 kB / 3.137 GB, free: 316.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002465/7.763, allocations: 0.5099 MB / 3.137 GB, free: 316.5 MB / 0.948 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.004093/7.767, allocations: 2.137 MB / 3.14 GB, free: 315.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002981/7.77, allocations: 0.9435 MB / 3.14 GB, free: 314.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/7.77, allocations: 1 kB / 3.14 GB, free: 314.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/7.771, allocations: 448.1 kB / 3.141 GB, free: 314.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/7.774, allocations: 270.6 kB / 3.141 GB, free: 314.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/7.781, allocations: 1.762 MB / 3.143 GB, free: 313.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009128/7.782, allocations: 1.16 MB / 3.144 GB, free: 313 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0035/7.785, allocations: 0.5568 MB / 3.145 GB, free: 312.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000995/7.786, allocations: 444.2 kB / 3.145 GB, free: 312.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/7.786, allocations: 3.938 kB / 3.145 GB, free: 312.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/7.894, allocations: 23.26 MB / 3.168 GB, free: 307.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/7.894, allocations: 177.3 kB / 3.168 GB, free: 307.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.739/11.63, allocations: 3.938 kB / 3.168 GB, free: 307.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_WindTurbine.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)