Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.7344/0.7344, allocations: 132.4 MB / 139.7 MB, free: 15.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0026/0.0026, allocations: 166.2 kB / 171.6 MB, free: 2.012 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.466/1.466, allocations: 170.5 MB / 373.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001725/0.001725, allocations: 108 kB / 444.5 MB, free: 9.422 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4602/0.4602, allocations: 73.39 MB / 0.666 GB, free: 62.68 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.333/5.794, allocations: 2.188 GB / 2.854 GB, free: 214.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/5.794, allocations: 107.5 kB / 2.854 GB, free: 214.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.3935/6.187, allocations: 176.3 MB / 3.026 GB, free: 74.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004279/6.188, allocations: 83.88 kB / 3.026 GB, free: 74.27 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 810 * Number of variables: 810 Notification: Performance of Generate backend data structure: time 0.01285/6.201, allocations: 3.25 MB / 3.03 GB, free: 70.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/6.201, allocations: 8.031 kB / 3.03 GB, free: 70.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007103/6.208, allocations: 0.9163 MB / 3.03 GB, free: 70 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007325/6.215, allocations: 2.17 MB / 3.033 GB, free: 67.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/6.216, allocations: 100 kB / 3.033 GB, free: 67.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001724/6.217, allocations: 176 kB / 3.033 GB, free: 67.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009099/6.226, allocations: 3.639 MB / 3.036 GB, free: 63.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/6.239, allocations: 3.992 MB / 3.04 GB, free: 59.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001515/6.239, allocations: 4 kB / 3.04 GB, free: 59.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001115/6.24, allocations: 7.906 kB / 3.04 GB, free: 59.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/6.241, allocations: 181.9 kB / 3.04 GB, free: 59.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02769/6.268, allocations: 14.46 MB / 3.055 GB, free: 44.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/6.271, allocations: 1.772 MB / 3.056 GB, free: 42.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/6.273, allocations: 1.207 MB / 3.058 GB, free: 41.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007767/6.274, allocations: 0.5623 MB / 3.058 GB, free: 41.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00147/6.275, allocations: 1.098 MB / 3.059 GB, free: 39.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=150): time 5.37e-06/6.275, allocations: 0 / 3.059 GB, free: 39.88 MB / 0.6198 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!