Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.691/1.691, allocations: 390.4 MB / 397.7 MB, free: 1.941 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009043/0.0009043, allocations: 173.3 kB / 490.8 MB, free: 7.5 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.061/1.061, allocations: 221.3 MB / 0.7863 GB, free: 212 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008235/0.0008236, allocations: 90.22 kB / 0.9264 GB, free: 0.6055 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 5.09e-06/5.12e-06, allocations: 0 / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1659, allocations: 143 MB / 1.212 GB, free: 10.56 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.65/2.816, allocations: 1.79 GB / 3.001 GB, free: 360.6 MB / 1.159 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/2.816, allocations: 105.9 kB / 3.001 GB, free: 360.6 MB / 1.159 GB Notification: Performance of FrontEnd: time 0.3192/3.135, allocations: 165.3 MB / 3.163 GB, free: 280.7 MB / 1.159 GB Notification: Performance of Transformations before backend: time 0.0001957/3.135, allocations: 87.92 kB / 3.163 GB, free: 280.6 MB / 1.159 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.005559/3.141, allocations: 3.157 MB / 3.166 GB, free: 277.4 MB / 1.159 GB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/3.141, allocations: 8.031 kB / 3.166 GB, free: 277.4 MB / 1.159 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/3.145, allocations: 0.8031 MB / 3.167 GB, free: 276.6 MB / 1.159 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/3.148, allocations: 2.297 MB / 3.169 GB, free: 274.2 MB / 1.159 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.484e-05/3.148, allocations: 100 kB / 3.169 GB, free: 274.1 MB / 1.159 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003498/3.149, allocations: 180 kB / 3.169 GB, free: 273.9 MB / 1.159 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004217/3.153, allocations: 3.624 MB / 3.173 GB, free: 270.3 MB / 1.159 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004659/3.157, allocations: 4.006 MB / 3.177 GB, free: 266.2 MB / 1.159 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.107e-05/3.157, allocations: 8 kB / 3.177 GB, free: 266.1 MB / 1.159 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002705/3.158, allocations: 7.938 kB / 3.177 GB, free: 266.1 MB / 1.159 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/3.158, allocations: 182 kB / 3.177 GB, free: 266 MB / 1.159 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01442/3.172, allocations: 19.17 MB / 3.196 GB, free: 245.2 MB / 1.159 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/3.174, allocations: 1.696 MB / 3.197 GB, free: 243.5 MB / 1.159 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/3.175, allocations: 1.188 MB / 3.198 GB, free: 242.4 MB / 1.159 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/3.176, allocations: 126.3 kB / 3.199 GB, free: 242.2 MB / 1.159 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/3.177, allocations: 1.055 MB / 3.2 GB, free: 241.1 MB / 1.159 GB Notification: Performance of pre-optimization done (n=150): time 2.635e-06/3.177, allocations: 0 / 3.2 GB, free: 241.1 MB / 1.159 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!