Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.001173/0.001173, allocations: 182.9 kB / 8.137 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.023/1.023, allocations: 194.2 MB / 202.8 MB, free: 8.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001629/0.001629, allocations: 115.1 kB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1549/0.1549, allocations: 37.92 MB / 330.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1849/0.3398, allocations: 59.34 MB / 389.9 MB, free: 78.04 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07435/0.4142, allocations: 53.24 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.6517, allocations: 93.66 MB / 0.5242 GB, free: 9.727 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.6519, allocations: 88.95 kB / 0.5243 GB, free: 9.715 MB / 346.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.03642/0.6884, allocations: 14.1 MB / 0.5381 GB, free: 1.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.6884, allocations: 12 kB / 0.5381 GB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.6894, allocations: 127.3 kB / 0.5382 GB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.6917, allocations: 0.9726 MB / 0.5391 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.6917, allocations: 12 kB / 0.5392 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/0.6918, allocations: 31.64 kB / 0.5392 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004258/0.6922, allocations: 287.5 kB / 0.5395 GB, free: 364 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.6927, allocations: 441.2 kB / 0.5399 GB, free: 0 / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.6927, allocations: 0 / 0.5399 GB, free: 0 / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.6928, allocations: 4.047 kB / 0.5399 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.6929, allocations: 28.7 kB / 0.5399 GB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.6953, allocations: 1.638 MB / 0.5415 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.6956, allocations: 297.2 kB / 0.5418 GB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.6958, allocations: 152.1 kB / 0.5419 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.6958, allocations: 4.188 kB / 0.5419 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.6959, allocations: 34.19 kB / 0.542 GB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.6959, allocations: 0 / 0.542 GB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001733/0.6976, allocations: 0.9794 MB / 0.5429 GB, free: 13.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.6977, allocations: 77.11 kB / 0.543 GB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.6979, allocations: 260.4 kB / 0.5433 GB, free: 12.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.698, allocations: 29.64 kB / 0.5433 GB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.6981, allocations: 212.4 kB / 0.5435 GB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.215e-05/0.6982, allocations: 96.81 kB / 0.5436 GB, free: 12.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.6982, allocations: 0 / 0.5436 GB, free: 12.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6983, allocations: 344.2 kB / 0.5439 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.6985, allocations: 134.8 kB / 0.544 GB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.6988, allocations: 230.2 kB / 0.5443 GB, free: 11.94 MB / 362.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