Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 106.7 kB / 16.37 MB, free: 6.355 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.001144/0.001144, allocations: 188 kB / 17.3 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.3e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005279/0.005315, allocations: 4.292 MB / 0.677 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003133/0.008461, allocations: 2.409 MB / 0.6794 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.00864, allocations: 15.88 kB / 0.6794 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009427/0.009589, allocations: 378.1 kB / 0.6798 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.0102, allocations: 370.1 kB / 0.6801 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.0108, allocations: 319.2 kB / 0.6804 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000675/0.01148, allocations: 0.7452 MB / 0.6812 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/0.0118, allocations: 212.8 kB / 0.6814 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.01207, allocations: 251 kB / 0.6816 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.01231, allocations: 211 kB / 0.6818 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.01235, allocations: 24 kB / 0.6818 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.01281, allocations: 387.1 kB / 0.6822 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0004909/0.01331, allocations: 0.7378 MB / 0.6829 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0002716/0.01359, allocations: 0.5009 MB / 0.6834 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.01367, allocations: 71.75 kB / 0.6835 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.971e-05/0.0137, allocations: 12 kB / 0.6835 GB, free: 10.92 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 (75) * Number of variables: 99 (75) Notification: Performance of Bindings: time 0.001549/0.01526, allocations: 1.895 MB / 0.6853 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 5.924e-05/0.01532, allocations: 63.88 kB / 0.6854 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.001035/0.01636, allocations: 1.143 MB / 0.6865 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simplify1: time 7.273e-05/0.01644, allocations: 79.88 kB / 0.6866 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of Alias: time 0.00132/0.01777, allocations: 1.4 MB / 0.688 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of simplify2: time 6.394e-05/0.01784, allocations: 75.89 kB / 0.688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of Events: time 0.0001316/0.01798, allocations: 103.8 kB / 0.6881 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0002216/0.01821, allocations: 240.4 kB / 0.6884 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0002799/0.0185, allocations: 324.3 kB / 0.6887 GB, free: 5.125 MB / 0.5606 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency Za.X could not be devided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) Za.terminal.v = {{Za.R, -Za.X} * Za.terminal.i, {Za.X, Za.R} * Za.terminal.i} ($RES_SIM_47) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (14/22) ************************** (1) [ALGB] (1) Real Va.phi = Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.Va.PhaseSystem.phase(Va.terminal.v) - Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.Va.PhaseSystem.phase(-Va.terminal.i) (2) [ALGB] (2) Real[2] Za.S = Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.Za.PhaseSystem.phasePowers_vi(Za.v, -Za.i) (3) [ALGB] (2) Real[2] Za.terminal.v (4) [ALGB] (2) flow Real[2] Za.terminal.i (start = {0.0 for $i1 in 1:2}) (5) [ALGB] (2) Real[2] Za.v = Za.terminal.v (start = Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.Za.PhaseSystem.phaseVoltages(Za.V_nominal, 0.0)) (6) [ALGB] (2) Real[2] Za.i = Za.terminal.i (start = {0.0 for $i1 in 1:2}) (7) [ALGB] (1) Real[1] Za.terminal.theta (8) [ALGB] (2) Real[2] Va.S = Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.Va.PhaseSystem.phasePowers_vi(Va.terminal.v, Va.terminal.i) (9) [ALGB] (2) Real[2] Va.terminal.v (10) [ALGB] (2) flow Real[2] Va.terminal.i (start = {0.0 for $i1 in 1:2}) (11) [ALGB] (1) protected Real Za.omega (12) [ALGB] (1) Real[1] Va.terminal.theta (13) [ALGB] (1) protected Real Za.X (start = 1.0) (14) [DER-] (1) Real $DER.Za.theRef System Equations (14/22) ************************** (1) [ARRY] (1) Va.terminal.theta = Za.terminal.theta ($RES_SIM_65) (2) [SCAL] (1) Za.theRef = Za.terminal.theta[1] ($RES_SIM_50) (3) [ARRY] (2) Za.terminal.v = {{Za.R, -Za.X} * Za.terminal.i, {Za.X, Za.R} * Za.terminal.i} ($RES_SIM_47) (4) [ARRY] (2) Va.terminal.v = {Va.V * cos(Va.phiSou), Va.V * sin(Va.phiSou)} ($RES_SIM_51) (5) [SCAL] (1) Za.X = Za.omega * Za.L ($RES_SIM_48) (6) [SCAL] (1) Za.omega = $DER.Za.theRef ($RES_SIM_49) (7) [SCAL] (1) Va.terminal.theta[1] = 6.283185307179586 * Va.f * time ($RES_SIM_53) (8) [ARRY] (2) Va.S = {Va.terminal.v[1] * Va.terminal.i[1] + Va.terminal.v[2] * Va.terminal.i[2], Va.terminal.v[2] * Va.terminal.i[1] - Va.terminal.v[1] * Va.terminal.i[2]} ($RES_BND_66) (9) [FOR-] (2) ($RES_SIM_62) (9) [----] for $i1 in 1:2 loop (9) [----] [SCAL] (1) Va.terminal.i[$i1] + Za.terminal.i[$i1] = 0.0 ($RES_SIM_63) (9) [----] end for; (10) [ARRY] (2) Za.S = {Za.v[1] * (-Za.i)[1] + Za.v[2] * (-Za.i)[2], Za.v[2] * (-Za.i)[1] - Za.v[1] * (-Za.i)[2]} ($RES_BND_70) (11) [SCAL] (1) Va.phi = atan2(Va.terminal.v[2], Va.terminal.v[1]) - atan2((-Va.terminal.i)[2], (-Va.terminal.i)[1]) ($RES_BND_67) (12) [ARRY] (2) Za.v = Za.terminal.v ($RES_BND_68) (13) [ARRY] (2) Va.terminal.v = Za.terminal.v ($RES_SIM_64) (14) [ARRY] (2) Za.i = Za.terminal.i ($RES_BND_69)