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_N.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_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.7337/0.7337, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001353/0.001353, allocations: 172.4 kB / 171.6 MB, free: 1.996 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.534/1.534, allocations: 170.5 MB / 373.9 MB, free: 15.86 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.001823/0.001823, allocations: 107.9 kB / 444.4 MB, free: 9.387 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.3903/0.3903, allocations: 73.4 MB / 0.666 GB, free: 62.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.267/5.657, allocations: 2.19 GB / 2.856 GB, free: 215.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00041/5.658, allocations: 101.5 kB / 2.856 GB, free: 215.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.4361/6.094, allocations: 165.8 MB / 3.018 GB, free: 87.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003958/6.094, allocations: 79.94 kB / 3.018 GB, free: 87.28 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: 799 * Number of variables: 799 Notification: Performance of Generate backend data structure: time 0.01198/6.106, allocations: 3.143 MB / 3.021 GB, free: 84.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/6.106, allocations: 8.031 kB / 3.021 GB, free: 84.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007543/6.114, allocations: 0.9048 MB / 3.022 GB, free: 83.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00718/6.121, allocations: 2.031 MB / 3.024 GB, free: 81.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/6.121, allocations: 99.98 kB / 3.024 GB, free: 80.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00157/6.123, allocations: 179.9 kB / 3.024 GB, free: 80.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009498/6.132, allocations: 3.596 MB / 3.027 GB, free: 77.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/6.146, allocations: 3.915 MB / 3.031 GB, free: 73.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001794/6.146, allocations: 7.938 kB / 3.031 GB, free: 73.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001389/6.147, allocations: 11.97 kB / 3.031 GB, free: 73.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002056/6.147, allocations: 177.9 kB / 3.031 GB, free: 72.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03031/6.178, allocations: 13.52 MB / 3.045 GB, free: 59.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/6.181, allocations: 1.707 MB / 3.046 GB, free: 57.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/6.182, allocations: 0.9457 MB / 3.047 GB, free: 56.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008646/6.183, allocations: 0.5584 MB / 3.048 GB, free: 55.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/6.185, allocations: 1.082 MB / 3.049 GB, free: 54.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=147): time 7.835e-06/6.185, allocations: 0 / 3.049 GB, free: 54.57 MB / 0.6198 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!