Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) 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) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) [: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/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 182.3 kB / 8.131 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009235/0.0009236, allocations: 97.05 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1758/0.1758, allocations: 37.97 MB / 347.7 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2272/0.403, allocations: 62.44 MB / 410.1 MB, free: 46.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.4901, allocations: 56.31 MB / 466.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3082/0.7983, allocations: 98.72 MB / 0.5519 GB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/0.7987, allocations: 83.95 kB / 0.552 GB, free: 11.7 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.04372/0.8425, allocations: 14.12 MB / 0.5658 GB, free: 13.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.8425, allocations: 8 kB / 0.5658 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.8438, allocations: 131.3 kB / 0.5659 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.8467, allocations: 0.9671 MB / 0.5668 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.8468, allocations: 12 kB / 0.5668 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.8469, allocations: 23.91 kB / 0.5669 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006855/0.8476, allocations: 293.5 kB / 0.5672 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007826/0.8484, allocations: 437 kB / 0.5676 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.8485, allocations: 0.75 kB / 0.5676 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.8485, allocations: 0 / 0.5676 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.8486, allocations: 28.77 kB / 0.5676 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.8515, allocations: 1.651 MB / 0.5692 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.852, allocations: 290.8 kB / 0.5695 GB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.8522, allocations: 150.8 kB / 0.5696 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.8522, allocations: 4.188 kB / 0.5696 GB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.429e-05/0.8523, allocations: 42.73 kB / 0.5697 GB, free: 9.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 4.779e-06/0.8523, allocations: 0 / 0.5697 GB, free: 9.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.002049/0.8544, allocations: 0.9724 MB / 0.5706 GB, free: 8.141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.8545, allocations: 81.11 kB / 0.5707 GB, free: 8.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.8548, allocations: 255.4 kB / 0.5709 GB, free: 7.785 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.8548, allocations: 25.7 kB / 0.571 GB, free: 7.754 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.855, allocations: 211.9 kB / 0.5712 GB, free: 7.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.145e-05/0.8551, allocations: 94.59 kB / 0.5713 GB, free: 7.449 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/0.8551, allocations: 0 / 0.5713 GB, free: 7.449 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.8553, allocations: 350.8 kB / 0.5716 GB, free: 7.098 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.8556, allocations: 136 kB / 0.5717 GB, free: 6.965 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.8558, allocations: 218.2 kB / 0.5719 GB, free: 6.715 MB / 410.7 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "+maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated Error: Internal error SimCode: The model PowerSystems.Examples.AC3ph.Generation.Vsource could not be translated to FMU