Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SwitchWithArc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SwitchWithArc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inductor1.i|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SwitchWithArc") translateModel(Modelica.Electrical.Analog.Examples.SwitchWithArc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inductor1.i|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SwitchWithArc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001185, allocations: 115.7 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 213.1 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.099e-05, allocations: 6.219 kB / 359.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SwitchWithArc): time 0.004025/0.004055, allocations: 2.886 MB / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.005388, allocations: 0.775 MB / 363 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.005529, allocations: 8 kB / 363 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.005694, allocations: 51.5 kB / 363.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.005867, allocations: 83.2 kB / 363.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.006205, allocations: 107.8 kB / 363.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.006619, allocations: 414.4 kB / 363.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.006846, allocations: 119.4 kB / 363.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.006989, allocations: 143.5 kB / 363.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.007177, allocations: 155.3 kB / 364.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.007231, allocations: 28 kB / 364.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-05/0.007284, allocations: 32 kB / 364.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003516/0.007641, allocations: 0.4946 MB / 364.6 MB, free: 7.703 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001551/0.007802, allocations: 307.4 kB / 364.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.00787, allocations: 59.81 kB / 365 MB, free: 7.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.114e-05/0.007927, allocations: 15.94 kB / 365 MB, free: 7.324 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 (71) * Number of variables: 71 (71) Notification: Performance of Bindings: time 0.001374/0.009308, allocations: 1.466 MB / 366.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001119/0.009426, allocations: 73.12 kB / 366.5 MB, free: 5.676 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006777/0.01011, allocations: 0.753 MB / 367.3 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simplify1: time 6.997e-05/0.01019, allocations: 63.92 kB / 367.3 MB, free: 4.832 MB / 302.1 MB Notification: Performance of Alias: time 0.001861/0.01206, allocations: 1.637 MB / 369 MB, free: 3.023 MB / 302.1 MB Notification: Performance of simplify2: time 4.119e-05/0.01211, allocations: 35.95 kB / 369 MB, free: 2.988 MB / 302.1 MB Notification: Performance of Events: time 0.0001545/0.01227, allocations: 98.91 kB / 369.1 MB, free: 2.891 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002562/0.01253, allocations: 205.1 kB / 369.3 MB, free: 2.676 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002419/0.01278, allocations: 206.3 kB / 369.5 MB, free: 2.453 MB / 302.1 MB Notification: Performance of Causalize: time 0.0008055/0.0136, allocations: 0.6916 MB / 370.2 MB, free: 1.738 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004072/0.01402, allocations: 490.6 kB / 370.7 MB, free: 1.23 MB / 302.1 MB Notification: Performance of Inline: time 0.0007705/0.01479, allocations: 0.8219 MB / 371.5 MB, free: 392 kB / 302.1 MB Notification: Performance of Partitioning: time 4.877e-05/0.01485, allocations: 46.36 kB / 371.5 MB, free: 336 kB / 302.1 MB Notification: Performance of Cleanup: time 3.645e-05/0.0149, allocations: 35.95 kB / 371.6 MB, free: 300 kB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) switch2.off = $START.switch2.off ($RES_SRT_88) slice: {}; Notification: Performance of Causalize: time 0.2175/0.2324, allocations: 1.824 MB / 373.4 MB, free: 15.14 MB / 302.1 MB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if switch2.off then [----] [-IF-] (1)if switch2.quenched then [----] [----] [SCAL] (1) inductor2.i = switch2.Goff * switch2.v ($RES_SIM_8) [----] [----] else [----] [----] [SCAL] (1) switch2.v = min(switch2.Vmax, switch2.V0 + switch2.dVdt * (time - switch2.tSwitch)) * sign(inductor2.i) ($RES_SIM_9) [----] [----] end if; [----] else [----] [SCAL] (1) switch2.v = switch2.Ron * inductor2.i ($RES_SIM_10) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!