Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 105.3 kB / 16.42 MB, free: 6.512 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.001062/0.001062, allocations: 192.2 kB / 17.35 MB, free: 5.754 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.13/1.13, 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.001815/0.001815, allocations: 281.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8078/0.8078, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/1.888e-05, allocations: 2.281 kB / 0.682 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004196/0.004222, allocations: 3.754 MB / 0.6857 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.006562, allocations: 1.773 MB / 0.6874 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.006715, allocations: 19.88 kB / 0.6874 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007217/0.007443, allocations: 270.6 kB / 0.6877 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004968/0.007948, allocations: 302.4 kB / 0.688 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.008391, allocations: 246.7 kB / 0.6882 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.223/0.2314, allocations: 0.6667 MB / 0.6889 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004723/0.2319, allocations: 249.3 kB / 0.6891 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006328/0.2325, allocations: 236.3 kB / 0.6893 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.233, allocations: 198.4 kB / 0.6895 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.92e-05/0.2331, allocations: 23.81 kB / 0.6895 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006503/0.2338, allocations: 244.8 kB / 0.6898 GB, free: 12.84 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0007215/0.2345, allocations: 0.6573 MB / 0.6904 GB, free: 12.5 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003822/0.2349, allocations: 449 kB / 0.6908 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.2351, allocations: 72.69 kB / 0.6909 GB, free: 12.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.000107/0.2353, allocations: 8.5 kB / 0.6909 GB, free: 12.21 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: 85 (71) * Number of variables: 85 (67) Notification: Performance of Bindings: time 0.001319/0.2366, allocations: 1.736 MB / 0.6926 GB, free: 11.38 MB / 494.1 MB Notification: Performance of FunctionAlias: time 6.341e-05/0.2366, allocations: 57.94 kB / 0.6927 GB, free: 11.38 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0008149/0.2375, allocations: 0.9356 MB / 0.6936 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simplify1: time 8.389e-05/0.2376, allocations: 76.84 kB / 0.6937 GB, free: 11.29 MB / 494.1 MB Notification: Performance of Alias: time 0.00127/0.2388, allocations: 1.467 MB / 0.6951 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simplify2: time 6.249e-05/0.2389, allocations: 62.8 kB / 0.6952 GB, free: 10.59 MB / 494.1 MB Notification: Performance of Events: time 0.0001288/0.239, allocations: 107.1 kB / 0.6953 GB, free: 10.54 MB / 494.1 MB Notification: Performance of Detect States: time 0.0002051/0.2393, allocations: 211.4 kB / 0.6955 GB, free: 10.41 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002381/0.2395, allocations: 276.3 kB / 0.6957 GB, free: 10.24 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: Z_R.terminal.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) Z_R.terminal.v = {{Z_R.R_internal, -Z_R.X} * Z_R.terminal.i, {Z_R.X, Z_R.R_internal} * Z_R.terminal.i} ($RES_SIM_11)