Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.401/2.401, allocations: 285 MB / 292.5 MB, free: 10.59 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.00143/0.00143, allocations: 184.8 kB / 360.7 MB, free: 7.25 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.944/1.944, allocations: 205.3 MB / 0.6192 GB, free: 12.1 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.001061/0.00106, allocations: 86.23 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.06e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7807/0.7807, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.828/6.608, allocations: 2.101 GB / 3.064 GB, free: 18.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/6.609, allocations: 98.75 kB / 3.064 GB, free: 18.65 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.8126/7.422, allocations: 50.14 MB / 3.113 GB, free: 326.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.824e-06/7.422, allocations: 0 / 3.113 GB, free: 326.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001392/7.422, allocations: 30.09 kB / 3.113 GB, free: 326.6 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.003483/7.425, allocations: 1.297 MB / 3.114 GB, free: 325.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/7.425, allocations: 10.36 kB / 3.114 GB, free: 325.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/7.428, allocations: 271 kB / 3.115 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002681/7.431, allocations: 0.8009 MB / 3.115 GB, free: 325.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/7.431, allocations: 32.31 kB / 3.115 GB, free: 325.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/7.431, allocations: 56.09 kB / 3.115 GB, free: 325.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003282/7.434, allocations: 1.171 MB / 3.117 GB, free: 324.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/7.437, allocations: 0.9766 MB / 3.118 GB, free: 324.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/7.437, allocations: 1.219 kB / 3.118 GB, free: 324.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/7.437, allocations: 2.766 kB / 3.118 GB, free: 324.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/7.437, allocations: 47.81 kB / 3.118 GB, free: 324.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/7.447, allocations: 4.165 MB / 3.122 GB, free: 321.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/7.45, allocations: 0.7166 MB / 3.122 GB, free: 321.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007932/7.45, allocations: 298.2 kB / 3.123 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/7.451, allocations: 37.69 kB / 3.123 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009256/7.452, allocations: 417.8 kB / 3.123 GB, free: 321.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.928e-06/7.452, allocations: 1.156 kB / 3.123 GB, free: 321.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002138/7.454, allocations: 0.6642 MB / 3.124 GB, free: 320.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/7.454, allocations: 349.9 kB / 3.124 GB, free: 320.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/7.456, allocations: 0.7648 MB / 3.125 GB, free: 320.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002512/7.456, allocations: 27.8 kB / 3.125 GB, free: 320.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006099/7.457, allocations: 0.5285 MB / 3.125 GB, free: 319.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/7.457, allocations: 256.3 kB / 3.126 GB, free: 319.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/7.457, allocations: 0 / 3.126 GB, free: 319.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/7.457, allocations: 335.2 kB / 3.126 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005687/7.458, allocations: 211.5 kB / 3.126 GB, free: 319.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007293/7.458, allocations: 388.4 kB / 3.127 GB, free: 318.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007548/7.459, allocations: 284 kB / 3.127 GB, free: 318.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/7.459, allocations: 0.9375 kB / 3.127 GB, free: 318.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002185/7.461, allocations: 0.7053 MB / 3.127 GB, free: 318.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002327/7.462, allocations: 0.9714 MB / 3.128 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/7.462, allocations: 2.969 kB / 3.128 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/7.462, allocations: 23.75 kB / 3.128 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/7.463, allocations: 178.1 kB / 3.129 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003834/7.464, allocations: 0.5397 MB / 3.129 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/7.465, allocations: 77.59 kB / 3.129 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/7.465, allocations: 35 kB / 3.129 GB, free: 316.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/7.465, allocations: 3.656 kB / 3.129 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001572/7.467, allocations: 0.5678 MB / 3.13 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/7.467, allocations: 2.75 kB / 3.13 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/7.467, allocations: 6.312 kB / 3.13 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/7.468, allocations: 171 kB / 3.13 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/7.468, allocations: 8.625 kB / 3.13 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/7.469, allocations: 91.27 kB / 3.13 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.914e-05/7.47, allocations: 30.08 kB / 3.13 GB, free: 316.6 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.0003187/7.47, allocations: 125.4 kB / 3.13 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/7.47, allocations: 103.6 kB / 3.13 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/7.473, allocations: 0.8743 MB / 3.131 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/7.473, allocations: 9.969 kB / 3.131 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/7.473, allocations: 9.516 kB / 3.131 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/7.473, allocations: 3.891 kB / 3.131 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004812/7.478, allocations: 2.09 MB / 3.133 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/7.478, allocations: 5.156 kB / 3.133 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/7.479, allocations: 161.9 kB / 3.133 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/7.479, allocations: 22.44 kB / 3.133 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.098e-05/7.479, allocations: 16 kB / 3.133 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000944/7.48, allocations: 1.228 MB / 3.135 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/7.48, allocations: 8.953 kB / 3.135 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/7.483, allocations: 0.9027 MB / 3.136 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007344/7.483, allocations: 321.3 kB / 3.136 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/7.484, allocations: 6.703 kB / 3.136 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/7.485, allocations: 57.73 kB / 3.136 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/7.485, allocations: 62.42 kB / 3.136 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.26e-05/7.485, allocations: 29.89 kB / 3.136 GB, free: 313 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001168/7.486, allocations: 0.5958 MB / 3.137 GB, free: 312.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.61e-07/7.486, allocations: 0 / 3.137 GB, free: 312.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002321/7.488, allocations: 0.5126 MB / 3.137 GB, free: 312.6 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.001606/7.49, allocations: 0.5143 MB / 3.138 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002637/7.493, allocations: 0.9402 MB / 3.139 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/7.493, allocations: 1.062 kB / 3.139 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/7.494, allocations: 447.2 kB / 3.139 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/7.496, allocations: 264.1 kB / 3.139 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/7.501, allocations: 1.534 MB / 3.141 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008958/7.502, allocations: 1.166 MB / 3.142 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003185/7.505, allocations: 0.5526 MB / 3.142 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/7.505, allocations: 83.28 kB / 3.142 GB, free: 310.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/7.505, allocations: 0 / 3.142 GB, free: 310.3 MB / 0.948 GB Notification: Performance of Templates: time 0.04201/7.547, allocations: 14.91 MB / 3.157 GB, free: 309.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)