Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent",fileNamePrefix="Buildings_9_Buildings.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.001341/0.001341, allocations: 112.5 kB / 16.43 MB, free: 6.508 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.001327/0.001327, allocations: 183.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.111/1.111, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.839/1.839, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.149e-05, allocations: 4.812 kB / 0.9514 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003248/0.003268, allocations: 2.913 MB / 0.9543 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.005446, allocations: 1.793 MB / 0.956 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.00553, allocations: 7.938 kB / 0.956 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006132/0.006151, allocations: 239.1 kB / 0.9563 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.006485, allocations: 195.1 kB / 0.9564 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.006879, allocations: 235.4 kB / 0.9567 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.007208, allocations: 346.9 kB / 0.957 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.00748, allocations: 170.2 kB / 0.9572 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.007634, allocations: 127.5 kB / 0.9573 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.007823, allocations: 127.5 kB / 0.9574 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.007856, allocations: 16 kB / 0.9574 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.008143, allocations: 247.5 kB / 0.9577 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002319/0.008384, allocations: 364.3 kB / 0.958 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.0001177/0.008507, allocations: 221.1 kB / 0.9582 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.008546, allocations: 31.88 kB / 0.9582 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.674e-05/0.008567, allocations: 4 kB / 0.9582 GB, free: 0.7891 MB / 0.7325 GB 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.0008562/0.009428, allocations: 1.052 MB / 0.9593 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 8.235e-05/0.009516, allocations: 59.88 kB / 0.9593 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.0007481/0.01027, allocations: 0.8584 MB / 0.9602 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of simplify1: time 6.698e-05/0.01035, allocations: 71.92 kB / 0.9602 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of Alias: time 0.0007124/0.01107, allocations: 0.739 MB / 0.961 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simplify2: time 6.186e-05/0.01114, allocations: 67.91 kB / 0.961 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of Detect States: time 0.0001726/0.01131, allocations: 174.7 kB / 0.9612 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of Events: time 0.0001323/0.01145, allocations: 116.6 kB / 0.9613 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0002469/0.01171, allocations: 269.1 kB / 0.9616 GB, free: 13.1 MB / 0.7481 GB 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: {}