Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.24/2.24, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001329/0.001329, allocations: 180.2 kB / 326.2 MB, free: 2.852 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.584/2.584, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.001375/0.001375, allocations: 84.61 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006451/0.0006454, allocations: 14 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2254, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.459/7.684, allocations: 2.219 GB / 3.119 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003912/7.685, allocations: 107.4 kB / 3.119 GB, free: 240.5 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.2006/7.885, allocations: 51.67 MB / 3.169 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.026e-06/7.885, allocations: 0 / 3.169 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001605/7.886, allocations: 35.2 kB / 3.169 GB, free: 233.4 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003936/7.89, allocations: 1.448 MB / 3.171 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/7.89, allocations: 7.906 kB / 3.171 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/7.892, allocations: 278.5 kB / 3.171 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/7.894, allocations: 0.7985 MB / 3.172 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.839e-05/7.894, allocations: 73.16 kB / 3.172 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/7.895, allocations: 103.7 kB / 3.172 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/7.897, allocations: 1.153 MB / 3.173 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/7.898, allocations: 192 / 3.173 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/7.898, allocations: 48.08 kB / 3.173 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.681e-05/7.898, allocations: 55.7 kB / 3.173 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/7.901, allocations: 1.29 MB / 3.175 GB, free: 231 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009257/7.91, allocations: 4.364 MB / 3.179 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/7.913, allocations: 0.8082 MB / 3.18 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009622/7.914, allocations: 353.7 kB / 3.18 GB, free: 228 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/7.914, allocations: 28.28 kB / 3.18 GB, free: 228 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/7.915, allocations: 466.2 kB / 3.18 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 3.937e-06/7.915, allocations: 0 / 3.18 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.003488/7.918, allocations: 1.091 MB / 3.181 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/7.919, allocations: 357.3 kB / 3.182 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/7.921, allocations: 0.9783 MB / 3.183 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002628/7.921, allocations: 39.92 kB / 3.183 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005251/7.922, allocations: 0.5168 MB / 3.183 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/7.922, allocations: 269.1 kB / 3.184 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/7.922, allocations: 13.59 kB / 3.184 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/7.922, allocations: 336.2 kB / 3.184 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008035/7.923, allocations: 254.3 kB / 3.184 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/7.924, allocations: 440.2 kB / 3.185 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008723/7.925, allocations: 321.2 kB / 3.185 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/7.925, allocations: 0 / 3.185 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002475/7.927, allocations: 0.8306 MB / 3.186 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/7.927, allocations: 158.1 kB / 3.186 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/7.927, allocations: 3.906 kB / 3.186 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002784/7.928, allocations: 35.7 kB / 3.186 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/7.929, allocations: 172.4 kB / 3.186 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/7.93, allocations: 1.284 MB / 3.187 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/7.932, allocations: 104.5 kB / 3.187 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/7.932, allocations: 34.42 kB / 3.187 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/7.932, allocations: 7.969 kB / 3.187 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001992/7.934, allocations: 0.6857 MB / 3.188 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/7.934, allocations: 3.906 kB / 3.188 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/7.934, allocations: 7.781 kB / 3.188 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/7.935, allocations: 175 kB / 3.188 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/7.935, allocations: 7.812 kB / 3.188 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/7.937, allocations: 100.3 kB / 3.188 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/7.937, allocations: 31.23 kB / 3.188 GB, free: 223.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (94): * Single equations (assignments): 93 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001014/7.938, allocations: 411.5 kB / 3.189 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004136/7.938, allocations: 109.6 kB / 3.189 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/7.941, allocations: 0.9844 MB / 3.19 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/7.941, allocations: 11.81 kB / 3.19 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/7.941, allocations: 0 / 3.19 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/7.941, allocations: 7.891 kB / 3.19 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/7.947, allocations: 2.342 MB / 3.192 GB, free: 222 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/7.947, allocations: 7.875 kB / 3.192 GB, free: 222 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/7.948, allocations: 152.6 kB / 3.192 GB, free: 222 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/7.948, allocations: 32.28 kB / 3.192 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.77e-05/7.949, allocations: 22.05 kB / 3.192 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009568/7.949, allocations: 1.277 MB / 3.194 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/7.95, allocations: 0 / 3.194 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/7.952, allocations: 0.9563 MB / 3.195 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007427/7.953, allocations: 322 kB / 3.195 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/7.953, allocations: 22.94 kB / 3.195 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/7.954, allocations: 78.17 kB / 3.195 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/7.954, allocations: 70.66 kB / 3.195 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.023e-05/7.954, allocations: 29.2 kB / 3.195 GB, free: 220 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001439/7.956, allocations: 0.696 MB / 3.196 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/7.956, allocations: 0 / 3.196 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002509/7.958, allocations: 0.5509 MB / 3.196 GB, free: 219.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001797/7.96, allocations: 0.584 MB / 3.197 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003219/7.964, allocations: 1.153 MB / 3.198 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/7.964, allocations: 0 / 3.198 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/7.965, allocations: 498.9 kB / 3.198 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/7.967, allocations: 303.5 kB / 3.199 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/7.973, allocations: 2.526 MB / 3.201 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007917/7.973, allocations: 1.137 MB / 3.202 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002288/7.976, allocations: 412.4 kB / 3.203 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/7.976, allocations: 106.3 kB / 3.203 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.112e-06/7.976, allocations: 0 / 3.203 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.04007/8.016, allocations: 14.7 MB / 3.217 GB, free: 209.1 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)