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.001129/0.001129, allocations: 117.1 kB / 17.76 MB, free: 5.32 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.001168/0.001168, allocations: 188.6 kB / 18.69 MB, free: 4.395 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.275/1.275, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.434e-05, allocations: 2.281 kB / 351.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003029/0.003062, allocations: 1.872 MB / 353.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004293, allocations: 0.5804 MB / 354.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.004457, allocations: 4 kB / 354.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.004607, allocations: 31.67 kB / 354.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.004785, allocations: 39.66 kB / 354.4 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.005116, allocations: 67.86 kB / 354.5 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.005413, allocations: 195.2 kB / 354.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.005629, allocations: 73.62 kB / 354.8 MB, free: 452 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.005789, allocations: 71.64 kB / 354.8 MB, free: 380 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.005919, allocations: 71.62 kB / 354.9 MB, free: 308 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.005958, allocations: 12 kB / 354.9 MB, free: 296 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.006066, allocations: 23.98 kB / 354.9 MB, free: 272 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002344/0.006306, allocations: 280.5 kB / 355.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000124/0.00644, allocations: 185.2 kB / 355.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.006503, allocations: 31.81 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.508e-05/0.006574, allocations: 19.94 kB / 355.4 MB, free: 15.75 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.0009045/0.007484, allocations: 0.8283 MB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001101/0.007602, allocations: 51.88 kB / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003773/0.007986, allocations: 370.3 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simplify1: time 4.559e-05/0.008039, allocations: 35.94 kB / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of Alias: time 0.000786/0.008831, allocations: 0.5659 MB / 357.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simplify2: time 4.202e-05/0.008886, allocations: 27.91 kB / 357.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Detect States: time 0.00018/0.009072, allocations: 116.1 kB / 357.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of Events: time 0.0001728/0.009253, allocations: 91.47 kB / 357.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001965/0.009459, allocations: 149.4 kB / 357.7 MB, free: 13.28 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)