Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 108.1 kB / 20.54 MB, free: 1.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 217.4 kB / 23.73 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.324/1.324, allocations: 230.5 MB / 257.2 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.107e-05, allocations: 2.281 kB / 377.4 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003161/0.003182, allocations: 2.079 MB / 379.5 MB, free: 1.453 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009933/0.004175, allocations: 0.5845 MB / 380.1 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.00425, allocations: 3.938 kB / 380.1 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.004353, allocations: 19.84 kB / 380.1 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.459e-05/0.004437, allocations: 35.66 kB / 380.1 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.004679, allocations: 75.83 kB / 380.2 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.004948, allocations: 231.2 kB / 380.4 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.00506, allocations: 41.03 kB / 380.4 MB, free: 476 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.005161, allocations: 71.83 kB / 380.5 MB, free: 404 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.005326, allocations: 91.66 kB / 380.6 MB, free: 312 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.005358, allocations: 20 kB / 380.6 MB, free: 292 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.005416, allocations: 20 kB / 380.6 MB, free: 272 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.1504/0.1558, allocations: 274.1 kB / 380.9 MB, free: 13 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001103/0.1559, allocations: 135.1 kB / 381 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.154e-05/0.156, allocations: 20.09 kB / 381.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.617e-05/0.1561, allocations: 7.047 kB / 381.1 MB, free: 12.99 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: 24 (24) * Number of variables: 24 (24) Notification: Performance of Bindings: time 0.0008276/0.1569, allocations: 0.6738 MB / 381.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.091e-05/0.157, allocations: 59.59 kB / 381.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004962/0.1575, allocations: 391.5 kB / 382.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.0001938/0.1577, allocations: 134.5 kB / 382.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Alias: time 0.0008992/0.1586, allocations: 0.4989 MB / 382.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0001511/0.1587, allocations: 122.2 kB / 382.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Remove Stream: time 0.0001225/0.1588, allocations: 109.4 kB / 383 MB, free: 12.16 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002335/0.1591, allocations: 169.2 kB / 383.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Events: time 0.0001568/0.1592, allocations: 85 kB / 383.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001824/0.1594, allocations: 135 kB / 383.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006265/0.16, allocations: 378.4 kB / 383.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003449/0.1604, allocations: 261 kB / 384 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Simplify: time 0.0003669/0.1607, allocations: 257.1 kB / 384.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Inline: time 0.0005242/0.1613, allocations: 431.3 kB / 384.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Partitioning: time 2.267e-05/0.1613, allocations: 22.31 kB / 384.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001017/0.1614, allocations: 91.75 kB / 384.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Causalize: time 0.000811/0.1622, allocations: 437.4 kB / 385.3 MB, free: 11.54 MB / 302.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_12) [----] if dcPowerSupply.cp then [----] [-IF-] (1) ($RES_SIM_13) [----] [----] if dcPowerSupply.cv then [----] [----] [SCAL] (1) dcPowerSupply.v = dcPowerSupply.Rcv * dcPowerSupply.i + dcPowerSupply.V0 ($RES_SIM_14) [----] [----] elseif dcPowerSupply.cc then [----] [----] [SCAL] (1) -dcPowerSupply.i = dcPowerSupply.I0 - dcPowerSupply.Gcc * dcPowerSupply.v ($RES_SIM_15) [----] [----] else [----] [----] [SCAL] (1) dcPowerSupply.P0 = -dcPowerSupply.v * dcPowerSupply.i ($RES_SIM_16) [----] [----] end if; [----] else [----] [-IF-] (1) ($RES_SIM_17) [----] [----] if dcPowerSupply.cv then [----] [----] [SCAL] (1) dcPowerSupply.v = dcPowerSupply.Rcv * dcPowerSupply.i + dcPowerSupply.V0 ($RES_SIM_18) [----] [----] else [----] [----] [SCAL] (1) -dcPowerSupply.i = dcPowerSupply.I0 - dcPowerSupply.Gcc * dcPowerSupply.v ($RES_SIM_19) [----] [----] end if; [----] end if; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.0806172266602516]