Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001278/0.001278, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001123/0.001123, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.285/1.285, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.282/1.282, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.015e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005214/0.005242, allocations: 4.299 MB / 0.7306 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003365/0.008627, allocations: 2.421 MB / 0.7329 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.008844, allocations: 15.88 kB / 0.7329 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009926/0.009848, allocations: 369.8 kB / 0.7333 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007092/0.01057, allocations: 374.2 kB / 0.7337 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007083/0.01129, allocations: 315.2 kB / 0.734 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007147/0.01201, allocations: 0.7491 MB / 0.7347 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.01236, allocations: 208.8 kB / 0.7349 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.01264, allocations: 243 kB / 0.7351 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.01291, allocations: 222.9 kB / 0.7353 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.01296, allocations: 24 kB / 0.7354 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005704/0.01354, allocations: 375.1 kB / 0.7357 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0004945/0.01404, allocations: 0.7378 MB / 0.7364 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002984/0.01435, allocations: 0.4932 MB / 0.7369 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/0.01444, allocations: 75.75 kB / 0.737 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.117e-05/0.01449, allocations: 15.94 kB / 0.737 GB, free: 9.785 MB / 0.5762 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.001632/0.01612, allocations: 1.9 MB / 0.7389 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 6.604e-05/0.0162, allocations: 63.81 kB / 0.7389 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.001121/0.01732, allocations: 1.143 MB / 0.74 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of simplify1: time 9.116e-05/0.01742, allocations: 79.89 kB / 0.7401 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of Alias: time 0.001419/0.01885, allocations: 1.404 MB / 0.7415 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of simplify2: time 7.447e-05/0.01894, allocations: 79.88 kB / 0.7416 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of Events: time 0.0001463/0.01909, allocations: 99.83 kB / 0.7417 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of Detect States: time 0.000284/0.01938, allocations: 237 kB / 0.7419 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0003818/0.01977, allocations: 324.6 kB / 0.7422 GB, free: 3.98 MB / 0.5762 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency Za.X could not be divided 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)