Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,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_N") [: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.748/1.748, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0008994/0.0008994, allocations: 173.3 kB / 487 MB, free: 5.363 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.118/1.118, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0008015/0.0008011, allocations: 102.5 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.061e-06/6.101e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1846, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.571/2.755, allocations: 1.791 GB / 2.996 GB, free: 66.62 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/2.755, allocations: 107.7 kB / 2.996 GB, free: 66.52 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.6704/3.426, allocations: 154.5 MB / 3.147 GB, free: 369.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001968/3.426, allocations: 84.06 kB / 3.147 GB, free: 369.1 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: 812 * Number of variables: 812 Notification: Performance of Generate backend data structure: time 0.005366/3.431, allocations: 3.093 MB / 3.15 GB, free: 367 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/3.432, allocations: 9.656 kB / 3.15 GB, free: 367 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004337/3.436, allocations: 0.7949 MB / 3.151 GB, free: 366.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003808/3.44, allocations: 2.139 MB / 3.153 GB, free: 365.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/3.44, allocations: 102.8 kB / 3.153 GB, free: 365.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004135/3.44, allocations: 178.1 kB / 3.153 GB, free: 365.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005592/3.446, allocations: 3.578 MB / 3.156 GB, free: 363.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005996/3.452, allocations: 3.933 MB / 3.16 GB, free: 361.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-05/3.452, allocations: 5.969 kB / 3.16 GB, free: 361.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002751/3.452, allocations: 11.78 kB / 3.16 GB, free: 361.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000174/3.452, allocations: 172.1 kB / 3.16 GB, free: 361.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/3.469, allocations: 17.9 MB / 3.178 GB, free: 342.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/3.471, allocations: 1.637 MB / 3.18 GB, free: 340.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008865/3.472, allocations: 0.9209 MB / 3.18 GB, free: 340 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/3.472, allocations: 134.4 kB / 3.181 GB, free: 339.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/3.473, allocations: 1.034 MB / 3.182 GB, free: 338.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=147): time 3.517e-06/3.473, allocations: 7.938 kB / 3.182 GB, free: 338.8 MB / 1.151 GB Error: Internal error It is not possible to select continues time states because Number of Equations 33 greater than number of States 32 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed!