Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.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.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001187/0.001186, allocations: 179.6 kB / 8.351 MB, free: 0.7227 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.704/1.704, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001797/0.001797, allocations: 108.7 kB / 248.1 MB, free: 16 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1653/0.1653, allocations: 37.94 MB / 330.9 MB, free: 2.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.282e-05/2.306e-05, allocations: 4 kB / 390.5 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2953, allocations: 53.23 MB / 443.7 MB, free: 17.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4535/0.7488, allocations: 98.61 MB / 0.5296 GB, free: 34.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/0.7492, allocations: 90.38 kB / 0.5297 GB, free: 34.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04927/0.7985, allocations: 17.33 MB / 0.5466 GB, free: 33.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.7985, allocations: 3.938 kB / 0.5466 GB, free: 33.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.544e-05/0.7986, allocations: 15.34 kB / 0.5466 GB, free: 33.15 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.002412/0.801, allocations: 1.133 MB / 0.5477 GB, free: 32.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.8011, allocations: 7.75 kB / 0.5477 GB, free: 32.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.8013, allocations: 105.3 kB / 0.5478 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.8047, allocations: 1.298 MB / 0.5491 GB, free: 32.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003882/0.8051, allocations: 329 kB / 0.5494 GB, free: 31.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.8053, allocations: 42.53 kB / 0.5495 GB, free: 31.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001514/0.8068, allocations: 0.8697 MB / 0.5503 GB, free: 31.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.8081, allocations: 0.909 MB / 0.5512 GB, free: 31.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.8082, allocations: 0 / 0.5512 GB, free: 31.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.711e-05/0.8083, allocations: 0 / 0.5512 GB, free: 31.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.8083, allocations: 15.62 kB / 0.5512 GB, free: 31.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004732/0.813, allocations: 3.421 MB / 0.5545 GB, free: 30.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.8142, allocations: 0.7058 MB / 0.5552 GB, free: 30.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009158/0.8151, allocations: 0.518 MB / 0.5557 GB, free: 30.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-05/0.8152, allocations: 20.31 kB / 0.5558 GB, free: 30.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007957/0.816, allocations: 0.5277 MB / 0.5563 GB, free: 30.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 2.945e-06/0.816, allocations: 0 / 0.5563 GB, free: 30.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.007656/0.8237, allocations: 3.315 MB / 0.5595 GB, free: 29.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.8238, allocations: 89.23 kB / 0.5596 GB, free: 29.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.8242, allocations: 352.9 kB / 0.5599 GB, free: 29.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.8244, allocations: 37.44 kB / 0.56 GB, free: 29.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.8247, allocations: 325.8 kB / 0.5603 GB, free: 29.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.8249, allocations: 190.7 kB / 0.5605 GB, free: 29.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.8249, allocations: 3.906 kB / 0.5605 GB, free: 29.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.825, allocations: 365.2 kB / 0.5608 GB, free: 28.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.8255, allocations: 381.3 kB / 0.5612 GB, free: 28.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/0.826, allocations: 493.4 kB / 0.5616 GB, free: 28.73 MB / 378.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