Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.474/2.474, allocations: 284.8 MB / 297.3 MB, free: 6.32 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002398/0.002397, allocations: 172.9 kB / 365.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.2 MB / 0.6241 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.00107, allocations: 89.86 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.142e-05, allocations: 8 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.7895, allocations: 115.2 MB / 0.97 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.931/7.72, allocations: 2.107 GB / 3.077 GB, free: 276.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003821/7.721, allocations: 110.1 kB / 3.077 GB, free: 276.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2404/7.961, allocations: 63.13 MB / 3.138 GB, free: 245.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.412e-06/7.961, allocations: 0 / 3.138 GB, free: 245.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000127/7.961, allocations: 35.98 kB / 3.138 GB, free: 245.4 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.003025/7.964, allocations: 1.37 MB / 3.14 GB, free: 244.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/7.964, allocations: 8.031 kB / 3.14 GB, free: 244.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/7.967, allocations: 305.4 kB / 3.14 GB, free: 243.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/7.969, allocations: 0.826 MB / 3.141 GB, free: 243.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.086e-05/7.969, allocations: 79.8 kB / 3.141 GB, free: 243 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/7.969, allocations: 98 kB / 3.141 GB, free: 242.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/7.972, allocations: 1.261 MB / 3.142 GB, free: 242 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/7.972, allocations: 3.938 kB / 3.142 GB, free: 242 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/7.972, allocations: 50.48 kB / 3.142 GB, free: 241.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.594e-05/7.972, allocations: 65.92 kB / 3.142 GB, free: 241.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/7.975, allocations: 1.404 MB / 3.144 GB, free: 240.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008187/7.983, allocations: 4.721 MB / 3.148 GB, free: 236.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/7.985, allocations: 0.982 MB / 3.149 GB, free: 236 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008304/7.986, allocations: 407.5 kB / 3.15 GB, free: 235.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/7.987, allocations: 121.4 kB / 3.15 GB, free: 235.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/7.988, allocations: 0.5598 MB / 3.15 GB, free: 235.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.497e-06/7.988, allocations: 0 / 3.15 GB, free: 235.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.003884/7.992, allocations: 1.431 MB / 3.152 GB, free: 234 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/7.992, allocations: 299.2 kB / 3.152 GB, free: 233.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/7.993, allocations: 0.8595 MB / 3.153 GB, free: 233 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/7.993, allocations: 44.27 kB / 3.153 GB, free: 232.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/7.994, allocations: 0.5425 MB / 3.153 GB, free: 232.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/7.994, allocations: 320.5 kB / 3.154 GB, free: 232.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.769e-05/7.994, allocations: 15.12 kB / 3.154 GB, free: 232.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/7.994, allocations: 344.8 kB / 3.154 GB, free: 232 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/7.995, allocations: 333.2 kB / 3.154 GB, free: 231.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009731/7.996, allocations: 0.5114 MB / 3.155 GB, free: 231.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009557/7.997, allocations: 402.6 kB / 3.155 GB, free: 231.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/7.997, allocations: 7.984 kB / 3.155 GB, free: 231.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003354/8.001, allocations: 1.129 MB / 3.156 GB, free: 230.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002433/8.001, allocations: 1.149 MB / 3.157 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/8.001, allocations: 4 kB / 3.157 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/8.002, allocations: 210.8 kB / 3.158 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/8.004, allocations: 210.9 kB / 3.158 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007291/8.005, allocations: 0.6405 MB / 3.158 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/8.006, allocations: 109.3 kB / 3.159 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/8.006, allocations: 46.8 kB / 3.159 GB, free: 227.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/8.006, allocations: 4 kB / 3.159 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00193/8.008, allocations: 0.8301 MB / 3.159 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/8.008, allocations: 4.375 kB / 3.159 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/8.008, allocations: 8 kB / 3.159 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/8.01, allocations: 210.9 kB / 3.16 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/8.01, allocations: 8 kB / 3.16 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/8.011, allocations: 93.78 kB / 3.16 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.973e-05/8.011, allocations: 43.3 kB / 3.16 GB, free: 226.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 () * 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.0002904/8.011, allocations: 162.5 kB / 3.16 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/8.012, allocations: 114.5 kB / 3.16 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004123/8.016, allocations: 1.347 MB / 3.161 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/8.016, allocations: 12 kB / 3.161 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/8.016, allocations: 0 / 3.161 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/8.016, allocations: 13.84 kB / 3.161 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005856/8.022, allocations: 2.679 MB / 3.164 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/8.022, allocations: 4 kB / 3.164 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/8.023, allocations: 186.5 kB / 3.164 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/8.024, allocations: 213.7 kB / 3.164 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.351e-05/8.025, allocations: 29.73 kB / 3.164 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/8.027, allocations: 1.828 MB / 3.166 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/8.027, allocations: 7.938 kB / 3.166 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/8.031, allocations: 1.432 MB / 3.168 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007363/8.031, allocations: 355.2 kB / 3.168 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/8.032, allocations: 35.94 kB / 3.168 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/8.033, allocations: 91.91 kB / 3.168 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/8.033, allocations: 80.83 kB / 3.168 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/8.033, allocations: 35.98 kB / 3.168 GB, free: 219.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001255/8.035, allocations: 0.6957 MB / 3.169 GB, free: 218.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/8.035, allocations: 0 / 3.169 GB, free: 218.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001986/8.037, allocations: 499.8 kB / 3.169 GB, free: 218.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.00155/8.038, allocations: 0.5681 MB / 3.17 GB, free: 217.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003343/8.042, allocations: 1.381 MB / 3.171 GB, free: 216.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/8.042, allocations: 0.5 kB / 3.171 GB, free: 216.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/8.043, allocations: 0.6328 MB / 3.172 GB, free: 215.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/8.045, allocations: 298.5 kB / 3.172 GB, free: 215.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/8.049, allocations: 1.799 MB / 3.174 GB, free: 213.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007874/8.05, allocations: 1.21 MB / 3.175 GB, free: 212.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002887/8.053, allocations: 0.6025 MB / 3.176 GB, free: 211.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/8.053, allocations: 91.41 kB / 3.176 GB, free: 211.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.153e-06/8.054, allocations: 0 / 3.176 GB, free: 211.8 MB / 0.948 GB Notification: Performance of Templates: time 0.04412/8.098, allocations: 18.29 MB / 3.194 GB, free: 193.6 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)