Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 104.8 kB / 16.42 MB, free: 6.52 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.00108/0.001081, allocations: 187.2 kB / 17.35 MB, free: 5.73 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.137/1.137, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001819/0.001819, allocations: 291.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8148/0.8148, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.633e-05, allocations: 8.75 kB / 0.682 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00567/0.005694, allocations: 5.463 MB / 0.6874 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2329/0.2386, allocations: 2.607 MB / 0.6899 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004546/0.2391, allocations: 21.81 kB / 0.6899 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.2408, allocations: 0.6795 MB / 0.6906 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.2418, allocations: 410.1 kB / 0.691 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.243, allocations: 388.9 kB / 0.6914 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.2443, allocations: 1.062 MB / 0.6924 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007038/0.245, allocations: 407.1 kB / 0.6928 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005466/0.2456, allocations: 372.3 kB / 0.6931 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.246, allocations: 315.8 kB / 0.6934 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-05/0.2461, allocations: 39.72 kB / 0.6935 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007071/0.2468, allocations: 320.5 kB / 0.6938 GB, free: 12.28 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0008067/0.2477, allocations: 1.003 MB / 0.6948 GB, free: 11.76 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004446/0.2481, allocations: 0.6662 MB / 0.6954 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.2483, allocations: 103.6 kB / 0.6955 GB, free: 11.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001014/0.2484, allocations: 18.03 kB / 0.6955 GB, free: 11.32 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 (108) * Number of variables: 140 (104) Notification: Performance of Bindings: time 0.002742/0.2511, allocations: 2.642 MB / 0.6981 GB, free: 9.582 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001866/0.2513, allocations: 118.2 kB / 0.6982 GB, free: 9.52 MB / 494.1 MB Notification: Performance of Early Inline: time 0.001965/0.2533, allocations: 1.462 MB / 0.6996 GB, free: 8.699 MB / 494.1 MB Notification: Performance of simplify1: time 0.0001848/0.2535, allocations: 119.4 kB / 0.6998 GB, free: 8.656 MB / 494.1 MB Notification: Performance of Alias: time 0.002405/0.2559, allocations: 1.806 MB / 0.7015 GB, free: 7.324 MB / 494.1 MB Notification: Performance of simplify2: time 0.0001603/0.2561, allocations: 103.8 kB / 0.7016 GB, free: 7.289 MB / 494.1 MB Notification: Performance of Events: time 0.00024/0.2563, allocations: 145 kB / 0.7018 GB, free: 7.215 MB / 494.1 MB Notification: Performance of Detect States: time 0.000535/0.2569, allocations: 385.6 kB / 0.7021 GB, free: 6.98 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0005533/0.2575, allocations: 0.4983 MB / 0.7026 GB, free: 6.707 MB / 494.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: load_sc_2.terminal.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) load_sc_2.terminal.v = {{load_sc_2.R, -load_sc_2.X} * load_sc_2.terminal.i, {load_sc_2.X, load_sc_2.R} * load_sc_2.terminal.i} ($RES_SIM_59)