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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.751/1.751, allocations: 288.4 MB / 304.3 MB, free: 8.164 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.001006/0.001006, allocations: 179.5 kB / 373 MB, free: 10.15 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.516/1.516, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.000904/0.000904, allocations: 92.97 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004317, allocations: 11.53 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.981/5.202, allocations: 2.107 GB / 3.088 GB, free: 208.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/5.202, allocations: 115.9 kB / 3.088 GB, free: 208 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1334/5.336, allocations: 63.5 MB / 3.15 GB, free: 144.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.036e-06/5.336, allocations: 0 / 3.15 GB, free: 144.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001089/5.336, allocations: 31.94 kB / 3.15 GB, free: 144.1 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.002647/5.339, allocations: 1.52 MB / 3.151 GB, free: 142.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/5.339, allocations: 8.031 kB / 3.151 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/5.34, allocations: 306.8 kB / 3.152 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/5.341, allocations: 0.8734 MB / 3.152 GB, free: 141.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/5.341, allocations: 82.47 kB / 3.152 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/5.341, allocations: 100.4 kB / 3.153 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/5.343, allocations: 1.304 MB / 3.154 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/5.343, allocations: 11.92 kB / 3.154 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.653e-05/5.343, allocations: 44 kB / 3.154 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.875e-05/5.343, allocations: 65.91 kB / 3.154 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/5.345, allocations: 1.456 MB / 3.155 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004846/5.35, allocations: 4.72 MB / 3.16 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/5.351, allocations: 1.015 MB / 3.161 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/5.352, allocations: 441.6 kB / 3.161 GB, free: 131.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/5.352, allocations: 122.1 kB / 3.161 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007447/5.353, allocations: 0.5844 MB / 3.162 GB, free: 131 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 2.695e-06/5.353, allocations: 3.938 kB / 3.162 GB, free: 131 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004329/5.357, allocations: 2.111 MB / 3.164 GB, free: 128.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/5.357, allocations: 295.7 kB / 3.164 GB, free: 128.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/5.359, allocations: 0.978 MB / 3.165 GB, free: 127.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-05/5.359, allocations: 49.7 kB / 3.165 GB, free: 127.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/5.359, allocations: 0.5428 MB / 3.166 GB, free: 126.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/5.359, allocations: 319.4 kB / 3.166 GB, free: 126.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/5.359, allocations: 16 kB / 3.166 GB, free: 126.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/5.359, allocations: 345.9 kB / 3.167 GB, free: 126.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/5.36, allocations: 345.8 kB / 3.167 GB, free: 125.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/5.361, allocations: 0.5446 MB / 3.167 GB, free: 125.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/5.362, allocations: 0.8932 MB / 3.168 GB, free: 124.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/5.362, allocations: 0 / 3.168 GB, free: 124.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002165/5.364, allocations: 1.219 MB / 3.17 GB, free: 123.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/5.364, allocations: 172.9 kB / 3.17 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/5.364, allocations: 7.984 kB / 3.17 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/5.365, allocations: 268.4 kB / 3.17 GB, free: 122.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/5.366, allocations: 195.8 kB / 3.17 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/5.368, allocations: 1.988 MB / 3.172 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008336/5.369, allocations: 107.3 kB / 3.172 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/5.369, allocations: 43.98 kB / 3.172 GB, free: 120.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/5.369, allocations: 4 kB / 3.172 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001338/5.371, allocations: 0.8822 MB / 3.173 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/5.371, allocations: 4.375 kB / 3.173 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/5.371, allocations: 12 kB / 3.173 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/5.371, allocations: 207.7 kB / 3.173 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/5.371, allocations: 11.94 kB / 3.173 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006719/5.372, allocations: 99.38 kB / 3.173 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/5.372, allocations: 39.98 kB / 3.173 GB, free: 118.9 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.0006781/5.373, allocations: 428.8 kB / 3.174 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/5.373, allocations: 110.7 kB / 3.174 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/5.375, allocations: 1.384 MB / 3.175 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/5.375, allocations: 15.94 kB / 3.175 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/5.375, allocations: 0 / 3.175 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/5.375, allocations: 7.922 kB / 3.175 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/5.379, allocations: 2.726 MB / 3.178 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/5.379, allocations: 4 kB / 3.178 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/5.38, allocations: 195.7 kB / 3.178 GB, free: 113.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007301/5.38, allocations: 208.8 kB / 3.178 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/5.38, allocations: 31.98 kB / 3.178 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/5.382, allocations: 1.831 MB / 3.18 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/5.382, allocations: 4 kB / 3.18 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/5.384, allocations: 1.404 MB / 3.182 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006769/5.385, allocations: 359.2 kB / 3.182 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/5.385, allocations: 20 kB / 3.182 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/5.386, allocations: 103.8 kB / 3.182 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/5.386, allocations: 72.84 kB / 3.182 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/5.386, allocations: 39.97 kB / 3.182 GB, free: 109.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009571/5.387, allocations: 0.7031 MB / 3.183 GB, free: 108.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.21e-07/5.387, allocations: 0 / 3.183 GB, free: 108.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001641/5.389, allocations: 0.4998 MB / 3.183 GB, free: 108.4 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.001259/5.39, allocations: 0.605 MB / 3.184 GB, free: 108 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002412/5.393, allocations: 1.544 MB / 3.185 GB, free: 106.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/5.393, allocations: 0 / 3.185 GB, free: 106.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008587/5.393, allocations: 0.6575 MB / 3.186 GB, free: 105.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/5.395, allocations: 307.6 kB / 3.186 GB, free: 105.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/5.398, allocations: 2.859 MB / 3.189 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/5.399, allocations: 1.189 MB / 3.19 GB, free: 101.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00126/5.4, allocations: 472 kB / 3.191 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/5.401, allocations: 115.4 kB / 3.191 GB, free: 100.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/5.401, allocations: 0 / 3.191 GB, free: 100.8 MB / 0.948 GB Notification: Performance of Templates: time 0.02347/5.424, allocations: 17.38 MB / 3.208 GB, free: 83.48 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)