Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.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.605/1.605, allocations: 285.6 MB / 293.1 MB, free: 10.09 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.001008/0.001008, allocations: 180.8 kB / 361.4 MB, free: 6.637 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.542/1.542, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008177/0.0008177, allocations: 99.88 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.39e-05/1.392e-05, allocations: 4 kB / 0.8517 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.664/0.6641, allocations: 115.3 MB / 0.9644 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.442/5.106, allocations: 2.101 GB / 3.065 GB, free: 15.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/5.107, allocations: 98.81 kB / 3.065 GB, free: 15.25 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1-maint.8.0.x/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 8.0.1-maint.8.0.x/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.6283/5.735, allocations: 50.13 MB / 3.114 GB, free: 332 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.544e-06/5.735, allocations: 5.922 kB / 3.114 GB, free: 332 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001299/5.735, allocations: 32.28 kB / 3.114 GB, free: 332 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.002234/5.737, allocations: 1.284 MB / 3.115 GB, free: 331.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/5.737, allocations: 13.34 kB / 3.115 GB, free: 331.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/5.739, allocations: 275.5 kB / 3.116 GB, free: 331.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/5.74, allocations: 0.7983 MB / 3.116 GB, free: 330.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/5.74, allocations: 35.66 kB / 3.116 GB, free: 330.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/5.74, allocations: 59.31 kB / 3.117 GB, free: 330.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/5.742, allocations: 1.168 MB / 3.118 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/5.743, allocations: 0.9704 MB / 3.119 GB, free: 329.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/5.743, allocations: 1.062 kB / 3.119 GB, free: 329.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.25e-05/5.744, allocations: 6.094 kB / 3.119 GB, free: 329.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.203e-05/5.744, allocations: 54.88 kB / 3.119 GB, free: 329.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005406/5.749, allocations: 4.164 MB / 3.123 GB, free: 327.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/5.75, allocations: 0.7242 MB / 3.123 GB, free: 326.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/5.751, allocations: 291.2 kB / 3.124 GB, free: 326.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.263e-05/5.751, allocations: 34.06 kB / 3.124 GB, free: 326.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006188/5.751, allocations: 423.7 kB / 3.124 GB, free: 326.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.446e-06/5.751, allocations: 0 / 3.124 GB, free: 326.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.00133/5.753, allocations: 0.6589 MB / 3.125 GB, free: 326.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/5.753, allocations: 344.5 kB / 3.125 GB, free: 325.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/5.754, allocations: 0.7701 MB / 3.126 GB, free: 325.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/5.754, allocations: 26.95 kB / 3.126 GB, free: 325.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/5.754, allocations: 0.5277 MB / 3.126 GB, free: 325.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/5.754, allocations: 258.1 kB / 3.127 GB, free: 324.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/5.754, allocations: 0 / 3.127 GB, free: 324.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.317e-05/5.755, allocations: 336.3 kB / 3.127 GB, free: 324.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/5.755, allocations: 208.5 kB / 3.127 GB, free: 324.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/5.755, allocations: 401.3 kB / 3.128 GB, free: 324.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004244/5.756, allocations: 272.5 kB / 3.128 GB, free: 324.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/5.756, allocations: 1.375 kB / 3.128 GB, free: 324.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00111/5.757, allocations: 0.7089 MB / 3.129 GB, free: 323.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/5.757, allocations: 0.9701 MB / 3.129 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/5.757, allocations: 2.969 kB / 3.129 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/5.757, allocations: 31.55 kB / 3.13 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/5.758, allocations: 168.4 kB / 3.13 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002605/5.758, allocations: 0.5396 MB / 3.13 GB, free: 322.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007066/5.759, allocations: 81.5 kB / 3.13 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-05/5.759, allocations: 31.5 kB / 3.13 GB, free: 322.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/5.759, allocations: 3.188 kB / 3.13 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009108/5.76, allocations: 0.567 MB / 3.131 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/5.76, allocations: 6.781 kB / 3.131 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/5.76, allocations: 10.67 kB / 3.131 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/5.761, allocations: 178.2 kB / 3.131 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/5.761, allocations: 5.938 kB / 3.131 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/5.761, allocations: 74.14 kB / 3.131 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/5.761, allocations: 33.66 kB / 3.131 GB, free: 322 MB / 0.948 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 () * 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.0001835/5.762, allocations: 132 kB / 3.131 GB, free: 321.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/5.762, allocations: 104 kB / 3.131 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/5.763, allocations: 0.8693 MB / 3.132 GB, free: 321.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/5.763, allocations: 9.625 kB / 3.132 GB, free: 321.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/5.763, allocations: 0 / 3.132 GB, free: 321.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/5.763, allocations: 8.281 kB / 3.132 GB, free: 321.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/5.766, allocations: 2.098 MB / 3.134 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/5.766, allocations: 5.422 kB / 3.134 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/5.767, allocations: 157.1 kB / 3.134 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-05/5.767, allocations: 31.08 kB / 3.134 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/5.767, allocations: 16.02 kB / 3.135 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006245/5.768, allocations: 1.223 MB / 3.136 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/5.768, allocations: 3.125 kB / 3.136 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/5.769, allocations: 0.9017 MB / 3.137 GB, free: 318.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/5.769, allocations: 323.7 kB / 3.137 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/5.769, allocations: 11.19 kB / 3.137 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/5.77, allocations: 55.77 kB / 3.137 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/5.77, allocations: 61.48 kB / 3.137 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/5.77, allocations: 29.22 kB / 3.137 GB, free: 318.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008258/5.771, allocations: 0.605 MB / 3.138 GB, free: 318.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/5.771, allocations: 0 / 3.138 GB, free: 318.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001632/5.773, allocations: 0.5068 MB / 3.138 GB, free: 317.9 MB / 0.948 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) * 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.001119/5.774, allocations: 0.5066 MB / 3.139 GB, free: 317.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001844/5.776, allocations: 0.9516 MB / 3.14 GB, free: 317.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/5.776, allocations: 2.156 kB / 3.14 GB, free: 317.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006868/5.776, allocations: 439.8 kB / 3.14 GB, free: 317.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/5.778, allocations: 270 kB / 3.14 GB, free: 317.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/5.781, allocations: 1.525 MB / 3.142 GB, free: 316.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/5.781, allocations: 1.161 MB / 3.143 GB, free: 315.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001759/5.783, allocations: 0.5582 MB / 3.143 GB, free: 315.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/5.783, allocations: 84.83 kB / 3.143 GB, free: 315.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/5.783, allocations: 0 / 3.143 GB, free: 315.6 MB / 0.948 GB Notification: Performance of Templates: time 0.02353/5.807, allocations: 14.91 MB / 3.158 GB, free: 312.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)