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.507/1.507, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 190.6 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008843/0.0008842, allocations: 98.5 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 9.594 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2483, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.311/6.56, allocations: 2.221 GB / 3.121 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/6.56, allocations: 113.6 kB / 3.121 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.134/6.694, allocations: 57.95 MB / 3.178 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/6.694, allocations: 0 / 3.178 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001707/6.694, allocations: 39.14 kB / 3.178 GB, free: 223.6 MB / 0.8855 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.004199/6.699, allocations: 1.539 MB / 3.179 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/6.699, allocations: 11.5 kB / 3.179 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005665/6.699, allocations: 175.1 kB / 3.179 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/6.701, allocations: 291.1 kB / 3.18 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/6.703, allocations: 0.8454 MB / 3.18 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/6.704, allocations: 83.81 kB / 3.181 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003857/6.704, allocations: 97.19 kB / 3.181 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/6.707, allocations: 1.294 MB / 3.182 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/6.707, allocations: 0 / 3.182 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/6.707, allocations: 47.61 kB / 3.182 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/6.707, allocations: 54.95 kB / 3.182 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/6.709, allocations: 1.468 MB / 3.183 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006087/6.715, allocations: 4.723 MB / 3.188 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/6.717, allocations: 1.016 MB / 3.189 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/6.717, allocations: 132.1 kB / 3.189 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008086/6.718, allocations: 0.5742 MB / 3.19 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=94): time 3.076e-06/6.718, allocations: 0 / 3.19 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.004175/6.722, allocations: 2.032 MB / 3.192 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/6.722, allocations: 295.3 kB / 3.192 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/6.723, allocations: 0.8814 MB / 3.193 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-05/6.723, allocations: 43.58 kB / 3.193 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004446/6.724, allocations: 0.5437 MB / 3.193 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/6.724, allocations: 318.2 kB / 3.194 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/6.724, allocations: 17.69 kB / 3.194 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.571e-05/6.724, allocations: 343.8 kB / 3.194 GB, free: 215 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/6.725, allocations: 351.4 kB / 3.194 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006611/6.725, allocations: 0.5442 MB / 3.195 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/6.726, allocations: 426.3 kB / 3.195 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/6.726, allocations: 2.625 kB / 3.195 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002208/6.728, allocations: 1.188 MB / 3.196 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002336/6.729, allocations: 1.144 MB / 3.198 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/6.729, allocations: 4 kB / 3.198 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009027/6.73, allocations: 218.7 kB / 3.198 GB, free: 213 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008214/6.73, allocations: 203.6 kB / 3.198 GB, free: 213 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005051/6.731, allocations: 0.6434 MB / 3.199 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00097/6.732, allocations: 104.4 kB / 3.199 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.107e-05/6.732, allocations: 37.98 kB / 3.199 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/6.732, allocations: 3.938 kB / 3.199 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001421/6.733, allocations: 0.8858 MB / 3.2 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/6.733, allocations: 7.891 kB / 3.2 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/6.733, allocations: 7.938 kB / 3.2 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/6.734, allocations: 213.8 kB / 3.2 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/6.734, allocations: 11.66 kB / 3.2 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/6.735, allocations: 105.7 kB / 3.2 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/6.735, allocations: 34.39 kB / 3.2 GB, free: 212.1 MB / 0.8855 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 () * Number of clocked 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.0008381/6.736, allocations: 432.7 kB / 3.2 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/6.736, allocations: 114.1 kB / 3.201 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/6.739, allocations: 1.39 MB / 3.202 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/6.739, allocations: 11.56 kB / 3.202 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/6.739, allocations: 0 / 3.202 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/6.739, allocations: 11.97 kB / 3.202 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/6.743, allocations: 2.728 MB / 3.205 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/6.743, allocations: 4.156 kB / 3.205 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007487/6.744, allocations: 191.2 kB / 3.205 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008266/6.745, allocations: 212.6 kB / 3.205 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.478e-05/6.745, allocations: 26.05 kB / 3.205 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/6.747, allocations: 1.88 MB / 3.207 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/6.747, allocations: 7.938 kB / 3.207 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/6.749, allocations: 1.481 MB / 3.208 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007241/6.75, allocations: 362.3 kB / 3.209 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/6.75, allocations: 25.33 kB / 3.209 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/6.751, allocations: 96.89 kB / 3.209 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/6.751, allocations: 73.16 kB / 3.209 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/6.751, allocations: 42.06 kB / 3.209 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009833/6.752, allocations: 0.6953 MB / 3.21 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/6.752, allocations: 0 / 3.21 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001648/6.754, allocations: 0.5007 MB / 3.21 GB, free: 207.6 MB / 0.8855 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) * Number of clocked states: 0 () * 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.004554/6.758, allocations: 3.029 MB / 3.213 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002972/6.761, allocations: 1.412 MB / 3.214 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/6.761, allocations: 8.875 kB / 3.214 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/6.762, allocations: 0.6555 MB / 3.215 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/6.764, allocations: 303.1 kB / 3.215 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/6.776, allocations: 8.813 MB / 3.224 GB, free: 195.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/6.777, allocations: 1.21 MB / 3.225 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001569/6.779, allocations: 460.2 kB / 3.225 GB, free: 194 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006571/6.779, allocations: 0.4934 MB / 3.226 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.513e-06/6.779, allocations: 0 / 3.226 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05258/6.832, allocations: 26.54 MB / 3.252 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/6.832, allocations: 269.3 kB / 3.252 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/9.631, allocations: 4 kB / 3.252 GB, free: 167.2 MB / 0.8855 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)