Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.28/2.28, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 183.4 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.406/2.406, allocations: 205.4 MB / 0.5772 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009222/0.000922, allocations: 89.88 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.000481, allocations: 18.73 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.389/7.612, allocations: 2.225 GB / 3.124 GB, free: 239 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003926/7.613, allocations: 122.3 kB / 3.124 GB, free: 239 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2445/7.857, allocations: 63.47 MB / 3.186 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.295e-06/7.857, allocations: 4 kB / 3.186 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001853/7.857, allocations: 39.08 kB / 3.186 GB, free: 226.3 MB / 0.8855 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.004999/7.862, allocations: 1.539 MB / 3.188 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/7.862, allocations: 11.84 kB / 3.188 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/7.865, allocations: 295.4 kB / 3.188 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/7.868, allocations: 0.8445 MB / 3.189 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.965e-05/7.868, allocations: 79.19 kB / 3.189 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/7.868, allocations: 101.7 kB / 3.189 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003519/7.872, allocations: 1.307 MB / 3.19 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/7.872, allocations: 3.938 kB / 3.19 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/7.872, allocations: 45.28 kB / 3.19 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.064e-05/7.872, allocations: 60.23 kB / 3.19 GB, free: 224 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004141/7.877, allocations: 1.466 MB / 3.192 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/7.887, allocations: 4.721 MB / 3.197 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/7.89, allocations: 1.008 MB / 3.197 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/7.891, allocations: 428.7 kB / 3.198 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/7.891, allocations: 124.5 kB / 3.198 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001444/7.893, allocations: 0.5897 MB / 3.199 GB, free: 220 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=94): time 5.079e-06/7.893, allocations: 4 kB / 3.199 GB, free: 220 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.008338/7.901, allocations: 2.114 MB / 3.201 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/7.901, allocations: 295.1 kB / 3.201 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/7.903, allocations: 0.9826 MB / 3.202 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003214/7.904, allocations: 44.08 kB / 3.202 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/7.904, allocations: 0.5427 MB / 3.202 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/7.905, allocations: 317 kB / 3.203 GB, free: 218 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/7.905, allocations: 26.25 kB / 3.203 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/7.905, allocations: 339.5 kB / 3.203 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/7.906, allocations: 350.3 kB / 3.203 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/7.907, allocations: 0.5461 MB / 3.204 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/7.908, allocations: 433.9 kB / 3.204 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/7.908, allocations: 0 / 3.204 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004595/7.913, allocations: 1.22 MB / 3.206 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/7.913, allocations: 172.4 kB / 3.206 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/7.913, allocations: 3.812 kB / 3.206 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/7.915, allocations: 268.2 kB / 3.206 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/7.917, allocations: 207.3 kB / 3.206 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004327/7.922, allocations: 1.982 MB / 3.208 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/7.923, allocations: 107.5 kB / 3.208 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/7.924, allocations: 38.83 kB / 3.208 GB, free: 215 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/7.924, allocations: 8.312 kB / 3.208 GB, free: 215 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002656/7.926, allocations: 0.8873 MB / 3.209 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/7.926, allocations: 3.844 kB / 3.209 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/7.926, allocations: 11.31 kB / 3.209 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/7.928, allocations: 206.8 kB / 3.209 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/7.928, allocations: 15.39 kB / 3.209 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/7.93, allocations: 87.7 kB / 3.209 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003203/7.93, allocations: 41.66 kB / 3.21 GB, free: 214.8 MB / 0.8855 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.001619/7.932, allocations: 420.2 kB / 3.21 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005039/7.932, allocations: 121.5 kB / 3.21 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005557/7.938, allocations: 1.394 MB / 3.211 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/7.938, allocations: 19.69 kB / 3.211 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/7.938, allocations: 0 / 3.211 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.867e-05/7.938, allocations: 11.69 kB / 3.211 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007907/7.946, allocations: 2.726 MB / 3.214 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/7.946, allocations: 0 / 3.214 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/7.948, allocations: 191.1 kB / 3.214 GB, free: 213 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/7.949, allocations: 213.8 kB / 3.214 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001946/7.949, allocations: 22.8 kB / 3.215 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/7.952, allocations: 1.837 MB / 3.216 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/7.952, allocations: 3.984 kB / 3.216 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004064/7.956, allocations: 1.398 MB / 3.218 GB, free: 211 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/7.957, allocations: 362.1 kB / 3.218 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/7.958, allocations: 25.88 kB / 3.218 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/7.959, allocations: 88.75 kB / 3.218 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/7.959, allocations: 77.77 kB / 3.218 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/7.959, allocations: 38.45 kB / 3.218 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001534/7.961, allocations: 0.6988 MB / 3.219 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.32e-07/7.961, allocations: 0 / 3.219 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002573/7.964, allocations: 0.5113 MB / 3.219 GB, free: 210.4 MB / 0.8855 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.001834/7.965, allocations: 0.601 MB / 3.22 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004379/7.97, allocations: 1.536 MB / 3.222 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/7.97, allocations: 3.938 kB / 3.222 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/7.972, allocations: 0.6558 MB / 3.222 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/7.975, allocations: 327 kB / 3.222 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006154/7.981, allocations: 2.848 MB / 3.225 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008561/7.982, allocations: 1.187 MB / 3.226 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002546/7.984, allocations: 456.1 kB / 3.227 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/7.985, allocations: 119.2 kB / 3.227 GB, free: 205 MB / 0.8855 GB Notification: Performance of SimCode: time 1.002e-06/7.985, allocations: 0 / 3.227 GB, free: 205 MB / 0.8855 GB Notification: Performance of Templates: time 0.04428/8.029, allocations: 17.18 MB / 3.244 GB, free: 187.9 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)