Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.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.Transformation.PhaseShifts,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_PhaseShifts",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_PhaseShifts",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.00125/0.00125, allocations: 181.7 kB / 8.135 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.978/0.978, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001645/0.001645, allocations: 124.2 kB / 247.8 MB, free: 6.391 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1503/0.1503, allocations: 37.91 MB / 330.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1656/0.3159, allocations: 59.34 MB / 389.9 MB, free: 78.03 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06631/0.3822, allocations: 53.24 MB / 443.1 MB, free: 24.88 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.6055, allocations: 104 MB / 0.5343 GB, free: 3.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.6057, allocations: 84.52 kB / 0.5344 GB, free: 3.777 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: 576 * Number of variables: 576 Notification: Performance of Generate backend data structure: time 0.178/0.7837, allocations: 68.2 MB / 0.601 GB, free: 6.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.7837, allocations: 8 kB / 0.601 GB, free: 6.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003861/0.7876, allocations: 0.598 MB / 0.6015 GB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006605/0.7942, allocations: 2.704 MB / 0.6042 GB, free: 3.238 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.7943, allocations: 60 kB / 0.6042 GB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004626/0.7948, allocations: 115.9 kB / 0.6044 GB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00373/0.7985, allocations: 2.222 MB / 0.6065 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/0.8025, allocations: 2.801 MB / 0.6093 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.765e-05/0.8026, allocations: 19.88 kB / 0.6093 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.8028, allocations: 4 kB / 0.6093 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003969/0.8032, allocations: 275.8 kB / 0.6095 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01456/0.8178, allocations: 13.01 MB / 0.6223 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.8192, allocations: 1.084 MB / 0.6233 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008741/0.82, allocations: 0.7166 MB / 0.624 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.317e-05/0.8201, allocations: 33.2 kB / 0.624 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.8202, allocations: 43.88 kB / 0.6241 GB, free: 13.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=147): time 3.627e-06/0.8202, allocations: 0 / 0.6241 GB, free: 13.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=149): time 0.005709/0.8259, allocations: 3.7 MB / 0.6277 GB, free: 10.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.826, allocations: 94.45 kB / 0.6278 GB, free: 10.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.8271, allocations: 0.9904 MB / 0.6288 GB, free: 9.027 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-05/0.8272, allocations: 33.7 kB / 0.6288 GB, free: 8.988 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.8276, allocations: 0.9052 MB / 0.6297 GB, free: 8.066 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/0.828, allocations: 0.5004 MB / 0.6302 GB, free: 7.559 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.462e-05/0.8281, allocations: 0 / 0.6302 GB, free: 7.559 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.8283, allocations: 398.4 kB / 0.6305 GB, free: 7.164 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009811/0.8293, allocations: 0.7149 MB / 0.6312 GB, free: 6.445 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.8307, allocations: 1.544 MB / 0.6327 GB, free: 4.504 MB / 442.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.Transformation.PhaseShifts could not be translated to FMU