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.001265/0.001265, allocations: 112.8 kB / 17.1 MB, free: 5.996 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.001397/0.001397, allocations: 191.9 kB / 18.03 MB, free: 5.086 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.504/1.504, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7989/0.7989, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.749e-05/3.75e-05, allocations: 5.719 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03127/0.03132, allocations: 22.62 MB / 0.5804 GB, free: 16.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0373/0.06867, allocations: 17.63 MB / 0.5976 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008954/0.07769, allocations: 111.9 kB / 0.5977 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01335/0.09109, allocations: 4.183 MB / 0.6018 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02217/0.1133, allocations: 3.57 MB / 0.6053 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00713/0.1204, allocations: 1.323 MB / 0.6066 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01696/0.1374, allocations: 6.498 MB / 0.6129 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/0.1476, allocations: 3.052 MB / 0.6159 GB, free: 5.395 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007348/0.1549, allocations: 2.507 MB / 0.6184 GB, free: 2.879 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007177/0.1622, allocations: 2.233 MB / 0.6205 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002091/0.1643, allocations: 332 kB / 0.6209 GB, free: 320 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005318/0.1696, allocations: 0.897 MB / 0.6217 GB, free: 15.41 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.008273/0.1779, allocations: 6.156 MB / 0.6278 GB, free: 9.195 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.004217/0.1822, allocations: 3.771 MB / 0.6314 GB, free: 5.383 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.1846, allocations: 0.5685 MB / 0.632 GB, free: 4.812 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.001522/0.1861, allocations: 91.75 kB / 0.6321 GB, free: 4.723 MB / 478.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.0277/0.2138, allocations: 17.17 MB / 0.6488 GB, free: 3.18 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.002648/0.2165, allocations: 1.567 MB / 0.6504 GB, free: 1.656 MB / 494.1 MB Notification: Performance of Early Inline: time 0.02141/0.2379, allocations: 11.82 MB / 0.6619 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of simplify1: time 0.001873/0.2398, allocations: 0.8389 MB / 0.6627 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of Alias: time 0.02148/0.2613, allocations: 11.98 MB / 0.6744 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simplify2: time 0.001766/0.2631, allocations: 0.7257 MB / 0.6751 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of Events: time 0.003816/0.267, allocations: 2.521 MB / 0.6776 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of Detect States: time 0.00334/0.2703, allocations: 2.486 MB / 0.68 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.005376/0.2757, allocations: 3.341 MB / 0.6833 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of Causalize: time 0.03303/0.3088, allocations: 21.07 MB / 0.7039 GB, free: 9.492 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.01404/0.3229, allocations: 9.387 MB / 0.713 GB, free: 28 kB / 0.545 GB Notification: Performance of Inline: time 0.02968/0.3526, allocations: 19.19 MB / 0.7318 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.001611/0.3543, allocations: 0.6351 MB / 0.7324 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.002017/0.3563, allocations: 0.7373 MB / 0.7331 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of Causalize: time 0.449/0.8054, allocations: 28.78 MB / 0.7612 GB, free: 103.1 MB / 0.5919 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!