Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_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.876/1.876, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001087/0.001087, allocations: 198.4 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.736/1.736, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0008554/0.0008553, allocations: 93.11 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005899/0.0005898, allocations: 11.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.266, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.351/5.617, allocations: 2.107 GB / 3.086 GB, free: 203 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/5.617, allocations: 111.9 kB / 3.086 GB, free: 202.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1411/5.758, allocations: 62.48 MB / 3.147 GB, free: 140 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214e-06/5.758, allocations: 3.938 kB / 3.147 GB, free: 140 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001626/5.759, allocations: 39.94 kB / 3.147 GB, free: 140 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.003733/5.762, allocations: 1.541 MB / 3.149 GB, free: 138.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/5.762, allocations: 12.03 kB / 3.149 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004227/5.763, allocations: 168.9 kB / 3.149 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/5.765, allocations: 310.5 kB / 3.149 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/5.766, allocations: 0.8378 MB / 3.15 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/5.766, allocations: 78.11 kB / 3.15 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/5.767, allocations: 100 kB / 3.15 GB, free: 136.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/5.769, allocations: 1.295 MB / 3.152 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/5.769, allocations: 7.938 kB / 3.152 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/5.769, allocations: 47.98 kB / 3.152 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.537e-05/5.769, allocations: 57.94 kB / 3.152 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/5.771, allocations: 1.463 MB / 3.153 GB, free: 133.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006664/5.778, allocations: 4.721 MB / 3.158 GB, free: 128.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/5.78, allocations: 1.021 MB / 3.159 GB, free: 127.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/5.78, allocations: 118.1 kB / 3.159 GB, free: 127.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008851/5.781, allocations: 0.5844 MB / 3.159 GB, free: 127.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 4.999e-06/5.781, allocations: 0 / 3.159 GB, free: 127.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004616/5.786, allocations: 2.042 MB / 3.161 GB, free: 125.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/5.786, allocations: 291.7 kB / 3.162 GB, free: 124.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/5.787, allocations: 0.8796 MB / 3.163 GB, free: 123.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.644e-05/5.788, allocations: 49.7 kB / 3.163 GB, free: 123.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000433/5.788, allocations: 0.535 MB / 3.163 GB, free: 123.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/5.788, allocations: 319.4 kB / 3.163 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/5.788, allocations: 12 kB / 3.163 GB, free: 122.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.958e-05/5.788, allocations: 349.9 kB / 3.164 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/5.789, allocations: 349.8 kB / 3.164 GB, free: 122.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006858/5.79, allocations: 0.5412 MB / 3.165 GB, free: 121.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006602/5.79, allocations: 436.9 kB / 3.165 GB, free: 121.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/5.79, allocations: 4 kB / 3.165 GB, free: 121.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002332/5.793, allocations: 1.184 MB / 3.166 GB, free: 120 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002941/5.793, allocations: 1.146 MB / 3.167 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/5.793, allocations: 4 kB / 3.167 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008884/5.794, allocations: 208.6 kB / 3.168 GB, free: 118.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008373/5.795, allocations: 211.7 kB / 3.168 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005299/5.795, allocations: 0.6421 MB / 3.168 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009724/5.796, allocations: 99.38 kB / 3.168 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-05/5.796, allocations: 39.97 kB / 3.169 GB, free: 117.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/5.796, allocations: 4 kB / 3.169 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001362/5.798, allocations: 0.8861 MB / 3.169 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/5.798, allocations: 4.359 kB / 3.169 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/5.798, allocations: 12 kB / 3.169 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/5.799, allocations: 207.7 kB / 3.17 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/5.799, allocations: 11.94 kB / 3.17 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009241/5.8, allocations: 103.4 kB / 3.17 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/5.8, allocations: 39.92 kB / 3.17 GB, free: 116.2 MB / 0.948 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.0008347/5.8, allocations: 430.1 kB / 3.17 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/5.801, allocations: 114.7 kB / 3.17 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/5.804, allocations: 1.396 MB / 3.172 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/5.804, allocations: 8 kB / 3.172 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/5.804, allocations: 4 kB / 3.172 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/5.804, allocations: 7.969 kB / 3.172 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/5.809, allocations: 2.722 MB / 3.174 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/5.809, allocations: 3.984 kB / 3.174 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007816/5.81, allocations: 195.7 kB / 3.175 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008316/5.811, allocations: 208.8 kB / 3.175 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.931e-05/5.811, allocations: 27.98 kB / 3.175 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/5.813, allocations: 1.874 MB / 3.177 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/5.813, allocations: 4 kB / 3.177 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/5.815, allocations: 1.487 MB / 3.178 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007912/5.816, allocations: 367.2 kB / 3.178 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/5.816, allocations: 27.95 kB / 3.178 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009355/5.817, allocations: 87.91 kB / 3.178 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/5.817, allocations: 76.89 kB / 3.179 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/5.817, allocations: 39.98 kB / 3.179 GB, free: 106.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001071/5.818, allocations: 0.7031 MB / 3.179 GB, free: 106.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/5.818, allocations: 0 / 3.179 GB, free: 106.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002066/5.82, allocations: 0.4998 MB / 3.18 GB, free: 105.6 MB / 0.948 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.003964/5.824, allocations: 3.02 MB / 3.183 GB, free: 102.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002532/5.827, allocations: 1.421 MB / 3.184 GB, free: 101.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/5.827, allocations: 8.188 kB / 3.184 GB, free: 101.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/5.828, allocations: 0.6446 MB / 3.185 GB, free: 100.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/5.83, allocations: 304 kB / 3.185 GB, free: 100.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/5.845, allocations: 8.818 MB / 3.194 GB, free: 91.22 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/5.846, allocations: 1.206 MB / 3.195 GB, free: 89.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002068/5.848, allocations: 464.1 kB / 3.195 GB, free: 89.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009604/5.849, allocations: 495.2 kB / 3.196 GB, free: 89.04 MB / 0.948 GB Notification: Performance of SimCode: time 2.194e-06/5.849, allocations: 4 kB / 3.196 GB, free: 89.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05294/5.902, allocations: 26.57 MB / 3.222 GB, free: 62.77 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/5.902, allocations: 282.3 kB / 3.222 GB, free: 62.41 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/8.88, allocations: 3.938 kB / 3.222 GB, free: 62.41 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)