Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc.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) 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(Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=48000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc") translateModel(Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=48000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 109.1 kB / 16.42 MB, free: 6.492 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.001069/0.001069, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.287/1.287, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.574e-05, allocations: 2.281 kB / 327.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc): time 0.003556/0.00359, allocations: 3.082 MB / 330.3 MB, free: 228 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.005025, allocations: 0.7837 MB / 331.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.005179, allocations: 8 kB / 331.1 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.005349, allocations: 59.38 kB / 331.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.005517, allocations: 103 kB / 331.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.005875, allocations: 111.8 kB / 331.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.006284, allocations: 470 kB / 331.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.00651, allocations: 143.7 kB / 331.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.006683, allocations: 159.4 kB / 332.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.006866, allocations: 179.2 kB / 332.3 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.006923, allocations: 36 kB / 332.3 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.874e-05/0.006977, allocations: 36 kB / 332.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004506/0.007433, allocations: 0.564 MB / 332.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001984/0.00764, allocations: 358.7 kB / 333.3 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.007712, allocations: 67.81 kB / 333.3 MB, free: 13.15 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.591e-05/0.007753, allocations: 11.98 kB / 333.3 MB, free: 13.14 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 (80) * Number of variables: 80 (80) Notification: Performance of Bindings: time 0.001386/0.009144, allocations: 1.698 MB / 335 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001148/0.009266, allocations: 95.09 kB / 335.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0006365/0.009909, allocations: 0.8429 MB / 336 MB, free: 10.37 MB / 286.1 MB Notification: Performance of simplify1: time 6.793e-05/0.009984, allocations: 71.91 kB / 336 MB, free: 10.3 MB / 286.1 MB Notification: Performance of Alias: time 0.001649/0.01164, allocations: 1.683 MB / 337.7 MB, free: 8.418 MB / 286.1 MB Notification: Performance of simplify2: time 3.581e-05/0.01169, allocations: 36.05 kB / 337.8 MB, free: 8.383 MB / 286.1 MB Notification: Performance of Events: time 0.0001312/0.01183, allocations: 100 kB / 337.9 MB, free: 8.285 MB / 286.1 MB Notification: Performance of Detect States: time 0.000234/0.01207, allocations: 209.7 kB / 338.1 MB, free: 8.062 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002359/0.01231, allocations: 239.8 kB / 338.3 MB, free: 7.801 MB / 286.1 MB Notification: Performance of Causalize: time 0.001022/0.01334, allocations: 1.113 MB / 339.4 MB, free: 6.66 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.000421/0.01377, allocations: 0.5068 MB / 339.9 MB, free: 6.129 MB / 286.1 MB Notification: Performance of Inline: time 0.000816/0.0146, allocations: 0.9067 MB / 340.8 MB, free: 5.184 MB / 286.1 MB Notification: Performance of Partitioning: time 5.354e-05/0.01466, allocations: 54.36 kB / 340.9 MB, free: 5.125 MB / 286.1 MB Notification: Performance of Cleanup: time 3.839e-05/0.01471, allocations: 47.83 kB / 340.9 MB, free: 5.078 MB / 286.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $SEV_1 = switch1.control.v < switch2.level ($RES_EVT_91) slice: {}; Notification: Performance of Causalize: time 0.002307/0.01702, allocations: 2.463 MB / 343.4 MB, free: 2.613 MB / 286.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_13) [----] [----] else [----] [----] [SCAL] (1) switch2.v = min(switch2.Vmax, switch2.V0 + switch2.dVdt * (time - switch2.tSwitch)) * sign(inductor2.i) ($RES_SIM_14) [----] [----] end if; [----] else [----] [SCAL] (1) switch2.v = switch2.Ron * inductor2.i ($RES_SIM_15) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!