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.766/1.766, allocations: 288.3 MB / 303.2 MB, free: 8.34 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.001102/0.001102, allocations: 177.1 kB / 371.8 MB, free: 10.3 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.833/1.833, allocations: 205.4 MB / 0.6306 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.0009774/0.0009772, allocations: 111.3 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004607, allocations: 16.56 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2939, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6/6.294, allocations: 2.107 GB / 3.086 GB, free: 159.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/6.295, allocations: 118.5 kB / 3.086 GB, free: 159.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1467/6.441, allocations: 63.55 MB / 3.148 GB, free: 102.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.335e-06/6.442, allocations: 0 / 3.148 GB, free: 102.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001616/6.442, allocations: 35.94 kB / 3.148 GB, free: 102.6 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.003908/6.446, allocations: 1.532 MB / 3.15 GB, free: 101 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/6.446, allocations: 16.02 kB / 3.15 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/6.447, allocations: 302.5 kB / 3.15 GB, free: 100.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/6.45, allocations: 0.8416 MB / 3.151 GB, free: 99.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/6.45, allocations: 82.11 kB / 3.151 GB, free: 99.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/6.45, allocations: 104 kB / 3.151 GB, free: 99.58 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/6.452, allocations: 1.295 MB / 3.152 GB, free: 98.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/6.453, allocations: 4 kB / 3.152 GB, free: 98.19 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/6.453, allocations: 48 kB / 3.153 GB, free: 98.14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.253e-05/6.453, allocations: 53.98 kB / 3.153 GB, free: 98.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/6.455, allocations: 1.463 MB / 3.154 GB, free: 96.63 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006427/6.461, allocations: 4.717 MB / 3.159 GB, free: 91.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/6.463, allocations: 1.034 MB / 3.16 GB, free: 90.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/6.463, allocations: 118.1 kB / 3.16 GB, free: 90.47 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008491/6.464, allocations: 0.5766 MB / 3.16 GB, free: 89.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 4.178e-06/6.464, allocations: 4 kB / 3.16 GB, free: 89.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004313/6.468, allocations: 2.034 MB / 3.162 GB, free: 87.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/6.469, allocations: 299.7 kB / 3.163 GB, free: 87.44 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/6.47, allocations: 0.8718 MB / 3.163 GB, free: 86.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.642e-05/6.47, allocations: 49.7 kB / 3.163 GB, free: 86.49 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/6.47, allocations: 0.5311 MB / 3.164 GB, free: 85.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/6.471, allocations: 319.5 kB / 3.164 GB, free: 85.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/6.471, allocations: 27.94 kB / 3.164 GB, free: 85.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/6.471, allocations: 341.9 kB / 3.165 GB, free: 85.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/6.471, allocations: 349.8 kB / 3.165 GB, free: 84.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/6.472, allocations: 0.5412 MB / 3.165 GB, free: 84.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006462/6.473, allocations: 436.9 kB / 3.166 GB, free: 83.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/6.473, allocations: 4 kB / 3.166 GB, free: 83.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002161/6.475, allocations: 1.18 MB / 3.167 GB, free: 82.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003024/6.475, allocations: 1.145 MB / 3.168 GB, free: 81.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/6.475, allocations: 4 kB / 3.168 GB, free: 81.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009671/6.476, allocations: 216.6 kB / 3.168 GB, free: 81.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007814/6.477, allocations: 207.8 kB / 3.169 GB, free: 81.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005062/6.477, allocations: 0.6459 MB / 3.169 GB, free: 80.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008807/6.478, allocations: 103.4 kB / 3.169 GB, free: 80.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/6.478, allocations: 43.97 kB / 3.169 GB, free: 80.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/6.478, allocations: 4 kB / 3.169 GB, free: 80.23 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00129/6.48, allocations: 0.8823 MB / 3.17 GB, free: 79.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/6.48, allocations: 7.891 kB / 3.17 GB, free: 79.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/6.48, allocations: 11.98 kB / 3.17 GB, free: 79.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/6.481, allocations: 199.8 kB / 3.17 GB, free: 79.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/6.481, allocations: 12.25 kB / 3.17 GB, free: 79.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/6.481, allocations: 107.3 kB / 3.171 GB, free: 79.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/6.481, allocations: 39.98 kB / 3.171 GB, free: 78.97 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.000735/6.482, allocations: 420.8 kB / 3.171 GB, free: 78.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/6.482, allocations: 106.7 kB / 3.171 GB, free: 78.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/6.485, allocations: 1.392 MB / 3.172 GB, free: 77.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/6.485, allocations: 12 kB / 3.172 GB, free: 77.03 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/6.485, allocations: 4 kB / 3.172 GB, free: 77.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/6.485, allocations: 3.984 kB / 3.172 GB, free: 77.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/6.489, allocations: 2.737 MB / 3.175 GB, free: 74.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/6.489, allocations: 3.984 kB / 3.175 GB, free: 74.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/6.489, allocations: 199.9 kB / 3.175 GB, free: 74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007475/6.49, allocations: 208.6 kB / 3.176 GB, free: 73.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/6.49, allocations: 27.98 kB / 3.176 GB, free: 73.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/6.492, allocations: 1.866 MB / 3.177 GB, free: 71.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/6.492, allocations: 7.938 kB / 3.177 GB, free: 71.77 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/6.494, allocations: 1.487 MB / 3.179 GB, free: 70.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/6.495, allocations: 351.4 kB / 3.179 GB, free: 69.83 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/6.495, allocations: 27.95 kB / 3.179 GB, free: 69.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007496/6.496, allocations: 91.91 kB / 3.179 GB, free: 69.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/6.496, allocations: 76.89 kB / 3.179 GB, free: 69.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.749e-05/6.496, allocations: 35.98 kB / 3.179 GB, free: 69.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009222/6.497, allocations: 0.7031 MB / 3.18 GB, free: 68.89 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.61e-07/6.497, allocations: 0 / 3.18 GB, free: 68.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001734/6.499, allocations: 0.5074 MB / 3.181 GB, free: 68.38 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.001487/6.5, allocations: 0.6027 MB / 3.181 GB, free: 67.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002404/6.503, allocations: 1.425 MB / 3.183 GB, free: 66.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/6.503, allocations: 0 / 3.183 GB, free: 66.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009018/6.504, allocations: 0.6498 MB / 3.183 GB, free: 65.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/6.505, allocations: 304.1 kB / 3.183 GB, free: 65.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/6.509, allocations: 2.854 MB / 3.186 GB, free: 62.65 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/6.51, allocations: 1.214 MB / 3.187 GB, free: 61.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001594/6.512, allocations: 460.1 kB / 3.188 GB, free: 60.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/6.512, allocations: 119.4 kB / 3.188 GB, free: 60.84 MB / 0.948 GB Notification: Performance of SimCode: time 2.174e-06/6.512, allocations: 0 / 3.188 GB, free: 60.84 MB / 0.948 GB Notification: Performance of Templates: time 0.02579/6.538, allocations: 16.61 MB / 3.204 GB, free: 44.32 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)