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.49/2.49, allocations: 284.8 MB / 297.3 MB, free: 6.332 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.001462/0.001461, allocations: 184.8 kB / 365.7 MB, free: 2.555 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 2.013/2.013, allocations: 205.1 MB / 0.6241 GB, free: 8.172 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.001113/0.001112, allocations: 107.1 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.844e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7665/0.7666, allocations: 115.2 MB / 0.97 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.638/7.405, allocations: 2.101 GB / 3.071 GB, free: 280.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/7.405, allocations: 97.16 kB / 3.071 GB, free: 280.6 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.1978/7.603, allocations: 51.39 MB / 3.121 GB, free: 276 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/7.603, allocations: 0 / 3.121 GB, free: 276 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001251/7.603, allocations: 33.41 kB / 3.122 GB, free: 276 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.002964/7.606, allocations: 1.298 MB / 3.123 GB, free: 275 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/7.606, allocations: 7.75 kB / 3.123 GB, free: 275 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/7.608, allocations: 282 kB / 3.123 GB, free: 274.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/7.61, allocations: 0.7917 MB / 3.124 GB, free: 274.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.643e-05/7.611, allocations: 73.19 kB / 3.124 GB, free: 274.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/7.611, allocations: 94.39 kB / 3.124 GB, free: 274.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/7.614, allocations: 1.11 MB / 3.125 GB, free: 274.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/7.614, allocations: 1.031 kB / 3.125 GB, free: 274.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/7.614, allocations: 46.78 kB / 3.125 GB, free: 274.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/7.614, allocations: 55.36 kB / 3.125 GB, free: 274.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003494/7.618, allocations: 1.237 MB / 3.126 GB, free: 273.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009307/7.627, allocations: 4.362 MB / 3.131 GB, free: 271.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/7.629, allocations: 0.7707 MB / 3.131 GB, free: 271 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008701/7.63, allocations: 314.5 kB / 3.132 GB, free: 271 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/7.631, allocations: 35.47 kB / 3.132 GB, free: 271 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000977/7.632, allocations: 451.5 kB / 3.132 GB, free: 270.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.667e-06/7.632, allocations: 0 / 3.132 GB, free: 270.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002216/7.634, allocations: 0.7062 MB / 3.133 GB, free: 270.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/7.634, allocations: 348.6 kB / 3.133 GB, free: 270.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/7.636, allocations: 0.8685 MB / 3.134 GB, free: 270 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/7.636, allocations: 44.77 kB / 3.134 GB, free: 270 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/7.636, allocations: 0.5193 MB / 3.135 GB, free: 269.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/7.637, allocations: 272.6 kB / 3.135 GB, free: 269.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/7.637, allocations: 15.03 kB / 3.135 GB, free: 269.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.059e-05/7.637, allocations: 336.7 kB / 3.135 GB, free: 269.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005923/7.637, allocations: 227.2 kB / 3.135 GB, free: 269.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/7.638, allocations: 414.6 kB / 3.136 GB, free: 269 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/7.639, allocations: 294.1 kB / 3.136 GB, free: 268.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/7.639, allocations: 0 / 3.136 GB, free: 268.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002006/7.641, allocations: 0.7674 MB / 3.137 GB, free: 268.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/7.641, allocations: 0.9735 MB / 3.138 GB, free: 267.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/7.641, allocations: 3.812 kB / 3.138 GB, free: 267.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/7.641, allocations: 27.62 kB / 3.138 GB, free: 267.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/7.643, allocations: 179.8 kB / 3.138 GB, free: 267.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003374/7.643, allocations: 0.5342 MB / 3.138 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/7.644, allocations: 103.2 kB / 3.139 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/7.645, allocations: 31.3 kB / 3.139 GB, free: 267.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/7.645, allocations: 3.906 kB / 3.139 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001614/7.646, allocations: 0.6452 MB / 3.139 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/7.646, allocations: 3.906 kB / 3.139 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/7.646, allocations: 3.938 kB / 3.139 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/7.647, allocations: 182.5 kB / 3.139 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/7.648, allocations: 8.031 kB / 3.139 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/7.649, allocations: 101.2 kB / 3.14 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/7.649, allocations: 33.14 kB / 3.14 GB, free: 266.9 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.0002884/7.649, allocations: 155.6 kB / 3.14 GB, free: 266.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/7.649, allocations: 108.6 kB / 3.14 GB, free: 266.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/7.652, allocations: 0.9374 MB / 3.141 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/7.652, allocations: 11.62 kB / 3.141 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/7.652, allocations: 4 kB / 3.141 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/7.652, allocations: 3.984 kB / 3.141 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004552/7.657, allocations: 2.289 MB / 3.143 GB, free: 265.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/7.657, allocations: 4.031 kB / 3.143 GB, free: 265.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/7.658, allocations: 155.5 kB / 3.143 GB, free: 265.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/7.658, allocations: 31.84 kB / 3.143 GB, free: 265.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/7.658, allocations: 22.98 kB / 3.143 GB, free: 265.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009304/7.659, allocations: 1.265 MB / 3.144 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/7.659, allocations: 5.25 kB / 3.144 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/7.661, allocations: 0.9515 MB / 3.145 GB, free: 263.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000706/7.662, allocations: 336.4 kB / 3.146 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/7.662, allocations: 20.56 kB / 3.146 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/7.663, allocations: 69.39 kB / 3.146 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/7.664, allocations: 62.94 kB / 3.146 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.696e-05/7.664, allocations: 33.08 kB / 3.146 GB, free: 263.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001489/7.665, allocations: 0.6824 MB / 3.147 GB, free: 263.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.402e-06/7.665, allocations: 1.531 kB / 3.147 GB, free: 263.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002332/7.668, allocations: 0.5378 MB / 3.147 GB, free: 263.1 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.001661/7.669, allocations: 0.5678 MB / 3.148 GB, free: 262.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002752/7.672, allocations: 1.012 MB / 3.149 GB, free: 262.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/7.672, allocations: 1.125 kB / 3.149 GB, free: 262.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/7.673, allocations: 479.5 kB / 3.149 GB, free: 262.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/7.676, allocations: 297.3 kB / 3.149 GB, free: 262.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/7.68, allocations: 1.571 MB / 3.151 GB, free: 261.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000873/7.681, allocations: 1.164 MB / 3.152 GB, free: 261 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003004/7.684, allocations: 0.5585 MB / 3.153 GB, free: 260.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/7.684, allocations: 83.69 kB / 3.153 GB, free: 260.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/7.684, allocations: 0 / 3.153 GB, free: 260.8 MB / 0.948 GB Notification: Performance of Templates: time 0.0452/7.729, allocations: 16.21 MB / 3.168 GB, free: 252.9 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)