Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.001029/0.001029, allocations: 187.2 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.12/1.12, allocations: 222.9 MB / 241.1 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.001835/0.001835, allocations: 288.7 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.8061/0.8061, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.102e-05, allocations: 2.281 kB / 0.682 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003748/0.003768, allocations: 3.023 MB / 0.685 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.005959, allocations: 1.745 MB / 0.6867 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.371e-05/0.006064, allocations: 4 kB / 0.6867 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006686/0.006738, allocations: 238.9 kB / 0.6869 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.007073, allocations: 195.1 kB / 0.6871 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.007531, allocations: 251.3 kB / 0.6873 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.007949, allocations: 430.7 kB / 0.6877 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.008262, allocations: 192.9 kB / 0.6879 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.008445, allocations: 159.4 kB / 0.6881 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.008684, allocations: 163.3 kB / 0.6882 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.008728, allocations: 24 kB / 0.6883 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.009005, allocations: 223.5 kB / 0.6885 GB, free: 388 kB / 494.1 MB Notification: Performance of combineBinaries: time 0.2145/0.2235, allocations: 437.6 kB / 0.6889 GB, free: 13.09 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001933/0.2237, allocations: 274 kB / 0.6892 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.2238, allocations: 40.41 kB / 0.6892 GB, free: 13.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.823e-05/0.2239, allocations: 10.69 kB / 0.6892 GB, free: 13.07 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 (46) * Number of variables: 57 (42) Notification: Performance of Bindings: time 0.000963/0.2248, allocations: 1.257 MB / 0.6904 GB, free: 12.56 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001075/0.2249, allocations: 80.91 kB / 0.6905 GB, free: 12.55 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0008526/0.2258, allocations: 0.9991 MB / 0.6915 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simplify1: time 8.042e-05/0.2259, allocations: 76.39 kB / 0.6916 GB, free: 12.46 MB / 494.1 MB Notification: Performance of Alias: time 0.0007853/0.2267, allocations: 0.8181 MB / 0.6924 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simplify2: time 8.042e-05/0.2268, allocations: 79.95 kB / 0.6924 GB, free: 12.16 MB / 494.1 MB Notification: Performance of Events: time 0.0001652/0.2269, allocations: 136.4 kB / 0.6926 GB, free: 12.14 MB / 494.1 MB Notification: Performance of Detect States: time 0.0002467/0.2272, allocations: 262.8 kB / 0.6928 GB, free: 12.09 MB / 494.1 MB Notification: Performance of Partitioning: time 0.000267/0.2275, allocations: 317.5 kB / 0.6931 GB, free: 12 MB / 494.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [ALGB] (1) protected Real RL.omega slice: {} (1|1) Unmatched Equations *************************** [SCAL] (1) RL.theRef = RL.terminal.theta[1] ($RES_SIM_21) slice: {}