Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 105.4 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 193.4 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.138/1.138, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.00186, allocations: 290.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8149/0.8149, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.717e-05, allocations: 2.281 kB / 0.682 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003569/0.003594, allocations: 2.885 MB / 0.6848 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.005855, allocations: 1.644 MB / 0.6864 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.006002, allocations: 4 kB / 0.6864 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007032/0.006711, allocations: 238 kB / 0.6867 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.007124, allocations: 179.2 kB / 0.6868 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.007654, allocations: 227.4 kB / 0.6871 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.008078, allocations: 354.9 kB / 0.6874 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003061/0.008392, allocations: 164.1 kB / 0.6875 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.008592, allocations: 127.5 kB / 0.6877 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.008835, allocations: 127.5 kB / 0.6878 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.008875, allocations: 20 kB / 0.6878 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.009211, allocations: 223.5 kB / 0.688 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002496/0.009469, allocations: 352.3 kB / 0.6884 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001314/0.009606, allocations: 225.1 kB / 0.6886 GB, free: 288 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.009659, allocations: 31.88 kB / 0.6886 GB, free: 256 kB / 494.1 MB Notification: Performance of FrontEnd: time 3.27e-05/0.009696, allocations: 4 kB / 0.6886 GB, free: 252 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 (42) * Number of variables: 53 (38) Notification: Performance of Bindings: time 0.2229/0.2326, allocations: 1.034 MB / 0.6896 GB, free: 13.19 MB / 494.1 MB Notification: Performance of FunctionAlias: time 8.989e-05/0.2327, allocations: 61.72 kB / 0.6897 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0007108/0.2334, allocations: 0.817 MB / 0.6905 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simplify1: time 7.052e-05/0.2335, allocations: 68.55 kB / 0.6905 GB, free: 13.12 MB / 494.1 MB Notification: Performance of Alias: time 0.0006702/0.2341, allocations: 0.7115 MB / 0.6912 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simplify2: time 6.129e-05/0.2342, allocations: 61.61 kB / 0.6913 GB, free: 12.83 MB / 494.1 MB Notification: Performance of Events: time 0.000108/0.2343, allocations: 93.66 kB / 0.6914 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001768/0.2345, allocations: 182.3 kB / 0.6916 GB, free: 12.78 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002214/0.2347, allocations: 267.4 kB / 0.6918 GB, free: 12.7 MB / 494.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [ALGB] (1) protected Real res.omega slice: {} (1|1) Unmatched Equations *************************** [SCAL] (1) grid.sou.terminal.theta[1] = 6.283185307179586 * grid.sou.f * time ($RES_SIM_22) slice: {}