Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_Buildings.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.001095/0.001095, allocations: 112.7 kB / 16.43 MB, free: 6.469 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.001073/0.001073, allocations: 185.5 kB / 17.36 MB, free: 5.723 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.145/1.145, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.213/2.213, allocations: 469.8 MB / 0.7432 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.145e-05, allocations: 4.25 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004047/0.004067, allocations: 3.749 MB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002299/0.006378, allocations: 1.789 MB / 1.071 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.00652, allocations: 19.88 kB / 1.071 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.007214, allocations: 270 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004609/0.007684, allocations: 314.5 kB / 1.072 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.008101, allocations: 251.4 kB / 1.072 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005609/0.008668, allocations: 0.6712 MB / 1.073 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.008965, allocations: 190.5 kB / 1.073 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.009221, allocations: 243 kB / 1.073 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.009421, allocations: 191.1 kB / 1.073 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.009473, allocations: 24 kB / 1.073 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.009795, allocations: 243.5 kB / 1.074 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0004185/0.01022, allocations: 0.6643 MB / 1.074 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002401/0.01047, allocations: 449.8 kB / 1.075 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.01053, allocations: 63.81 kB / 1.075 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.259e-05/0.01057, allocations: 15.88 kB / 1.075 GB, free: 4.512 MB / 0.8419 GB 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.001102/0.01167, allocations: 1.403 MB / 1.076 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 4.933e-05/0.01173, allocations: 59.83 kB / 1.076 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0006539/0.01239, allocations: 0.7334 MB / 1.077 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001355/0.01253, allocations: 143.6 kB / 1.077 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of Alias: time 0.001104/0.01364, allocations: 1.082 MB / 1.078 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001027/0.01375, allocations: 119.7 kB / 1.078 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002943/0.01405, allocations: 161 kB / 1.078 GB, free: 380 kB / 0.8419 GB Notification: Performance of Events: time 0.0001272/0.01419, allocations: 87.86 kB / 1.078 GB, free: 292 kB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001922/0.0144, allocations: 199.7 kB / 1.079 GB, free: 60 kB / 0.8419 GB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: Z_R.R_internal. 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)