Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.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.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.002388/0.002389, allocations: 177.1 kB / 8.35 MB, free: 0.7266 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.604/1.604, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009178/0.000918, allocations: 79.14 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1804/0.1804, allocations: 38 MB / 348 MB, free: 7.781 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.973e-05, allocations: 4 kB / 410.7 MB, free: 46.87 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 56.33 MB / 467 MB, free: 6.48 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.5099, allocations: 103.7 MB / 0.5573 GB, free: 7.098 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.5102, allocations: 95.94 kB / 0.5574 GB, free: 7.004 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04926/0.5595, allocations: 17.35 MB / 0.5743 GB, free: 5.465 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5595, allocations: 0 / 0.5743 GB, free: 5.465 MB / 411.1 MB Notification: Performance of Transformations before backend: time 4.343e-05/0.5596, allocations: 24 kB / 0.5744 GB, free: 5.441 MB / 411.1 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.00227/0.5619, allocations: 1.125 MB / 0.5755 GB, free: 4.258 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.5619, allocations: 12.03 kB / 0.5755 GB, free: 4.246 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.5621, allocations: 98.92 kB / 0.5756 GB, free: 4.148 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003383/0.5655, allocations: 1.299 MB / 0.5768 GB, free: 2.809 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004356/0.566, allocations: 334.8 kB / 0.5772 GB, free: 2.43 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.5661, allocations: 43.94 kB / 0.5772 GB, free: 2.387 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001457/0.5676, allocations: 0.8654 MB / 0.578 GB, free: 1.523 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.569, allocations: 0.9027 MB / 0.5789 GB, free: 0.5742 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.569, allocations: 3.938 kB / 0.5789 GB, free: 0.5703 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.5691, allocations: 3.953 kB / 0.5789 GB, free: 0.5664 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.5691, allocations: 20 kB / 0.579 GB, free: 0.5469 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005145/0.5743, allocations: 3.426 MB / 0.5823 GB, free: 13.03 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.5754, allocations: 0.7141 MB / 0.583 GB, free: 12.3 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000826/0.5763, allocations: 0.5226 MB / 0.5835 GB, free: 11.77 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.5763, allocations: 12.5 kB / 0.5835 GB, free: 11.76 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007389/0.5771, allocations: 0.5123 MB / 0.584 GB, free: 11.23 MB / 427.1 MB Notification: Performance of pre-optimization done (n=59): time 3.977e-06/0.5771, allocations: 0 / 0.584 GB, free: 11.23 MB / 427.1 MB Notification: Performance of matching and sorting (n=61): time 0.007788/0.5849, allocations: 3.325 MB / 0.5873 GB, free: 7.844 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.585, allocations: 89.66 kB / 0.5874 GB, free: 7.738 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.5854, allocations: 341.2 kB / 0.5877 GB, free: 7.402 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.5855, allocations: 33.69 kB / 0.5877 GB, free: 7.363 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.5857, allocations: 332 kB / 0.588 GB, free: 7.031 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.5859, allocations: 189.1 kB / 0.5882 GB, free: 6.844 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.5859, allocations: 4 kB / 0.5882 GB, free: 6.84 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5861, allocations: 370.8 kB / 0.5886 GB, free: 6.469 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.5866, allocations: 373.4 kB / 0.5889 GB, free: 6.102 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005705/0.5872, allocations: 0.4908 MB / 0.5894 GB, free: 5.57 MB / 427.1 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "--maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated