Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_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.001344/0.001344, allocations: 109.1 kB / 16.42 MB, free: 6.473 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.00134/0.00134, allocations: 189.5 kB / 17.36 MB, free: 5.707 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.083/1.083, allocations: 222.9 MB / 241 MB, free: 15.08 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.823/1.823, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.897e-06/8.877e-06, allocations: 2.281 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0204/0.02042, allocations: 22.64 MB / 0.9736 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02006/0.04049, allocations: 17.63 MB / 0.9908 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.04236, allocations: 115.4 kB / 0.9909 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.008451/0.05082, allocations: 4.169 MB / 0.995 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007031/0.05786, allocations: 3.579 MB / 0.9985 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.06031, allocations: 1.318 MB / 0.9998 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006196/0.06651, allocations: 6.491 MB / 1.006 GB, free: 15.57 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002961/0.06949, allocations: 3.056 MB / 1.009 GB, free: 12.45 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.0719, allocations: 2.511 MB / 1.012 GB, free: 9.926 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.07405, allocations: 2.225 MB / 1.014 GB, free: 7.691 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003683/0.07443, allocations: 332 kB / 1.014 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.07572, allocations: 0.9047 MB / 1.015 GB, free: 6.461 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.003731/0.07946, allocations: 6.156 MB / 1.021 GB, free: 248 kB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 0.00193/0.08139, allocations: 3.766 MB / 1.025 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005155/0.08192, allocations: 0.5686 MB / 1.025 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0003494/0.08227, allocations: 91.69 kB / 1.025 GB, free: 11.77 MB / 0.8106 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.012/0.09428, allocations: 17.18 MB / 1.042 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.00118/0.09547, allocations: 1.593 MB / 1.044 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.009327/0.1048, allocations: 11.83 MB / 1.055 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0006942/0.1055, allocations: 0.8272 MB / 1.056 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of Alias: time 0.01056/0.1161, allocations: 11.98 MB / 1.068 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of simplify2: time 0.0005878/0.1167, allocations: 0.7298 MB / 1.068 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of Detect States: time 0.001852/0.1185, allocations: 2.54 MB / 1.071 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of Events: time 0.00194/0.1205, allocations: 2.066 MB / 1.073 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.002917/0.1234, allocations: 3.337 MB / 1.076 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of Causalize: time 0.3524/0.4758, allocations: 21.06 MB / 1.097 GB, free: 60.36 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.009319/0.4851, allocations: 9.38 MB / 1.106 GB, free: 59.83 MB / 0.8575 GB Notification: Performance of Inline: time 0.01562/0.5008, allocations: 19.2 MB / 1.125 GB, free: 53.16 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0006965/0.5015, allocations: 0.628 MB / 1.125 GB, free: 52.77 MB / 0.8575 GB Notification: Performance of Cleanup: time 0.0007327/0.5022, allocations: 0.7388 MB / 1.126 GB, free: 52.38 MB / 0.8575 GB Notification: Performance of Causalize: time 0.0226/0.5248, allocations: 28.79 MB / 1.154 GB, free: 42.05 MB / 0.8575 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!