Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.58/1.58, allocations: 289.9 MB / 297.4 MB, free: 6.438 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.001091/0.001091, allocations: 172.8 kB / 366.7 MB, free: 1.699 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.729/1.729, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.001092/0.001092, allocations: 94.81 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.519e-05/1.513e-05, allocations: 0 / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/0.7278, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.315/5.043, allocations: 2.107 GB / 3.08 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/5.043, allocations: 104.6 kB / 3.08 GB, free: 448 kB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8023/5.845, allocations: 61.84 MB / 3.141 GB, free: 326.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.773e-06/5.845, allocations: 1.406 kB / 3.141 GB, free: 326.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000258/5.846, allocations: 34.09 kB / 3.141 GB, free: 326.9 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.004855/5.85, allocations: 1.366 MB / 3.142 GB, free: 325.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/5.85, allocations: 11.59 kB / 3.142 GB, free: 325.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/5.853, allocations: 298.7 kB / 3.142 GB, free: 325.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/5.855, allocations: 0.8265 MB / 3.143 GB, free: 325.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/5.855, allocations: 38.52 kB / 3.143 GB, free: 325.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003424/5.855, allocations: 66.97 kB / 3.143 GB, free: 325 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002495/5.858, allocations: 1.28 MB / 3.145 GB, free: 324.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/5.86, allocations: 1.114 MB / 3.146 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/5.86, allocations: 3.75 kB / 3.146 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/5.86, allocations: 0 / 3.146 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.181e-05/5.861, allocations: 60.36 kB / 3.146 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006559/5.867, allocations: 4.523 MB / 3.15 GB, free: 320 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/5.869, allocations: 0.9211 MB / 3.151 GB, free: 319.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/5.869, allocations: 380.8 kB / 3.151 GB, free: 319.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/5.869, allocations: 120.8 kB / 3.151 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000775/5.87, allocations: 0.525 MB / 3.152 GB, free: 318.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.065e-06/5.87, allocations: 0 / 3.152 GB, free: 318.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002852/5.873, allocations: 1.359 MB / 3.153 GB, free: 318.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/5.873, allocations: 299.1 kB / 3.154 GB, free: 317.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/5.874, allocations: 0.7741 MB / 3.154 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/5.874, allocations: 37.69 kB / 3.154 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/5.875, allocations: 0.5428 MB / 3.155 GB, free: 316.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/5.875, allocations: 303.4 kB / 3.155 GB, free: 316.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/5.875, allocations: 0 / 3.155 GB, free: 316.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/5.875, allocations: 341.9 kB / 3.156 GB, free: 315.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/5.875, allocations: 314.5 kB / 3.156 GB, free: 315.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/5.876, allocations: 0.4947 MB / 3.156 GB, free: 315 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/5.877, allocations: 420.2 kB / 3.157 GB, free: 314.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/5.877, allocations: 4 kB / 3.157 GB, free: 314.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001708/5.878, allocations: 1.042 MB / 3.158 GB, free: 313.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/5.879, allocations: 1.149 MB / 3.159 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/5.879, allocations: 4 kB / 3.159 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005918/5.879, allocations: 120.7 kB / 3.159 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/5.88, allocations: 211.8 kB / 3.159 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005041/5.881, allocations: 0.6498 MB / 3.16 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/5.881, allocations: 94.91 kB / 3.16 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-05/5.881, allocations: 39.97 kB / 3.16 GB, free: 311.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/5.881, allocations: 4.938 kB / 3.16 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/5.883, allocations: 0.7794 MB / 3.161 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/5.883, allocations: 4 kB / 3.161 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/5.883, allocations: 12.33 kB / 3.161 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/5.883, allocations: 211.7 kB / 3.161 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/5.883, allocations: 9.25 kB / 3.161 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/5.884, allocations: 79.38 kB / 3.161 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/5.884, allocations: 35.98 kB / 3.161 GB, free: 310 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.0002292/5.884, allocations: 136.8 kB / 3.161 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/5.884, allocations: 102.8 kB / 3.161 GB, free: 309.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/5.887, allocations: 1.306 MB / 3.163 GB, free: 308.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/5.887, allocations: 12 kB / 3.163 GB, free: 308.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/5.887, allocations: 0 / 3.163 GB, free: 308.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/5.887, allocations: 3.984 kB / 3.163 GB, free: 308.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/5.89, allocations: 2.495 MB / 3.165 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/5.89, allocations: 4 kB / 3.165 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006607/5.891, allocations: 191.7 kB / 3.165 GB, free: 305.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006986/5.892, allocations: 212.7 kB / 3.165 GB, free: 305.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/5.892, allocations: 19.98 kB / 3.165 GB, free: 305.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/5.893, allocations: 1.76 MB / 3.167 GB, free: 303.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/5.894, allocations: 4.062 kB / 3.167 GB, free: 303.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/5.895, allocations: 1.411 MB / 3.169 GB, free: 302.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/5.896, allocations: 351.4 kB / 3.169 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/5.896, allocations: 4 kB / 3.169 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006916/5.897, allocations: 79.84 kB / 3.169 GB, free: 301.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/5.897, allocations: 77.16 kB / 3.169 GB, free: 301.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/5.897, allocations: 35.98 kB / 3.169 GB, free: 301.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006885/5.898, allocations: 0.6162 MB / 3.17 GB, free: 301 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/5.898, allocations: 8 kB / 3.17 GB, free: 301 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001513/5.899, allocations: 451.7 kB / 3.17 GB, free: 300.5 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.001249/5.9, allocations: 0.5282 MB / 3.171 GB, free: 300.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00171/5.902, allocations: 1.313 MB / 3.172 GB, free: 298.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/5.902, allocations: 0 / 3.172 GB, free: 298.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007464/5.903, allocations: 0.6039 MB / 3.172 GB, free: 298.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/5.904, allocations: 266.2 kB / 3.173 GB, free: 297.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/5.907, allocations: 1.755 MB / 3.174 GB, free: 296.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/5.907, allocations: 1.212 MB / 3.176 GB, free: 294.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001602/5.909, allocations: 0.5919 MB / 3.176 GB, free: 294.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/5.909, allocations: 91.41 kB / 3.176 GB, free: 294.2 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/5.909, allocations: 0 / 3.176 GB, free: 294.2 MB / 0.948 GB Notification: Performance of Templates: time 0.02632/5.936, allocations: 17.04 MB / 3.193 GB, free: 277.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)