Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 111.3 kB / 17.1 MB, free: 5.941 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: 196.8 kB / 18.04 MB, free: 5.012 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.115/1.115, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.637/0.637, allocations: 122.9 MB / 414.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.403e-05, allocations: 2.281 kB / 0.5691 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01728/0.0173, allocations: 22.62 MB / 0.5912 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0189/0.03623, allocations: 17.63 MB / 0.6084 GB, free: 14.63 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.03844, allocations: 119.3 kB / 0.6085 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008567/0.04701, allocations: 4.165 MB / 0.6126 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007877/0.05493, allocations: 3.578 MB / 0.6161 GB, free: 6.766 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.05748, allocations: 1.316 MB / 0.6174 GB, free: 5.453 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007011/0.0645, allocations: 6.499 MB / 0.6237 GB, free: 14.94 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/0.06818, allocations: 3.063 MB / 0.6267 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.07166, allocations: 2.499 MB / 0.6291 GB, free: 9.293 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003466/0.07514, allocations: 2.225 MB / 0.6313 GB, free: 7.059 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004886/0.07564, allocations: 328 kB / 0.6316 GB, free: 6.738 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.07733, allocations: 0.9126 MB / 0.6325 GB, free: 5.824 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.003837/0.08118, allocations: 6.16 MB / 0.6385 GB, free: 15.6 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.002082/0.08327, allocations: 3.759 MB / 0.6422 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006989/0.08398, allocations: 0.5764 MB / 0.6428 GB, free: 11.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0005085/0.0845, allocations: 99.69 kB / 0.6429 GB, free: 11.12 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: 635 (516) * Number of variables: 635 (454) Notification: Performance of Bindings: time 0.01254/0.09704, allocations: 17.17 MB / 0.6596 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.001224/0.09828, allocations: 1.576 MB / 0.6612 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.009578/0.1079, allocations: 11.83 MB / 0.6727 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0007746/0.1087, allocations: 0.835 MB / 0.6735 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of Alias: time 0.01113/0.1198, allocations: 11.97 MB / 0.6852 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0006907/0.1205, allocations: 0.7374 MB / 0.6859 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of Detect States: time 0.001951/0.1225, allocations: 2.553 MB / 0.6884 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of Events: time 0.002029/0.1245, allocations: 2.073 MB / 0.6905 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.003008/0.1275, allocations: 3.329 MB / 0.6937 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of Causalize: time 0.01995/0.1475, allocations: 21.07 MB / 0.7143 GB, free: 284 kB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.007858/0.1553, allocations: 9.38 MB / 0.7235 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of Inline: time 0.0161/0.1715, allocations: 19.19 MB / 0.7422 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0007208/0.1722, allocations: 0.6312 MB / 0.7428 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0007007/0.1729, allocations: 0.7373 MB / 0.7435 GB, free: 2 MB / 0.5762 GB Notification: Performance of Causalize: time 0.2407/0.4136, allocations: 28.78 MB / 0.7716 GB, free: 90.37 MB / 0.5762 GB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if $SEV_5 then [----] [SCAL] (1) load10.terminal.i[1] + load10.P * (0.05 - (load10.terminal.v[1] - load10.terminal.v[2]) / 1600.0) = 0.0 ($RES_SIM_33) [----] elseif $SEV_6 then [----] [SCAL] (1) load10.terminal.i[1] + load10.P * (0.03333333333333333 - (load10.terminal.v[1] - load10.terminal.v[2]) / 3600.0) = 0.0 ($RES_SIM_34) [----] else [----] [SCAL] (1) load10.terminal.i[1] + load10.P * (0.04 - (load10.terminal.v[1] - load10.terminal.v[2]) / 2500.0) = 0.0 ($RES_SIM_35) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!