Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.RealNetwork1.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) 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(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.RealNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 107.9 kB / 17.75 MB, free: 5.352 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.0009606/0.0009607, allocations: 189.8 kB / 18.68 MB, free: 4.426 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.286/1.286, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.184e-05, allocations: 2.281 kB / 351.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.002671/0.002701, allocations: 1.852 MB / 353.8 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009695/0.003682, allocations: 0.5765 MB / 354.4 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.003785, allocations: 3.938 kB / 354.4 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.003924, allocations: 31.72 kB / 354.4 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.004066, allocations: 35.66 kB / 354.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.004344, allocations: 71.8 kB / 354.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.004622, allocations: 195.2 kB / 354.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.004789, allocations: 71.75 kB / 354.8 MB, free: 464 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.0049, allocations: 75.64 kB / 354.8 MB, free: 388 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.005008, allocations: 71.62 kB / 354.9 MB, free: 316 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.005039, allocations: 12 kB / 354.9 MB, free: 304 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.00511, allocations: 23.98 kB / 354.9 MB, free: 280 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001781/0.005293, allocations: 276.5 kB / 355.2 MB, free: 0 / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001096/0.005409, allocations: 185.2 kB / 355.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.005455, allocations: 31.88 kB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.168e-05/0.005502, allocations: 19.88 kB / 355.4 MB, free: 15.77 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: 34 (33) * Number of variables: 34 (29) Notification: Performance of Bindings: time 0.000759/0.006267, allocations: 0.8361 MB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001003/0.006376, allocations: 59.83 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003189/0.006702, allocations: 366.5 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simplify1: time 3.969e-05/0.006748, allocations: 27.95 kB / 356.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of Alias: time 0.0007305/0.007485, allocations: 0.5736 MB / 357.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simplify2: time 2.524e-05/0.007521, allocations: 19.97 kB / 357.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of Events: time 0.0001406/0.007668, allocations: 99.55 kB / 357.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003548/0.00803, allocations: 132.1 kB / 357.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001619/0.008201, allocations: 157.3 kB / 357.7 MB, free: 13.25 MB / 302.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {add.u[1], add.u[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: add.u. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) showValue.numberPort = add.k * add.u ($RES_SIM_17)