Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0012/0.0012, allocations: 105.7 kB / 16.42 MB, free: 6.496 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.001225/0.001225, allocations: 187.2 kB / 17.35 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.259/1.259, allocations: 251.7 MB / 0.51 GB, free: 428 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.155e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02251/0.02254, allocations: 22.43 MB / 0.7483 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.3727/0.3953, allocations: 17.73 MB / 0.7656 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003316/0.3987, allocations: 114.9 kB / 0.7657 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.008726/0.4074, allocations: 4.166 MB / 0.7698 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.4179, allocations: 3.512 MB / 0.7732 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0037/0.4216, allocations: 1.311 MB / 0.7745 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01177/0.4334, allocations: 6.48 MB / 0.7808 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005405/0.4389, allocations: 3.064 MB / 0.7838 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005288/0.4442, allocations: 2.42 MB / 0.7862 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00497/0.4492, allocations: 2.236 MB / 0.7884 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007319/0.4499, allocations: 331.3 kB / 0.7887 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.4528, allocations: 0.9066 MB / 0.7896 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.005207/0.458, allocations: 6.154 MB / 0.7956 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.002756/0.4608, allocations: 3.771 MB / 0.7993 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.4622, allocations: 0.5752 MB / 0.7998 GB, free: 308 kB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0005813/0.4628, allocations: 92.52 kB / 0.7999 GB, free: 288 kB / 0.5919 GB 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.01745/0.4802, allocations: 17.12 MB / 0.8166 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.001621/0.4819, allocations: 1.613 MB / 0.8182 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.01134/0.4932, allocations: 11.83 MB / 0.8298 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of simplify1: time 0.001135/0.4944, allocations: 0.8396 MB / 0.8306 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of Alias: time 0.01197/0.5064, allocations: 11.02 MB / 0.8414 GB, free: 492 kB / 0.6231 GB Notification: Performance of simplify2: time 0.001083/0.5075, allocations: 0.7346 MB / 0.8421 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of Events: time 0.002586/0.5101, allocations: 2.519 MB / 0.8445 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of Detect States: time 0.002317/0.5124, allocations: 2.482 MB / 0.847 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of Partitioning: time 0.003564/0.516, allocations: 3.337 MB / 0.8502 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of Causalize: time 0.02982/0.5458, allocations: 34.44 MB / 0.8839 GB, free: 7.008 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.008954/0.5548, allocations: 9.388 MB / 0.893 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of Inline: time 0.01992/0.5747, allocations: 19.2 MB / 0.9118 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of Partitioning: time 0.001138/0.5759, allocations: 0.6273 MB / 0.9124 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of Cleanup: time 0.001086/0.577, allocations: 0.7428 MB / 0.9131 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of Causalize: time 0.03701/0.614, allocations: 44.29 MB / 0.9564 GB, free: 3.465 MB / 0.7325 GB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if $SEV_13 then [----] [SCAL] (1) load9.terminal.i[1] + load9.P * (0.05 - (load9.terminal.v[1] - load9.terminal.v[2]) / 1600.0) = 0.0 ($RES_SIM_46) [----] elseif $SEV_14 then [----] [SCAL] (1) load9.terminal.i[1] + load9.P * (0.03333333333333333 - (load9.terminal.v[1] - load9.terminal.v[2]) / 3600.0) = 0.0 ($RES_SIM_47) [----] else [----] [SCAL] (1) load9.terminal.i[1] + load9.P * (0.04 - (load9.terminal.v[1] - load9.terminal.v[2]) / 2500.0) = 0.0 ($RES_SIM_48) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!