Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_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.436/1.436, allocations: 249.5 MB / 257 MB, free: 6.891 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.0009329/0.000933, allocations: 187.9 kB / 316.3 MB, free: 3.246 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.565/1.565, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.001028/0.001027, allocations: 92.48 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.655e-05/1.657e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2019, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.247/5.449, allocations: 2.221 GB / 3.106 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/5.449, allocations: 103.9 kB / 3.106 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1271/5.576, allocations: 57.1 MB / 3.162 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.495e-06/5.576, allocations: 3.938 kB / 3.162 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001027/5.576, allocations: 39.92 kB / 3.162 GB, free: 127.3 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002436/5.579, allocations: 1.377 MB / 3.164 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/5.579, allocations: 8.031 kB / 3.164 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/5.58, allocations: 297.9 kB / 3.164 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/5.582, allocations: 0.8339 MB / 3.165 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/5.582, allocations: 36 kB / 3.165 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/5.582, allocations: 60 kB / 3.165 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001685/5.584, allocations: 1.284 MB / 3.166 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/5.585, allocations: 1.107 MB / 3.167 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/5.585, allocations: 0 / 3.167 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.995e-05/5.585, allocations: 4 kB / 3.167 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-05/5.585, allocations: 57.94 kB / 3.167 GB, free: 122 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005096/5.591, allocations: 4.523 MB / 3.172 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/5.592, allocations: 0.9149 MB / 3.172 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/5.592, allocations: 380 kB / 3.173 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/5.592, allocations: 121.9 kB / 3.173 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006516/5.593, allocations: 0.5247 MB / 3.173 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 2.254e-06/5.593, allocations: 0 / 3.173 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.00246/5.595, allocations: 1.36 MB / 3.175 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/5.596, allocations: 299.6 kB / 3.175 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009132/5.596, allocations: 0.778 MB / 3.176 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/5.597, allocations: 29.7 kB / 3.176 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/5.597, allocations: 0.5388 MB / 3.176 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/5.597, allocations: 311.3 kB / 3.177 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/5.597, allocations: 0 / 3.177 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/5.597, allocations: 341.9 kB / 3.177 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/5.598, allocations: 310.5 kB / 3.177 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004972/5.598, allocations: 0.4927 MB / 3.178 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/5.599, allocations: 424.3 kB / 3.178 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/5.599, allocations: 7.953 kB / 3.178 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001742/5.601, allocations: 1.047 MB / 3.179 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/5.601, allocations: 1.141 MB / 3.18 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/5.601, allocations: 4 kB / 3.18 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/5.601, allocations: 128.7 kB / 3.18 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007577/5.602, allocations: 203.8 kB / 3.181 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004624/5.603, allocations: 0.6498 MB / 3.181 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007161/5.603, allocations: 83.53 kB / 3.181 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/5.603, allocations: 39.98 kB / 3.181 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/5.603, allocations: 4 kB / 3.181 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001115/5.605, allocations: 0.7836 MB / 3.182 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/5.605, allocations: 7.938 kB / 3.182 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/5.605, allocations: 8 kB / 3.182 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/5.605, allocations: 215.6 kB / 3.182 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/5.605, allocations: 8 kB / 3.182 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/5.606, allocations: 83.53 kB / 3.182 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/5.606, allocations: 39.98 kB / 3.182 GB, free: 105.7 MB / 0.8698 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.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 (107): * Single equations (assignments): 106 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002025/5.606, allocations: 120.7 kB / 3.183 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001707/5.608, allocations: 1.038 MB / 3.184 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/5.608, allocations: 110.7 kB / 3.184 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/5.611, allocations: 1.301 MB / 3.185 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/5.611, allocations: 11.95 kB / 3.185 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/5.611, allocations: 4 kB / 3.185 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/5.611, allocations: 3.984 kB / 3.185 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/5.614, allocations: 2.501 MB / 3.187 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/5.614, allocations: 0 / 3.187 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/5.615, allocations: 195.7 kB / 3.188 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007192/5.615, allocations: 208.8 kB / 3.188 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/5.615, allocations: 15.98 kB / 3.188 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/5.617, allocations: 1.76 MB / 3.19 GB, free: 98.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/5.617, allocations: 8.062 kB / 3.19 GB, free: 98.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/5.619, allocations: 1.415 MB / 3.191 GB, free: 96.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/5.62, allocations: 359.3 kB / 3.191 GB, free: 96.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/5.62, allocations: 7.938 kB / 3.191 GB, free: 96.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/5.62, allocations: 75.91 kB / 3.191 GB, free: 96.24 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/5.621, allocations: 77.14 kB / 3.191 GB, free: 96.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/5.621, allocations: 35.98 kB / 3.191 GB, free: 96.13 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006865/5.621, allocations: 0.6163 MB / 3.192 GB, free: 95.52 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/5.621, allocations: 4 kB / 3.192 GB, free: 95.51 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001508/5.623, allocations: 447.8 kB / 3.193 GB, free: 95.07 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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.003206/5.626, allocations: 2.883 MB / 3.195 GB, free: 92.21 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001893/5.628, allocations: 1.312 MB / 3.197 GB, free: 90.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/5.628, allocations: 0 / 3.197 GB, free: 90.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007206/5.629, allocations: 0.6096 MB / 3.197 GB, free: 90.28 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/5.63, allocations: 278.4 kB / 3.197 GB, free: 90.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/5.633, allocations: 1.992 MB / 3.199 GB, free: 87.96 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/5.634, allocations: 1.214 MB / 3.201 GB, free: 86.72 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001575/5.635, allocations: 0.5973 MB / 3.201 GB, free: 86.12 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004855/5.636, allocations: 479.3 kB / 3.202 GB, free: 85.65 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/5.636, allocations: 0 / 3.202 GB, free: 85.65 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04986/5.686, allocations: 26.05 MB / 3.227 GB, free: 59.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/5.686, allocations: 204.7 kB / 3.227 GB, free: 59.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/8.525, allocations: 0 / 3.227 GB, free: 59.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)