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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 288.2 MB / 303.2 MB, free: 8.246 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.00105/0.00105, allocations: 187.3 kB / 371.8 MB, free: 10.28 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.961/1.961, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0008857/0.0008858, allocations: 93.09 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004031, allocations: 10.72 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2664, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.899/6.166, allocations: 2.101 GB / 3.081 GB, free: 208.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/6.166, allocations: 99.95 kB / 3.081 GB, free: 208.3 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.1213/6.287, allocations: 50.69 MB / 3.131 GB, free: 157.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.897e-06/6.288, allocations: 3.938 kB / 3.131 GB, free: 157.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001885/6.288, allocations: 36 kB / 3.131 GB, free: 157.3 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.004414/6.292, allocations: 1.456 MB / 3.132 GB, free: 155.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/6.292, allocations: 15.95 kB / 3.132 GB, free: 155.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005501/6.293, allocations: 160.3 kB / 3.132 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/6.295, allocations: 274.7 kB / 3.132 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/6.297, allocations: 0.8027 MB / 3.133 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-05/6.297, allocations: 74 kB / 3.133 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/6.297, allocations: 92 kB / 3.133 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/6.3, allocations: 1.147 MB / 3.134 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/6.3, allocations: 11.92 kB / 3.134 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/6.3, allocations: 40 kB / 3.135 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.927e-05/6.3, allocations: 49.98 kB / 3.135 GB, free: 153 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/6.302, allocations: 1.292 MB / 3.136 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007373/6.31, allocations: 4.372 MB / 3.14 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/6.311, allocations: 0.8112 MB / 3.141 GB, free: 146.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.982e-05/6.311, allocations: 32.7 kB / 3.141 GB, free: 146.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007597/6.312, allocations: 469.8 kB / 3.141 GB, free: 145.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 5.34e-06/6.312, allocations: 3.938 kB / 3.141 GB, free: 145.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002275/6.315, allocations: 1.093 MB / 3.142 GB, free: 144.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/6.315, allocations: 346.8 kB / 3.143 GB, free: 144.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/6.316, allocations: 0.882 MB / 3.144 GB, free: 143.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/6.316, allocations: 41.7 kB / 3.144 GB, free: 143.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004247/6.317, allocations: 0.5154 MB / 3.144 GB, free: 142.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/6.317, allocations: 276 kB / 3.144 GB, free: 142.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/6.317, allocations: 12 kB / 3.144 GB, free: 142.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/6.317, allocations: 341.8 kB / 3.145 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/6.318, allocations: 253.9 kB / 3.145 GB, free: 141.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/6.318, allocations: 437.4 kB / 3.145 GB, free: 141.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/6.319, allocations: 320.5 kB / 3.146 GB, free: 141.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/6.319, allocations: 4 kB / 3.146 GB, free: 141.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001481/6.32, allocations: 0.829 MB / 3.147 GB, free: 140.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002868/6.321, allocations: 0.96 MB / 3.147 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/6.321, allocations: 4 kB / 3.147 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002466/6.321, allocations: 32.8 kB / 3.148 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/6.322, allocations: 175.7 kB / 3.148 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003306/6.322, allocations: 0.5329 MB / 3.148 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009183/6.323, allocations: 103.3 kB / 3.148 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/6.323, allocations: 31.98 kB / 3.148 GB, free: 138.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/6.323, allocations: 4 kB / 3.148 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00113/6.324, allocations: 0.6949 MB / 3.149 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/6.324, allocations: 4 kB / 3.149 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/6.324, allocations: 4 kB / 3.149 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/6.325, allocations: 175.7 kB / 3.149 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/6.325, allocations: 11.95 kB / 3.149 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008611/6.326, allocations: 103.4 kB / 3.149 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.191e-05/6.326, allocations: 39.92 kB / 3.149 GB, free: 137.3 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.00078/6.327, allocations: 399.6 kB / 3.15 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/6.327, allocations: 102.8 kB / 3.15 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/6.329, allocations: 1.001 MB / 3.151 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/6.329, allocations: 12 kB / 3.151 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/6.329, allocations: 0 / 3.151 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/6.329, allocations: 3.984 kB / 3.151 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/6.331, allocations: 1.343 MB / 3.152 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/6.331, allocations: 0 / 3.152 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/6.332, allocations: 159.9 kB / 3.152 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/6.332, allocations: 28.83 kB / 3.152 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-05/6.332, allocations: 23.98 kB / 3.152 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008442/6.333, allocations: 1.288 MB / 3.154 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/6.333, allocations: 0 / 3.154 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/6.334, allocations: 0.896 MB / 3.154 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/6.335, allocations: 331.4 kB / 3.155 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/6.335, allocations: 23.98 kB / 3.155 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006756/6.336, allocations: 67.95 kB / 3.155 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/6.336, allocations: 64.86 kB / 3.155 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/6.336, allocations: 35.98 kB / 3.155 GB, free: 131.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001089/6.337, allocations: 0.691 MB / 3.156 GB, free: 130.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.42e-07/6.337, allocations: 0 / 3.156 GB, free: 130.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002201/6.339, allocations: 0.5489 MB / 3.156 GB, free: 130 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.004042/6.343, allocations: 2.067 MB / 3.158 GB, free: 128 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002464/6.346, allocations: 1.054 MB / 3.159 GB, free: 127 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/6.346, allocations: 4 kB / 3.159 GB, free: 127 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008635/6.347, allocations: 496.2 kB / 3.16 GB, free: 126.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/6.349, allocations: 287.1 kB / 3.16 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/6.362, allocations: 7.616 MB / 3.167 GB, free: 118.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008343/6.363, allocations: 1.154 MB / 3.169 GB, free: 117.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001591/6.365, allocations: 407.6 kB / 3.169 GB, free: 116.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007519/6.366, allocations: 463.2 kB / 3.169 GB, free: 116.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.226e-05/6.366, allocations: 0 / 3.169 GB, free: 116.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05383/6.42, allocations: 23.9 MB / 3.193 GB, free: 92.65 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/6.42, allocations: 262.9 kB / 3.193 GB, free: 92.29 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.267/9.687, allocations: 3.938 kB / 3.193 GB, free: 92.29 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)