Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json 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 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.127/2.127, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 176.3 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.358/2.358, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 90.3 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004614, allocations: 12.53 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2132, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.22/7.433, allocations: 2.219 GB / 3.118 GB, free: 240 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/7.433, allocations: 105.3 kB / 3.118 GB, free: 240 MB / 0.8855 GB [/var/lib/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);. [/var/lib/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);. [/var/lib/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.1947/7.628, allocations: 51.79 MB / 3.169 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.647e-06/7.628, allocations: 0 / 3.169 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000122/7.628, allocations: 35.28 kB / 3.169 GB, free: 232.9 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.003438/7.632, allocations: 1.443 MB / 3.17 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/7.632, allocations: 7.719 kB / 3.17 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/7.634, allocations: 285.7 kB / 3.171 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/7.636, allocations: 0.7884 MB / 3.171 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.382e-05/7.636, allocations: 84.31 kB / 3.171 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/7.637, allocations: 93.97 kB / 3.172 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/7.639, allocations: 1.145 MB / 3.173 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/7.639, allocations: 7.844 kB / 3.173 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/7.64, allocations: 37.94 kB / 3.173 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.733e-05/7.64, allocations: 51.77 kB / 3.173 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002962/7.643, allocations: 1.296 MB / 3.174 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008412/7.651, allocations: 4.358 MB / 3.178 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/7.653, allocations: 0.8133 MB / 3.179 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/7.654, allocations: 35.84 kB / 3.179 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/7.655, allocations: 467.5 kB / 3.18 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 3.927e-06/7.655, allocations: 0 / 3.18 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.003206/7.658, allocations: 1.103 MB / 3.181 GB, free: 227 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/7.658, allocations: 346.6 kB / 3.181 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/7.66, allocations: 0.8774 MB / 3.182 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/7.66, allocations: 43.7 kB / 3.182 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/7.66, allocations: 0.5178 MB / 3.182 GB, free: 226 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/7.661, allocations: 266.8 kB / 3.183 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/7.661, allocations: 15.81 kB / 3.183 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/7.661, allocations: 338.2 kB / 3.183 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007873/7.662, allocations: 253.9 kB / 3.183 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009261/7.663, allocations: 440.3 kB / 3.184 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/7.663, allocations: 316.5 kB / 3.184 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/7.664, allocations: 4 kB / 3.184 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002337/7.666, allocations: 0.8301 MB / 3.185 GB, free: 225 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002141/7.666, allocations: 0.9626 MB / 3.186 GB, free: 224 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/7.666, allocations: 3.875 kB / 3.186 GB, free: 224 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002397/7.666, allocations: 32.02 kB / 3.186 GB, free: 224 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/7.668, allocations: 172.7 kB / 3.186 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003537/7.668, allocations: 0.5348 MB / 3.186 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/7.669, allocations: 108.6 kB / 3.187 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.985e-05/7.669, allocations: 35.14 kB / 3.187 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/7.669, allocations: 3.938 kB / 3.187 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001862/7.671, allocations: 0.702 MB / 3.187 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/7.671, allocations: 3.875 kB / 3.187 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/7.671, allocations: 7.797 kB / 3.187 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/7.673, allocations: 179 kB / 3.187 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/7.673, allocations: 7.844 kB / 3.187 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/7.674, allocations: 93.47 kB / 3.188 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/7.674, allocations: 34.8 kB / 3.188 GB, free: 223.1 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.0008652/7.675, allocations: 397.4 kB / 3.188 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/7.675, allocations: 113.2 kB / 3.188 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/7.678, allocations: 0.9928 MB / 3.189 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/7.678, allocations: 19.67 kB / 3.189 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/7.678, allocations: 0 / 3.189 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/7.678, allocations: 7.891 kB / 3.189 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/7.68, allocations: 1.331 MB / 3.19 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/7.68, allocations: 3.938 kB / 3.19 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/7.681, allocations: 167.7 kB / 3.191 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/7.682, allocations: 24.47 kB / 3.191 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/7.682, allocations: 26.3 kB / 3.191 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/7.683, allocations: 1.282 MB / 3.192 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/7.683, allocations: 0 / 3.192 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/7.685, allocations: 0.8975 MB / 3.193 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007073/7.686, allocations: 325.7 kB / 3.193 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/7.686, allocations: 22 kB / 3.193 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/7.687, allocations: 77.64 kB / 3.193 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/7.688, allocations: 55.33 kB / 3.193 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.324e-05/7.688, allocations: 42.78 kB / 3.193 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001353/7.689, allocations: 0.6898 MB / 3.194 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.6e-07/7.689, allocations: 0 / 3.194 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002022/7.691, allocations: 0.5476 MB / 3.194 GB, free: 219.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (91): * Single equations (assignments): 88 * 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.001726/7.693, allocations: 0.5821 MB / 3.195 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005284/7.698, allocations: 1.057 MB / 3.196 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.107e-05/7.698, allocations: 3.875 kB / 3.196 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/7.7, allocations: 492.5 kB / 3.196 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.002813/7.703, allocations: 296.4 kB / 3.197 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/7.709, allocations: 2.512 MB / 3.199 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007937/7.709, allocations: 1.154 MB / 3.2 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002241/7.712, allocations: 407.2 kB / 3.201 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/7.712, allocations: 107.9 kB / 3.201 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.142e-06/7.712, allocations: 0 / 3.201 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.03785/7.75, allocations: 14.54 MB / 3.215 GB, free: 209.2 MB / 0.8855 GB