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.552/1.552, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001287/0.001287, allocations: 188.8 kB / 361.4 MB, free: 6.816 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.75/1.75, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009569/0.000957, allocations: 94.03 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.45e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7142, allocations: 115.3 MB / 0.9644 GB, free: 79.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.135/4.849, allocations: 2.106 GB / 3.07 GB, free: 53.77 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004324/4.85, allocations: 108.5 kB / 3.07 GB, free: 53.67 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6904/5.54, allocations: 61.83 MB / 3.131 GB, free: 319.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/5.54, allocations: 0 / 3.131 GB, free: 319.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001081/5.541, allocations: 35.88 kB / 3.131 GB, free: 319.8 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.002309/5.543, allocations: 1.366 MB / 3.132 GB, free: 319 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/5.543, allocations: 15.31 kB / 3.132 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/5.544, allocations: 303.9 kB / 3.133 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/5.546, allocations: 0.8288 MB / 3.133 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/5.546, allocations: 37.16 kB / 3.133 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/5.546, allocations: 61.16 kB / 3.133 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002021/5.548, allocations: 1.286 MB / 3.135 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/5.55, allocations: 1.111 MB / 3.136 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/5.55, allocations: 1.094 kB / 3.136 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/5.55, allocations: 3.062 kB / 3.136 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.202e-05/5.55, allocations: 55.8 kB / 3.136 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006463/5.557, allocations: 4.523 MB / 3.14 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/5.558, allocations: 0.9155 MB / 3.141 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/5.559, allocations: 385.4 kB / 3.142 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/5.559, allocations: 119.5 kB / 3.142 GB, free: 316 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008491/5.56, allocations: 0.5269 MB / 3.142 GB, free: 315.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.406e-06/5.56, allocations: 0 / 3.142 GB, free: 315.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.00291/5.563, allocations: 1.364 MB / 3.143 GB, free: 315.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/5.563, allocations: 300.3 kB / 3.144 GB, free: 315.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/5.564, allocations: 0.7787 MB / 3.145 GB, free: 315 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/5.564, allocations: 27.98 kB / 3.145 GB, free: 315 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004215/5.564, allocations: 0.5385 MB / 3.145 GB, free: 314.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/5.565, allocations: 309.6 kB / 3.145 GB, free: 314.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/5.565, allocations: 0 / 3.145 GB, free: 314.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/5.565, allocations: 342.9 kB / 3.146 GB, free: 314.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/5.565, allocations: 311.5 kB / 3.146 GB, free: 314.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/5.566, allocations: 0.4948 MB / 3.146 GB, free: 314.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007915/5.567, allocations: 421.6 kB / 3.147 GB, free: 314.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/5.567, allocations: 0 / 3.147 GB, free: 314.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002151/5.569, allocations: 1.057 MB / 3.148 GB, free: 313.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00029/5.569, allocations: 1.139 MB / 3.149 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/5.569, allocations: 7.266 kB / 3.149 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000708/5.57, allocations: 125.8 kB / 3.149 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/5.571, allocations: 209.3 kB / 3.149 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005594/5.571, allocations: 0.6434 MB / 3.15 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/5.572, allocations: 83.72 kB / 3.15 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/5.572, allocations: 39.97 kB / 3.15 GB, free: 312.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/5.572, allocations: 3.812 kB / 3.15 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001525/5.574, allocations: 0.7845 MB / 3.151 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/5.574, allocations: 3.562 kB / 3.151 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/5.574, allocations: 7.906 kB / 3.151 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/5.575, allocations: 205.9 kB / 3.151 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/5.575, allocations: 9.984 kB / 3.151 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008559/5.576, allocations: 87.89 kB / 3.151 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/5.576, allocations: 38.05 kB / 3.151 GB, free: 312.1 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 () * 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.000306/5.576, allocations: 132.9 kB / 3.151 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/5.577, allocations: 106.8 kB / 3.151 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/5.58, allocations: 1.31 MB / 3.153 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/5.58, allocations: 10.22 kB / 3.153 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/5.58, allocations: 2.188 kB / 3.153 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/5.58, allocations: 5.109 kB / 3.153 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/5.586, allocations: 2.494 MB / 3.155 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/5.586, allocations: 2.547 kB / 3.155 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00083/5.587, allocations: 195.2 kB / 3.155 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000868/5.588, allocations: 209.8 kB / 3.156 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.662e-05/5.588, allocations: 19.45 kB / 3.156 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/5.59, allocations: 1.767 MB / 3.157 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/5.59, allocations: 5.109 kB / 3.157 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/5.593, allocations: 1.415 MB / 3.159 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000725/5.593, allocations: 351.4 kB / 3.159 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/5.594, allocations: 6.672 kB / 3.159 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009215/5.595, allocations: 78.17 kB / 3.159 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/5.595, allocations: 77.09 kB / 3.159 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.885e-05/5.595, allocations: 38.45 kB / 3.159 GB, free: 309.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001311/5.596, allocations: 0.6118 MB / 3.16 GB, free: 309.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/5.596, allocations: 0 / 3.16 GB, free: 309.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002554/5.599, allocations: 456.6 kB / 3.16 GB, free: 309.2 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) * 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.001507/5.6, allocations: 0.5255 MB / 3.161 GB, free: 309.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002837/5.603, allocations: 1.308 MB / 3.162 GB, free: 308.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/5.603, allocations: 1.219 kB / 3.162 GB, free: 308.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/5.604, allocations: 0.6013 MB / 3.163 GB, free: 308.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/5.606, allocations: 278.2 kB / 3.163 GB, free: 308.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/5.61, allocations: 1.747 MB / 3.165 GB, free: 307.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/5.611, allocations: 1.212 MB / 3.166 GB, free: 306.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002273/5.613, allocations: 0.5974 MB / 3.166 GB, free: 306.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/5.614, allocations: 89.88 kB / 3.166 GB, free: 306.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.52e-07/5.614, allocations: 0 / 3.166 GB, free: 306.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03282/5.646, allocations: 17.03 MB / 3.183 GB, free: 305.7 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)