Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.762/1.762, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009581/0.0009581, allocations: 176.4 kB / 487 MB, free: 5.355 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 221.3 MB / 0.7819 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008442/0.0008441, allocations: 100.5 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.671e-06/5.691e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1912, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.583/2.775, allocations: 1.789 GB / 2.994 GB, free: 58.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/2.775, allocations: 107.7 kB / 2.994 GB, free: 58.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.6957/3.471, allocations: 165.3 MB / 3.156 GB, free: 357.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001828/3.471, allocations: 87.84 kB / 3.156 GB, free: 357.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 823 * Number of variables: 823 Notification: Performance of Generate backend data structure: time 0.004589/3.475, allocations: 3.161 MB / 3.159 GB, free: 354.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/3.475, allocations: 12.52 kB / 3.159 GB, free: 354.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003631/3.479, allocations: 0.7992 MB / 3.16 GB, free: 353.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/3.482, allocations: 2.299 MB / 3.162 GB, free: 351.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/3.482, allocations: 100 kB / 3.162 GB, free: 351 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/3.483, allocations: 176 kB / 3.162 GB, free: 350.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004386/3.487, allocations: 3.616 MB / 3.166 GB, free: 347.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00483/3.492, allocations: 4.006 MB / 3.17 GB, free: 343 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.304e-05/3.492, allocations: 11.92 kB / 3.17 GB, free: 343 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/3.492, allocations: 7.906 kB / 3.17 GB, free: 343 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/3.492, allocations: 182 kB / 3.17 GB, free: 342.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/3.508, allocations: 19.18 MB / 3.188 GB, free: 322.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/3.509, allocations: 1.687 MB / 3.19 GB, free: 320.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/3.511, allocations: 1.174 MB / 3.191 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/3.511, allocations: 137 kB / 3.191 GB, free: 319.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/3.512, allocations: 1.059 MB / 3.192 GB, free: 318.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=150): time 3.998e-06/3.512, allocations: 4 kB / 3.192 GB, free: 318.1 MB / 1.151 GB Error: Internal error It is not possible to select continues time states because Number of Equations 35 greater than number of States 34 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed!