Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.234/1.234, allocations: 249.4 MB / 256.7 MB, free: 7.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001093, allocations: 181.2 kB / 316 MB, free: 3.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009056/0.0009056, allocations: 85.41 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.915e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1812, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.459/3.64, allocations: 2.25 GB / 3.135 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/3.641, allocations: 107.9 kB / 3.135 GB, free: 152 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2814/3.922, allocations: 140 MB / 3.272 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001933/3.922, allocations: 87.88 kB / 3.272 GB, free: 10.61 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.006508/3.929, allocations: 3.036 MB / 3.275 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/3.929, allocations: 12.03 kB / 3.275 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/3.934, allocations: 0.7994 MB / 3.276 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/3.938, allocations: 2.138 MB / 3.278 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/3.938, allocations: 96 kB / 3.278 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000368/3.938, allocations: 179.9 kB / 3.278 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004806/3.943, allocations: 3.565 MB / 3.281 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2707/4.214, allocations: 3.938 MB / 3.285 GB, free: 320.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.428e-05/4.214, allocations: 3.875 kB / 3.285 GB, free: 320.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002956/4.214, allocations: 7.562 kB / 3.285 GB, free: 320.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/4.214, allocations: 177.5 kB / 3.285 GB, free: 320.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0181/4.232, allocations: 17.85 MB / 3.303 GB, free: 311.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/4.234, allocations: 1.633 MB / 3.304 GB, free: 311.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009819/4.235, allocations: 0.918 MB / 3.305 GB, free: 311.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/4.235, allocations: 134.9 kB / 3.305 GB, free: 311 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/4.237, allocations: 1.037 MB / 3.306 GB, free: 310.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=147): time 3.366e-06/4.237, allocations: 0 / 3.306 GB, free: 310.8 MB / 0.8698 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!