Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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/Modelica 3.2.3+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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07612/0.07612, allocations: 12.61 MB / 28.87 MB, free: 292 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 111.5 kB / 32.47 MB, free: 3.438 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 241.1 MB, free: 12.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 184.5 kB / 291.3 MB, free: 13.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4491/0.4491, allocations: 78.49 MB / 419.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.029e-05/4.04e-05, allocations: 6.219 kB / 0.4893 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009246/0.009303, allocations: 8.271 MB / 0.4974 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006063/0.01541, allocations: 2.57 MB / 0.4999 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.01651, allocations: 12 kB / 0.4999 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007294/0.01725, allocations: 313.4 kB / 0.5002 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.02111, allocations: 1.497 MB / 0.5017 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.02257, allocations: 0.6085 MB / 0.5023 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003329/0.02591, allocations: 3.003 MB / 0.5052 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.02635, allocations: 312.8 kB / 0.5055 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.02739, allocations: 1.019 MB / 0.5065 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.02884, allocations: 1.471 MB / 0.508 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.02914, allocations: 188 kB / 0.5081 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008326/0.02998, allocations: 387.8 kB / 0.5085 GB, free: 6.496 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.00309/0.03308, allocations: 4.02 MB / 0.5124 GB, free: 2.438 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.001813/0.03491, allocations: 2.204 MB / 0.5146 GB, free: 208 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2414/0.2763, allocations: 255.7 kB / 0.5148 GB, free: 55.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.000624/0.277, allocations: 39.61 kB / 0.5149 GB, free: 55.87 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 (197) * Number of variables: 213 (213) Notification: Performance of Bindings: time 0.009239/0.2863, allocations: 9.394 MB / 0.524 GB, free: 54.63 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0008144/0.2871, allocations: 0.559 MB / 0.5246 GB, free: 54.55 MB / 398.1 MB Notification: Performance of Early Inline: time 0.004408/0.2915, allocations: 5.131 MB / 0.5296 GB, free: 53.94 MB / 398.1 MB Notification: Performance of simplify1: time 0.0002868/0.2918, allocations: 317.9 kB / 0.5299 GB, free: 53.82 MB / 398.1 MB Notification: Performance of Alias: time 0.005199/0.297, allocations: 4.943 MB / 0.5347 GB, free: 50.65 MB / 398.1 MB Notification: Performance of simplify2: time 0.00046/0.2975, allocations: 271.2 kB / 0.535 GB, free: 50.57 MB / 398.1 MB Notification: Performance of Events: time 0.0006755/0.2982, allocations: 0.6415 MB / 0.5356 GB, free: 50.2 MB / 398.1 MB Notification: Performance of Detect States: time 0.0008425/0.299, allocations: 1.012 MB / 0.5366 GB, free: 49.6 MB / 398.1 MB Notification: Performance of Partitioning: time 0.001197/0.3002, allocations: 1.201 MB / 0.5378 GB, free: 49.01 MB / 398.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency $FUN_19 could not be devided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) {{pwLine1.n.vr}, {pwLine1.n.vi}} = {{$FUN_18, $FUN_19}, {-$FUN_19, $FUN_18}} * {{gENROE2.ud}, {gENROE2.uq}} ($RES_SIM_36) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (175/175) **************************** (1) [ALGB] (1) Real pwLine1.vs.im = pwLine.n.vi (2) [ALGB] (1) flow Real pwLine3.p.ii (start = 1e-15) (3) [ALGB] (1) Real pwLine.vs.im = gENROE.p.vi (4) [DISC] (1) Boolean $TEV_9 (5) [DISC] (1) Boolean $TEV_8 (6) [ALGB] (1) flow Real pwLine3.p.ir (start = 1e-15) (7) [ALGB] (1) Real pwLine.Q12 (nominal = 1e8) (8) [DISC] (1) Boolean $TEV_7 (9) [DISC] (1) Boolean $TEV_6 (10) [DISC] (1) Boolean $TEV_5 (11) [DISC] (1) Boolean $TEV_4 (12) [DISC] (1) Boolean $TEV_3 (13) [DISC] (1) Boolean $TEV_2 (14) [ALGB] (1) Real gENROE1.iq (start = gENROE1.iq0) (15) [DISC] (1) Boolean $TEV_1 (16) [ALGB] (1) Real gENROE1.XaqIlq (fixed = false, start = 0.0) (17) [DISC] (1) Boolean $TEV_0 (18) [ALGB] (1) Real pwLine1.ir.re = pwLine1.n.ir (19) [ALGB] (1) Real pwLine.ir.re = pwLine.n.ir (20) [ALGB] (1) Real gENROE1.id (start = gENROE1.id0) (21) [DER-] (1) Real $DER.gENROE2.Epd (22) [ALGB] (1) Real pwLine1.vs.re = pwLine.n.vr (23) [ALGB] (1) Real pwLine.vs.re = gENROE.p.vr (24) [ALGB] (1) Real gENROE.Te (start = gENROE.pm0) (25) [ALGB] (1) Real gENROE2.Q (start = gENROE2.Q_0 / gENROE2.S_b) (26) [ALGB] (1) Real gENROE2.P (start = gENROE2.P_0 / gENROE2.S_b) (27) [ALGB] (1) Real pwLine.P21 (nominal = 1e8) (28) [ALGB] (1) Real pwLine3.is.im = pwLine3.p.ii (29) [ALGB] (1) Real gENROE.XaqIlq (start = 0.0) (30) [ALGB] (1) Real pwLine1.vr.im = pwLine1.n.vi (31) [DER-] (1) Real $DER.gENROE2.Epq (32) [ALGB] (1) Real pwLine.vr.im = pwLine.n.vi (33) [ALGB] (1) Real gENROE2.I (start = sqrt(gENROE2.ii0 ^ 2.0 + gENROE2.ir0 ^ 2.0)) (34) [ALGB] (1) Real gENROE1.PELEC (start = gENROE1.p0) (35) [ALGB] (1) Real gENROE2.anglev (start = gENROE2.angle_0) (36) [DER-] (1) Real $DER.gENROE2.w (37) [ALGB] (1) Real gENROE.PELEC (start = gENROE.p0) (38) [ALGB] (1) Real constantLoad.angle (start = constantLoad.angle_0) (39) [ALGB] (1) Real gENROE2.iq (start = gENROE2.iq0) (40) [ALGB] (1) Real gENROE2.anglei (start = atan2(gENROE2.ii0, gENROE2.ir0)) (41) [ALGB] (1) Real gENROE2.PSIppq (start = gENROE2.PSIppq0) (42) [ALGB] (1) Real step.y (43) [ALGB] (1) Real GEN1.angleDisplay = Modelica.SIunits.Conversions.to_deg(0.017453292519943295 * GEN1.angleDisplay) (44) [ALGB] (1) Real GEN2.angleDisplay = Modelica.SIunits.Conversions.to_deg(0.017453292519943295 * GEN2.angleDisplay) (45) [ALGB] (1) flow Real pwLine.p.ii (start = 1e-15) (46) [ALGB] (1) Real pwLine.n.vi (47) [ALGB] (1) Real pwLine.P12 (nominal = 1e8) (48) [DER-] (1) Real $DER.gENROE.Epd (49) [ALGB] (1) Real gENROE2.id (start = gENROE2.id0) (50) [ALGB] (1) Real gENROE2.PSIppd (start = gENROE2.PSIppd0) (51) [ALGB] (1) Real gENROE1.ISORCE (52) [ALGB] (1) Real pwLine1.vr.re = pwLine1.n.vr (53) [ALGB] (1) Real pwLine3.is.re = pwLine3.p.ir (54) [ALGB] (1) flow Real pwLine.p.ir (start = 1e-15) (55) [ALGB] (1) Real pwLine.vr.re = pwLine.n.vr (56) [ALGB] (1) Real pwLine.n.vr (57) [ALGB] (1) Real $FUN_5 (58) [ALGB] (1) Real $FUN_4 (59) [DER-] (1) Real $DER.gENROE.Epq (60) [ALGB] (1) Real LOAD.v (start = LOAD.v_0) (61) [ALGB] (1) Real pwLine3.ir.im = pwLine3.n.ii (62) [ALGB] (1) Real gENROE2.PSIpp (63) [ALGB] (1) flow Real pwLine3.n.ii (start = 1e-15) (64) [DISC] (1) Boolean $TEV_13 (65) [DISC] (1) Boolean $TEV_12 (66) [DISC] (1) Boolean $TEV_11 (67) [ALGB] (1) Real pwLine3.P12 (nominal = 1e8) (68) [DISC] (1) Boolean $TEV_10 (69) [ALGB] (1) flow Real pwLine3.n.ir (start = 1e-15) (70) [ALGB] (1) Real gENROE1.Q (start = gENROE1.Q_0 / gENROE1.S_b) (71) [ALGB] (1) Real gENROE1.P (start = gENROE1.P_0 / gENROE1.S_b) (72) [ALGB] (1) Real gENROE.ISORCE (73) [ALGB] (1) Real gENROE.iq (start = gENROE.iq0) (74) [ALGB] (1) Real pwLine3.vs.im = pwLine.n.vi (75) [ALGB] (1) Real pwLine1.P12 (nominal = 1e8) (76) [ALGB] (1) Real gENROE1.I (start = sqrt(gENROE1.ii0 ^ 2.0 + gENROE1.ir0 ^ 2.0)) (77) [ALGB] (1) flow Real pwLine1.p.ii (start = 1e-15) (78) [ALGB] (1) Real pwLine1.n.vi (79) [DER-] (1) Real $DER.gENROE1.PSIkd (80) [ALGB] (1) Real gENROE.id (start = gENROE.id0) (81) [DER-] (1) Real $DER.gENROE1.w (82) [DER-] (1) Real $DER.gENROE1.delta (83) [ALGB] (1) Real $FUN_19 (84) [ALGB] (1) flow Real pwLine1.p.ir (start = 1e-15) (85) [ALGB] (1) Real $FUN_18 (86) [ALGB] (1) Real pwLine1.n.vr (87) [ALGB] (1) Real constantLoad.v (start = constantLoad.v_0) (88) [ALGB] (1) Real pwLine3.ir.re = pwLine3.n.ir (89) [ALGB] (1) Real $FUN_12 (90) [ALGB] (1) Real $FUN_11 (91) [DER-] (1) Real $DER.gENROE1.PSIkq (92) [ALGB] (1) Real gENROE.ETERM (start = gENROE.v_0) (93) [ALGB] (1) Real pwLine3.P21 (nominal = 1e8) (94) [ALGB] (1) Real gENROE.p.vi (start = gENROE.vi0) (95) [ALGB] (1) Real pwLine3.vs.re = pwLine.n.vr (96) [ALGB] (1) Real gENROE1.uq (start = gENROE1.uq0) (97) [ALGB] (1) Real gENROE.p.vr (start = gENROE.vr0) (98) [ALGB] (1) Real gENROE1.PSIpp (99) [ALGB] (1) Real pwLine1.P21 (nominal = 1e8) (100) [ALGB] (1) Real GEN2.v (start = GEN2.v_0) (101) [DISC] (1) Boolean $SEV_1 (102) [DISC] (1) Boolean $SEV_0 (103) [ALGB] (1) Real pwLine3.vr.im = pwLine1.n.vi (104) [ALGB] (1) flow Real gENROE2.p.ii (start = gENROE2.ii0) (105) [ALGB] (1) Real gENROE1.ud (start = gENROE1.ud0) (106) [ALGB] (1) Real gENROE2.PSId (start = gENROE2.PSId0) (107) [ALGB] (1) flow Real pwLine.n.ii (start = 1e-15) (108) [ALGB] (1) Real gENROE1.anglev (start = gENROE1.angle_0) (109) [ALGB] (1) Real constantLoad.Q (110) [ALGB] (1) Real pwLine3.Q12 (nominal = 1e8) (111) [ALGB] (1) Real constantLoad.P (112) [ALGB] (1) flow Real gENROE2.p.ir (start = gENROE2.ir0) (113) [ALGB] (1) Real gENROE.Q (start = gENROE.Q_0 / gENROE.S_b) (114) [ALGB] (1) Real gENROE.P (start = gENROE.P_0 / gENROE.S_b) (115) [DER-] (1) Real $DER.gENROE.PSIkq (116) [DER-] (1) Real $DER.gENROE2.PSIkd (117) [ALGB] (1) Real gENROE2.PSIq (start = gENROE2.PSIq0) (118) [ALGB] (1) flow Real pwLine.n.ir (start = 1e-15) (119) [DER-] (1) Real $DER.gENROE2.delta (120) [DER-] (1) Real $DER.gENROE1.Epd (121) [ALGB] (1) Real pwLine1.Q12 (nominal = 1e8) (122) [ALGB] (1) Real gENROE2.XaqIlq (start = 0.0) (123) [ALGB] (1) Real gENROE.I (start = sqrt(gENROE.ii0 ^ 2.0 + gENROE.ir0 ^ 2.0)) (124) [ALGB] (1) Real gENROE1.anglei (start = atan2(gENROE1.ii0, gENROE1.ir0)) (125) [ALGB] (1) Real step1.y (126) [ALGB] (1) Real gENROE1.PSIppq (start = gENROE1.PSIppq0) (127) [DER-] (1) Real $DER.gENROE.delta (128) [DER-] (1) Real $DER.gENROE.PSIkd (129) [DER-] (1) Real $DER.gENROE2.PSIkq (130) [ALGB] (1) Real pwLine3.vr.re = pwLine1.n.vr (131) [ALGB] (1) Real gENROE2.uq (start = gENROE2.uq0) (132) [DER-] (1) Real $DER.gENROE1.Epq (133) [ALGB] (1) Real gENROE.anglev (start = gENROE.angle_0) (134) [ALGB] (1) Real gENROE1.PSIppd (start = gENROE1.PSIppd0) (135) [ALGB] (1) Real gENROE2.ETERM (start = gENROE2.v_0) (136) [ALGB] (1) Real pwLine3.Q21 (nominal = 1e8) (137) [ALGB] (1) Real gENROE2.ud (start = gENROE2.ud0) (138) [ALGB] (1) flow Real pwLine1.n.ii (start = 1e-15) (139) [ALGB] (1) Real gENROE.anglei (start = atan2(gENROE.ii0, gENROE.ir0)) (140) [ALGB] (1) protected Real constantLoad.kP (start = 1.0) (141) [ALGB] (1) Real gENROE.PSIppq (start = gENROE.PSIppq0) (142) [ALGB] (1) Real pwLine1.Q21 (nominal = 1e8) (143) [ALGB] (1) Real GEN1.v (start = GEN1.v_0) (144) [ALGB] (1) Real LOAD.angleDisplay = Modelica.SIunits.Conversions.to_deg(0.017453292519943295 * LOAD.angleDisplay) (145) [ALGB] (1) flow Real gENROE1.p.ii (start = gENROE1.ii0) (146) [ALGB] (1) protected Real constantLoad.kI (start = 1.0) (147) [ALGB] (1) Real pwLine1.is.im = pwLine1.p.ii (148) [ALGB] (1) Real gENROE1.PSId (start = gENROE1.PSId0) (149) [ALGB] (1) Real pwLine.is.im = pwLine.p.ii (150) [ALGB] (1) flow Real pwLine1.n.ir (start = 1e-15) (151) [ALGB] (1) Real gENROE1.Te (start = gENROE1.pm0) (152) [ALGB] (1) Real gENROE.PSIppd (start = gENROE.PSIppd0) (153) [ALGB] (1) flow Real gENROE1.p.ir (start = gENROE1.ir0) (154) [ALGB] (1) flow Real gENROE.p.ii (start = gENROE.ii0) (155) [DER-] (1) Real $DER.gENROE.w (156) [ALGB] (1) Real gENROE.PSId (start = gENROE.PSId0) (157) [ALGB] (1) Real gENROE1.PSIq (start = gENROE1.PSIq0) (158) [ALGB] (1) flow Real constantLoad.p.ii (start = constantLoad.ii0) (159) [ALGB] (1) Real gENROE.uq (start = gENROE.uq0) (160) [ALGB] (1) flow Real gENROE.p.ir (start = gENROE.ir0) (161) [ALGB] (1) Real gENROE.PSIpp (162) [ALGB] (1) Real gENROE2.ISORCE (163) [ALGB] (1) Real gENROE.PSIq (start = gENROE.PSIq0) (164) [ALGB] (1) flow Real constantLoad.p.ir (start = constantLoad.ir0) (165) [ALGB] (1) Real add.y (166) [ALGB] (1) Real gENROE.ud (start = gENROE.ud0) (167) [ALGB] (1) Real gENROE1.ETERM (start = gENROE1.v_0) (168) [ALGB] (1) Real pwLine1.is.re = pwLine1.p.ir (169) [ALGB] (1) Real pwLine.is.re = pwLine.p.ir (170) [ALGB] (1) Real pwLine.Q21 (nominal = 1e8) (171) [ALGB] (1) Real pwLine1.ir.im = pwLine1.n.ii (172) [ALGB] (1) Real pwLine.ir.im = pwLine.n.ii (173) [ALGB] (1) Real add1.y (174) [ALGB] (1) Real gENROE2.Te (start = gENROE2.pm0) (175) [ALGB] (1) Real gENROE2.PELEC (start = gENROE2.p0) System Equations (159/175) **************************** (1) [SCAL] (1) gENROE1.PSIppd = gENROE1.Epq * gENROE1.K3d + gENROE1.PSIkd * gENROE1.K4d ($RES_SIM_80) (2) [SCAL] (1) gENROE1.PSIq = -(gENROE1.PSIppq + gENROE1.Xppq * gENROE1.iq) ($RES_SIM_81) (3) [SCAL] (1) gENROE1.PSId = gENROE1.PSIppd - gENROE1.Xppd * gENROE1.id ($RES_SIM_82) (4) [SCAL] (1) gENROE1.Te = gENROE1.PSId * gENROE1.iq - gENROE1.PSIq * gENROE1.id ($RES_SIM_83) (5) [SCAL] (1) $DER.gENROE1.PSIkq = (1/gENROE1.Tppq0) * ((gENROE1.Epd + (gENROE1.Xpq - gENROE1.Xl) * gENROE1.iq) - gENROE1.PSIkq) ($RES_SIM_84) (6) [-IF-] (1)if $SEV_0 then (6) [----] [SCAL] (1) constantLoad.kI = constantLoad.v ^ (constantLoad.b2 - 1.0) * constantLoad.b2 * constantLoad.a2 * exp(-constantLoad.a2 * constantLoad.v ^ constantLoad.b2) ($RES_SIM_125) (6) [----] else (6) [----] [SCAL] (1) constantLoad.kI = 1.0 ($RES_SIM_126) (6) [----] end if; (7) [SCAL] (1) $DER.gENROE1.PSIkd = (1/gENROE1.Tppd0) * (gENROE1.Epq - ((gENROE1.Xpd - gENROE1.Xl) * gENROE1.id + gENROE1.PSIkd)) ($RES_SIM_85) (8) [SCAL] (1) $DER.gENROE1.Epd = -(1/gENROE1.Tpq0) * gENROE1.XaqIlq ($RES_SIM_86) (9) [SCAL] (1) $DER.gENROE1.Epq = (1/gENROE1.Tpd0) * (gENROE1.efd0 - gENROE1.ISORCE) ($RES_SIM_87) (10) [-IF-] (1)if $SEV_1 then (10) [----] [SCAL] (1) constantLoad.kP = constantLoad.a1 * cos(constantLoad.v * constantLoad.wp) + constantLoad.a0 + constantLoad.b1 * sin(constantLoad.v * constantLoad.wp) ($RES_SIM_128) (10) [----] else (10) [----] [SCAL] (1) constantLoad.kP = 1.0 ($RES_SIM_129) (10) [----] end if; (11) [SCAL] (1) add1.y = add1.k1 * add.y + add1.k2 * gENROE.efd0 ($RES_SIM_12) (12) [SCAL] (1) step1.y = step1.offset + (if $TEV_0 then 0.0 else step1.height) ($RES_SIM_13) (13) [SCAL] (1) step.y = step.offset + (if $TEV_1 then 0.0 else step.height) ($RES_SIM_14) (14) [SCAL] (1) add.y = add.k1 * step.y + add.k2 * step1.y ($RES_SIM_15) (15) [SCAL] (1) $DER.gENROE.delta = gENROE.w_b * gENROE.w ($RES_SIM_92) (16) [SCAL] (1) constantLoad.Q = pwLine.n.vi * constantLoad.p.ir - pwLine.n.vr * constantLoad.p.ii ($RES_SIM_132) (17) [SCAL] (1) $DER.gENROE.w = (0.5 * ((gENROE.pm0 - gENROE.D * gENROE.w) / (1.0 + gENROE.w) - gENROE.Te)) / gENROE.H ($RES_SIM_93) (18) [SCAL] (1) constantLoad.P = pwLine.n.vr * constantLoad.p.ir + pwLine.n.vi * constantLoad.p.ii ($RES_SIM_133) (19) [-IF-] (2)if $TEV_4 then (19) [----] [SCAL] (1) constantLoad.S_Y.im * constantLoad.v ^ 2.0 + constantLoad.S_I.im * constantLoad.kI * constantLoad.v + constantLoad.kP * (constantLoad.S_P.im + constantLoad.d_Q) = pwLine.n.vi * constantLoad.p.ir - pwLine.n.vr * constantLoad.p.ii ($RES_SIM_135) (19) [----] [SCAL] (1) constantLoad.S_Y.re * constantLoad.v ^ 2.0 + constantLoad.S_I.re * constantLoad.kI * constantLoad.v + constantLoad.kP * (constantLoad.S_P.re + constantLoad.d_P) = pwLine.n.vr * constantLoad.p.ir + pwLine.n.vi * constantLoad.p.ii ($RES_SIM_136) (19) [----] else (19) [----] [SCAL] (1) constantLoad.S_Y.im * constantLoad.v ^ 2.0 + constantLoad.S_I.im * constantLoad.kI * constantLoad.v + constantLoad.kP * constantLoad.S_P.im = pwLine.n.vi * constantLoad.p.ir - pwLine.n.vr * constantLoad.p.ii ($RES_SIM_137) (19) [----] [SCAL] (1) constantLoad.S_Y.re * constantLoad.v ^ 2.0 + constantLoad.S_I.re * constantLoad.kI * constantLoad.v + constantLoad.kP * constantLoad.S_P.re = pwLine.n.vr * constantLoad.p.ir + pwLine.n.vi * constantLoad.p.ii ($RES_SIM_138) (19) [----] end if; (20) [SCAL] (1) -gENROE.Q = gENROE.p.vi * gENROE.p.ir - gENROE.p.vr * gENROE.p.ii ($RES_SIM_98) (21) [SCAL] (1) -gENROE.P = gENROE.p.vr * gENROE.p.ir + gENROE.p.vi * gENROE.p.ii ($RES_SIM_99) (22) [-IF-] (4)if $TEV_7 then (22) [----] [RECD] (2) pwLine3.ir = Complex(0.0, 0.0) ($RES_SIM_140) (22) [----] [RECD] (2) pwLine3.is = Complex(0.0, 0.0) ($RES_SIM_141) (22) [----] else (22) [----] [RECD] (2) Complex.'constructor'.fromReal(pwLine3.vr.re - pwLine3.vs.re, pwLine3.vr.im - pwLine3.vs.im) = Complex.'constructor'.fromReal(pwLine3.Z.re * ((pwLine3.ir.re + pwLine3.vr.im * pwLine3.Y.im) - pwLine3.vr.re * pwLine3.Y.re) - pwLine3.Z.im * (pwLine3.ir.im - (pwLine3.vr.re * pwLine3.Y.im + pwLine3.vr.im * pwLine3.Y.re)), pwLine3.Z.re * (pwLine3.ir.im - (pwLine3.vr.re * pwLine3.Y.im + pwLine3.vr.im * pwLine3.Y.re)) + pwLine3.Z.im * ((pwLine3.ir.re + pwLine3.vr.im * pwLine3.Y.im) - pwLine3.vr.re * pwLine3.Y.re)) ($RES_SIM_142) (22) [----] [RECD] (2) Complex.'constructor'.fromReal(pwLine3.vs.re - pwLine3.vr.re, pwLine3.vs.im - pwLine3.vr.im) = Complex.'constructor'.fromReal(pwLine3.Z.re * ((pwLine3.is.re + pwLine3.vs.im * pwLine3.Y.im) - pwLine3.vs.re * pwLine3.Y.re) - pwLine3.Z.im * (pwLine3.is.im - (pwLine3.vs.re * pwLine3.Y.im + pwLine3.vs.im * pwLine3.Y.re)), pwLine3.Z.re * (pwLine3.is.im - (pwLine3.vs.re * pwLine3.Y.im + pwLine3.vs.im * pwLine3.Y.re)) + pwLine3.Z.im * ((pwLine3.is.re + pwLine3.vs.im * pwLine3.Y.im) - pwLine3.vs.re * pwLine3.Y.re)) ($RES_SIM_143) (22) [----] end if; (23) [SCAL] (1) $DER.gENROE2.delta = gENROE2.w_b * gENROE2.w ($RES_SIM_28) (24) [SCAL] (1) $DER.gENROE2.w = (0.5 * ((gENROE2.pm0 - gENROE2.D * gENROE2.w) / (1.0 + gENROE2.w) - gENROE2.Te)) / gENROE2.H ($RES_SIM_29) (25) [SCAL] (1) pwLine3.Q21 = -(pwLine3.ir.re * pwLine3.vr.im - pwLine3.ir.im * pwLine3.vr.re) * pwLine3.S_b ($RES_SIM_144) (26) [SCAL] (1) pwLine3.Q12 = (pwLine3.is.re * pwLine3.vs.im - pwLine3.is.im * pwLine3.vs.re) * pwLine3.S_b ($RES_SIM_145) (27) [SCAL] (1) pwLine3.P21 = -(pwLine3.ir.re * pwLine3.vr.re + pwLine3.ir.im * pwLine3.vr.im) * pwLine3.S_b ($RES_SIM_146) (28) [SCAL] (1) pwLine3.P12 = (pwLine3.is.re * pwLine3.vs.re + pwLine3.is.im * pwLine3.vs.im) * pwLine3.S_b ($RES_SIM_147) (29) [-IF-] (4)if $TEV_10 then (29) [----] [RECD] (2) pwLine1.ir = Complex(0.0, 0.0) ($RES_SIM_149) (29) [----] [RECD] (2) pwLine1.is = Complex(0.0, 0.0) ($RES_SIM_150) (29) [----] else (29) [----] [RECD] (2) Complex.'constructor'.fromReal(pwLine1.vr.re - pwLine1.vs.re, pwLine1.vr.im - pwLine1.vs.im) = Complex.'constructor'.fromReal(pwLine1.Z.re * ((pwLine1.ir.re + pwLine1.vr.im * pwLine1.Y.im) - pwLine1.vr.re * pwLine1.Y.re) - pwLine1.Z.im * (pwLine1.ir.im - (pwLine1.vr.re * pwLine1.Y.im + pwLine1.vr.im * pwLine1.Y.re)), pwLine1.Z.re * (pwLine1.ir.im - (pwLine1.vr.re * pwLine1.Y.im + pwLine1.vr.im * pwLine1.Y.re)) + pwLine1.Z.im * ((pwLine1.ir.re + pwLine1.vr.im * pwLine1.Y.im) - pwLine1.vr.re * pwLine1.Y.re)) ($RES_SIM_151) (29) [----] [RECD] (2) Complex.'constructor'.fromReal(pwLine1.vs.re - pwLine1.vr.re, pwLine1.vs.im - pwLine1.vr.im) = Complex.'constructor'.fromReal(pwLine1.Z.re * ((pwLine1.is.re + pwLine1.vs.im * pwLine1.Y.im) - pwLine1.vs.re * pwLine1.Y.re) - pwLine1.Z.im * (pwLine1.is.im - (pwLine1.vs.re * pwLine1.Y.im + pwLine1.vs.im * pwLine1.Y.re)), pwLine1.Z.re * (pwLine1.is.im - (pwLine1.vs.re * pwLine1.Y.im + pwLine1.vs.im * pwLine1.Y.re)) + pwLine1.Z.im * ((pwLine1.is.re + pwLine1.vs.im * pwLine1.Y.im) - pwLine1.vs.re * pwLine1.Y.re)) ($RES_SIM_152) (29) [----] end if; (30) [SCAL] (1) pwLine.vs.im = gENROE.p.vi ($RES_BND_202) (31) [SCAL] (1) pwLine.vs.re = gENROE.p.vr ($RES_BND_203) (32) [SCAL] (1) pwLine.is.im = pwLine.p.ii ($RES_BND_204) (33) [SCAL] (1) pwLine.is.re = pwLine.p.ir ($RES_BND_205) (34) [SCAL] (1) pwLine.vr.im = pwLine.n.vi ($RES_BND_206) (35) [SCAL] (1) pwLine.vr.re = pwLine.n.vr ($RES_BND_207) (36) [SCAL] (1) pwLine.ir.im = pwLine.n.ii ($RES_BND_208) (37) [SCAL] (1) pwLine.ir.re = pwLine.n.ir ($RES_BND_209) (38) [SCAL] (1) -gENROE2.Q = pwLine1.n.vi * gENROE2.p.ir - pwLine1.n.vr * gENROE2.p.ii ($RES_SIM_34) (39) [SCAL] (1) -gENROE2.P = pwLine1.n.vr * gENROE2.p.ir + pwLine1.n.vi * gENROE2.p.ii ($RES_SIM_35) (40) [ARRY] (2) {{pwLine1.n.vr}, {pwLine1.n.vi}} = {{$FUN_18, $FUN_19}, {-$FUN_19, $FUN_18}} * {{gENROE2.ud}, {gENROE2.uq}} ($RES_SIM_36) (41) [ARRY] (2) {{gENROE2.p.ir}, {gENROE2.p.ii}} = -gENROE2.CoB * {{$FUN_18, $FUN_19}, {-$FUN_19, $FUN_18}} * {{gENROE2.id}, {gENROE2.iq}} ($RES_SIM_37) (42) [SCAL] (1) gENROE2.PELEC = gENROE2.P / gENROE2.CoB ($RES_SIM_38) (43) [SCAL] (1) pwLine1.Q21 = -(pwLine1.ir.re * pwLine1.vr.im - pwLine1.ir.im * pwLine1.vr.re) * pwLine1.S_b ($RES_SIM_153) (44) [SCAL] (1) pwLine1.Q12 = (pwLine1.is.re * pwLine1.vs.im - pwLine1.is.im * pwLine1.vs.re) * pwLine1.S_b ($RES_SIM_154) (45) [SCAL] (1) constantLoad.angle = atan2(pwLine.n.vi, pwLine.n.vr) ($RES_$AUX_257) (46) [SCAL] (1) pwLine1.P21 = -(pwLine1.ir.re * pwLine1.vr.re + pwLine1.ir.im * pwLine1.vr.im) * pwLine1.S_b ($RES_SIM_155) (47) [SCAL] (1) constantLoad.v = sqrt(pwLine.n.vr ^ 2.0 + pwLine.n.vi ^ 2.0) ($RES_$AUX_256) (48) [SCAL] (1) pwLine1.P12 = (pwLine1.is.re * pwLine1.vs.re + pwLine1.is.im * pwLine1.vs.im) * pwLine1.S_b ($RES_SIM_156) (49) [SCAL] (1) gENROE.PSIpp = sqrt(gENROE.PSIppd * gENROE.PSIppd + gENROE.PSIppq * gENROE.PSIppq) ($RES_$AUX_255) (50) [-IF-] (4)if $TEV_13 then (50) [----] [RECD] (2) pwLine.ir = Complex(0.0, 0.0) ($RES_SIM_158) (50) [----] [RECD] (2) pwLine.is = Complex(0.0, 0.0) ($RES_SIM_159) (50) [----] else (50) [----] [RECD] (2) Complex.'constructor'.fromReal(pwLine.vr.re - pwLine.vs.re, pwLine.vr.im - pwLine.vs.im) = Complex.'constructor'.fromReal(pwLine.Z.re * ((pwLine.ir.re + pwLine.vr.im * pwLine.Y.im) - pwLine.vr.re * pwLine.Y.re) - pwLine.Z.im * (pwLine.ir.im - (pwLine.vr.re * pwLine.Y.im + pwLine.vr.im * pwLine.Y.re)), pwLine.Z.re * (pwLine.ir.im - (pwLine.vr.re * pwLine.Y.im + pwLine.vr.im * pwLine.Y.re)) + pwLine.Z.im * ((pwLine.ir.re + pwLine.vr.im * pwLine.Y.im) - pwLine.vr.re * pwLine.Y.re)) ($RES_SIM_160) (50) [----] [RECD] (2) Complex.'constructor'.fromReal(pwLine.vs.re - pwLine.vr.re, pwLine.vs.im - pwLine.vr.im) = Complex.'constructor'.fromReal(pwLine.Z.re * ((pwLine.is.re + pwLine.vs.im * pwLine.Y.im) - pwLine.vs.re * pwLine.Y.re) - pwLine.Z.im * (pwLine.is.im - (pwLine.vs.re * pwLine.Y.im + pwLine.vs.im * pwLine.Y.re)), pwLine.Z.re * (pwLine.is.im - (pwLine.vs.re * pwLine.Y.im + pwLine.vs.im * pwLine.Y.re)) + pwLine.Z.im * ((pwLine.is.re + pwLine.vs.im * pwLine.Y.im) - pwLine.vs.re * pwLine.Y.re)) ($RES_SIM_161) (50) [----] end if; (51) [SCAL] (1) $FUN_4 = sin(gENROE.delta) ($RES_$AUX_254) (52) [SCAL] (1) $FUN_5 = cos(gENROE.delta) ($RES_$AUX_253) (53) [SCAL] (1) gENROE.ETERM = sqrt(gENROE.p.vr ^ 2.0 + gENROE.p.vi ^ 2.0) ($RES_$AUX_252) (54) [SCAL] (1) gENROE.anglev = atan2(gENROE.p.vi, gENROE.p.vr) ($RES_$AUX_251) (55) [SCAL] (1) gENROE.I = sqrt(gENROE.p.ii ^ 2.0 + gENROE.p.ir ^ 2.0) ($RES_$AUX_250) (56) [SCAL] (1) pwLine1.vs.im = pwLine.n.vi ($RES_BND_210) (57) [SCAL] (1) pwLine1.vs.re = pwLine.n.vr ($RES_BND_211) (58) [SCAL] (1) pwLine1.is.im = pwLine1.p.ii ($RES_BND_212) (59) [SCAL] (1) pwLine1.is.re = pwLine1.p.ir ($RES_BND_213) (60) [SCAL] (1) pwLine1.vr.im = pwLine1.n.vi ($RES_BND_214) (61) [SCAL] (1) pwLine1.vr.re = pwLine1.n.vr ($RES_BND_215) (62) [SCAL] (1) pwLine1.ir.im = pwLine1.n.ii ($RES_BND_216) (63) [SCAL] (1) pwLine1.ir.re = pwLine1.n.ir ($RES_BND_217) (64) [SCAL] (1) pwLine3.vs.im = pwLine.n.vi ($RES_BND_218) (65) [SCAL] (1) gENROE2.uq = gENROE2.PSId - gENROE2.R_a * gENROE2.iq ($RES_SIM_42) (66) [SCAL] (1) pwLine3.vs.re = pwLine.n.vr ($RES_BND_219) (67) [SCAL] (1) gENROE2.ud = -(gENROE2.PSIq + gENROE2.R_a * gENROE2.id) ($RES_SIM_43) (68) [SCAL] (1) gENROE2.XaqIlq = (((gENROE2.Xq - gENROE2.Xl) * gENROE2.PSIppq * (gENROE2.S10 * gENROE2.PSIpp ^ (log(gENROE2.S12 / gENROE2.S10) / 0.1823215567939546))) / (gENROE2.Xd - gENROE2.Xl) + gENROE2.Epd + gENROE2.K1q * ((gENROE2.Epd + (gENROE2.Xpq - gENROE2.Xl) * gENROE2.iq) - gENROE2.PSIkq)) - gENROE2.iq * (gENROE2.Xq - gENROE2.Xpq) ($RES_SIM_44) (69) [SCAL] (1) gENROE2.ISORCE = gENROE2.id * (gENROE2.Xd - gENROE2.Xpd) + gENROE2.Epq + gENROE2.K1d * (gENROE2.Epq - ((gENROE2.Xpd - gENROE2.Xl) * gENROE2.id + gENROE2.PSIkd)) + (gENROE2.S10 * gENROE2.PSIpp ^ (log(gENROE2.S12 / gENROE2.S10) / 0.1823215567939546)) * gENROE2.PSIppd ($RES_SIM_45) (70) [SCAL] (1) -gENROE2.PSIppq = -(gENROE2.Epd * gENROE2.K3q + gENROE2.PSIkq * gENROE2.K4q) ($RES_SIM_47) (71) [SCAL] (1) gENROE2.PSIppd = gENROE2.Epq * gENROE2.K3d + gENROE2.PSIkd * gENROE2.K4d ($RES_SIM_48) (72) [SCAL] (1) gENROE2.PSIq = -(gENROE2.PSIppq + gENROE2.Xppq * gENROE2.iq) ($RES_SIM_49) (73) [SCAL] (1) pwLine.Q21 = -(pwLine.ir.re * pwLine.vr.im - pwLine.ir.im * pwLine.vr.re) * pwLine.S_b ($RES_SIM_162) (74) [SCAL] (1) gENROE.anglei = atan2(gENROE.p.ii, gENROE.p.ir) ($RES_$AUX_249) (75) [SCAL] (1) pwLine.Q12 = (pwLine.is.re * pwLine.vs.im - pwLine.is.im * pwLine.vs.re) * pwLine.S_b ($RES_SIM_163) (76) [SCAL] (1) gENROE1.PSIpp = sqrt(gENROE1.PSIppd * gENROE1.PSIppd + gENROE1.PSIppq * gENROE1.PSIppq) ($RES_$AUX_248) (77) [SCAL] (1) pwLine.P21 = -(pwLine.ir.re * pwLine.vr.re + pwLine.ir.im * pwLine.vr.im) * pwLine.S_b ($RES_SIM_164) (78) [SCAL] (1) $FUN_11 = sin(gENROE1.delta) ($RES_$AUX_247) (79) [SCAL] (1) pwLine.P12 = (pwLine.is.re * pwLine.vs.re + pwLine.is.im * pwLine.vs.im) * pwLine.S_b ($RES_SIM_165) (80) [SCAL] (1) $FUN_12 = cos(gENROE1.delta) ($RES_$AUX_246) (81) [SCAL] (1) gENROE.p.ii + pwLine.p.ii = 0.0 ($RES_SIM_166) (82) [SCAL] (1) gENROE1.ETERM = sqrt(pwLine1.n.vr ^ 2.0 + pwLine1.n.vi ^ 2.0) ($RES_$AUX_245) (83) [SCAL] (1) gENROE.p.ir + pwLine.p.ir = 0.0 ($RES_SIM_167) (84) [SCAL] (1) gENROE1.anglev = atan2(pwLine1.n.vi, pwLine1.n.vr) ($RES_$AUX_244) (85) [SCAL] (1) pwLine3.n.ii + gENROE1.p.ii + gENROE2.p.ii + pwLine1.n.ii = 0.0 ($RES_SIM_168) (86) [SCAL] (1) gENROE1.I = sqrt(gENROE1.p.ii ^ 2.0 + gENROE1.p.ir ^ 2.0) ($RES_$AUX_243) (87) [SCAL] (1) pwLine3.n.ir + gENROE1.p.ir + gENROE2.p.ir + pwLine1.n.ir = 0.0 ($RES_SIM_169) (88) [SCAL] (1) gENROE1.anglei = atan2(gENROE1.p.ii, gENROE1.p.ir) ($RES_$AUX_242) (89) [SCAL] (1) gENROE2.PSIpp = sqrt(gENROE2.PSIppd * gENROE2.PSIppd + gENROE2.PSIppq * gENROE2.PSIppq) ($RES_$AUX_241) (90) [SCAL] (1) $FUN_18 = sin(gENROE2.delta) ($RES_$AUX_240) (91) [SCAL] (1) pwLine3.is.im = pwLine3.p.ii ($RES_BND_220) (92) [SCAL] (1) pwLine3.is.re = pwLine3.p.ir ($RES_BND_221) (93) [SCAL] (1) pwLine3.vr.im = pwLine1.n.vi ($RES_BND_222) (94) [SCAL] (1) pwLine3.vr.re = pwLine1.n.vr ($RES_BND_223) (95) [SCAL] (1) pwLine3.ir.im = pwLine3.n.ii ($RES_BND_224) (96) [SCAL] (1) pwLine3.ir.re = pwLine3.n.ir ($RES_BND_225) (97) [SCAL] (1) gENROE2.PSId = gENROE2.PSIppd - gENROE2.Xppd * gENROE2.id ($RES_SIM_50) (98) [SCAL] (1) gENROE2.Te = gENROE2.PSId * gENROE2.iq - gENROE2.PSIq * gENROE2.id ($RES_SIM_51) (99) [SCAL] (1) $DER.gENROE2.PSIkq = (1/gENROE2.Tppq0) * ((gENROE2.Epd + (gENROE2.Xpq - gENROE2.Xl) * gENROE2.iq) - gENROE2.PSIkq) ($RES_SIM_52) (100) [SCAL] (1) $DER.gENROE2.PSIkd = (1/gENROE2.Tppd0) * (gENROE2.Epq - ((gENROE2.Xpd - gENROE2.Xl) * gENROE2.id + gENROE2.PSIkd)) ($RES_SIM_53) (101) [SCAL] (1) $DER.gENROE2.Epd = -(1/gENROE2.Tpq0) * gENROE2.XaqIlq ($RES_SIM_54) (102) [SCAL] (1) $DER.gENROE2.Epq = (1/gENROE2.Tpd0) * (gENROE2.efd0 - gENROE2.ISORCE) ($RES_SIM_55) (103) [SCAL] (1) pwLine1.p.ii + pwLine3.p.ii + constantLoad.p.ii + pwLine.n.ii = 0.0 ($RES_SIM_170) (104) [SCAL] (1) pwLine1.p.ir + pwLine3.p.ir + constantLoad.p.ir + pwLine.n.ir = 0.0 ($RES_SIM_171) (105) [SCAL] (1) $FUN_19 = cos(gENROE2.delta) ($RES_$AUX_239) (106) [SCAL] (1) gENROE2.ETERM = sqrt(pwLine1.n.vr ^ 2.0 + pwLine1.n.vi ^ 2.0) ($RES_$AUX_238) (107) [SCAL] (1) gENROE2.anglev = atan2(pwLine1.n.vi, pwLine1.n.vr) ($RES_$AUX_237) (108) [SCAL] (1) gENROE2.I = sqrt(gENROE2.p.ii ^ 2.0 + gENROE2.p.ir ^ 2.0) ($RES_$AUX_236) (109) [SCAL] (1) gENROE2.anglei = atan2(gENROE2.p.ii, gENROE2.p.ir) ($RES_$AUX_235) (110) [SCAL] (1) LOAD.v = sqrt(pwLine.n.vr ^ 2.0 + pwLine.n.vi ^ 2.0) ($RES_$AUX_234) (111) [SCAL] (1) 0.017453292519943295 * LOAD.angleDisplay = atan2(pwLine.n.vi, pwLine.n.vr) ($RES_$AUX_233) (112) [SCAL] (1) GEN1.v = sqrt(gENROE.p.vr ^ 2.0 + gENROE.p.vi ^ 2.0) ($RES_$AUX_232) (113) [SCAL] (1) 0.017453292519943295 * GEN1.angleDisplay = atan2(gENROE.p.vi, gENROE.p.vr) ($RES_$AUX_231) (114) [SCAL] (1) GEN2.v = sqrt(pwLine1.n.vr ^ 2.0 + pwLine1.n.vi ^ 2.0) ($RES_$AUX_230) (115) [SCAL] (1) $TEV_0 = time < step1.startTime ($RES_EVT_264) (116) [SCAL] (1) $TEV_1 = time < step.startTime ($RES_EVT_265) (117) [SCAL] (1) $TEV_2 = time >= constantLoad.t1 ($RES_EVT_266) (118) [SCAL] (1) $TEV_3 = time <= (constantLoad.t1 + constantLoad.d_t) ($RES_EVT_267) (119) [SCAL] (1) $TEV_4 = $TEV_2 and $TEV_3 ($RES_EVT_268) (120) [SCAL] (1) $TEV_5 = time >= pwLine3.t1 ($RES_EVT_269) (121) [SCAL] (1) $DER.gENROE1.delta = gENROE1.w_b * gENROE1.w ($RES_SIM_60) (122) [ARRY] (2) {{gENROE.p.vr}, {gENROE.p.vi}} = {{$FUN_4, $FUN_5}, {-$FUN_5, $FUN_4}} * {{gENROE.ud}, {gENROE.uq}} ($RES_SIM_100) (123) [SCAL] (1) $DER.gENROE1.w = (0.5 * ((gENROE1.pm0 - gENROE1.D * gENROE1.w) / (1.0 + gENROE1.w) - gENROE1.Te)) / gENROE1.H ($RES_SIM_61) (124) [ARRY] (2) {{gENROE.p.ir}, {gENROE.p.ii}} = -gENROE.CoB * {{$FUN_4, $FUN_5}, {-$FUN_5, $FUN_4}} * {{gENROE.id}, {gENROE.iq}} ($RES_SIM_101) (125) [SCAL] (1) gENROE.PELEC = gENROE.P / gENROE.CoB ($RES_SIM_102) (126) [SCAL] (1) -gENROE1.Q = pwLine1.n.vi * gENROE1.p.ir - pwLine1.n.vr * gENROE1.p.ii ($RES_SIM_66) (127) [SCAL] (1) gENROE.uq = gENROE.PSId - gENROE.R_a * gENROE.iq ($RES_SIM_106) (128) [SCAL] (1) -gENROE1.P = pwLine1.n.vr * gENROE1.p.ir + pwLine1.n.vi * gENROE1.p.ii ($RES_SIM_67) (129) [SCAL] (1) gENROE.ud = -(gENROE.PSIq + gENROE.R_a * gENROE.id) ($RES_SIM_107) (130) [ARRY] (2) {{pwLine1.n.vr}, {pwLine1.n.vi}} = {{$FUN_11, $FUN_12}, {-$FUN_12, $FUN_11}} * {{gENROE1.ud}, {gENROE1.uq}} ($RES_SIM_68) (131) [SCAL] (1) gENROE.XaqIlq = (((gENROE.Xq - gENROE.Xl) * gENROE.PSIppq * (gENROE.S10 * gENROE.PSIpp ^ (log(gENROE.S12 / gENROE.S10) / 0.1823215567939546))) / (gENROE.Xd - gENROE.Xl) + gENROE.Epd + gENROE.K1q * ((gENROE.Epd + (gENROE.Xpq - gENROE.Xl) * gENROE.iq) - gENROE.PSIkq)) - gENROE.iq * (gENROE.Xq - gENROE.Xpq) ($RES_SIM_108) (132) [ARRY] (2) {{gENROE1.p.ir}, {gENROE1.p.ii}} = -gENROE1.CoB * {{$FUN_11, $FUN_12}, {-$FUN_12, $FUN_11}} * {{gENROE1.id}, {gENROE1.iq}} ($RES_SIM_69) (133) [SCAL] (1) gENROE.ISORCE = gENROE.id * (gENROE.Xd - gENROE.Xpd) + gENROE.Epq + gENROE.K1d * (gENROE.Epq - ((gENROE.Xpd - gENROE.Xl) * gENROE.id + gENROE.PSIkd)) + (gENROE.S10 * gENROE.PSIpp ^ (log(gENROE.S12 / gENROE.S10) / 0.1823215567939546)) * gENROE.PSIppd ($RES_SIM_109) (134) [SCAL] (1) 0.017453292519943295 * GEN2.angleDisplay = atan2(pwLine1.n.vi, pwLine1.n.vr) ($RES_$AUX_229) (135) [SCAL] (1) $TEV_6 = time < pwLine3.t2 ($RES_EVT_270) (136) [SCAL] (1) $TEV_7 = $TEV_5 and $TEV_6 ($RES_EVT_271) (137) [SCAL] (1) $TEV_8 = time >= pwLine1.t1 ($RES_EVT_272) (138) [SCAL] (1) $TEV_9 = time < pwLine1.t2 ($RES_EVT_273) (139) [SCAL] (1) $TEV_10 = $TEV_8 and $TEV_9 ($RES_EVT_274) (140) [SCAL] (1) $TEV_11 = time >= pwLine.t1 ($RES_EVT_275) (141) [SCAL] (1) $TEV_12 = time < pwLine.t2 ($RES_EVT_276) (142) [SCAL] (1) $TEV_13 = $TEV_11 and $TEV_12 ($RES_EVT_277) (143) [SCAL] (1) $SEV_0 = constantLoad.v < 0.5 ($RES_EVT_278) (144) [SCAL] (1) $SEV_1 = constantLoad.v < constantLoad.PQBRAK ($RES_EVT_279) (145) [SCAL] (1) gENROE1.PELEC = gENROE1.P / gENROE1.CoB ($RES_SIM_70) (146) [SCAL] (1) -gENROE.PSIppq = -(gENROE.Epd * gENROE.K3q + gENROE.PSIkq * gENROE.K4q) ($RES_SIM_111) (147) [SCAL] (1) gENROE.PSIppd = gENROE.Epq * gENROE.K3d + gENROE.PSIkd * gENROE.K4d ($RES_SIM_112) (148) [SCAL] (1) gENROE.PSIq = -(gENROE.PSIppq + gENROE.Xppq * gENROE.iq) ($RES_SIM_113) (149) [SCAL] (1) gENROE1.uq = gENROE1.PSId - gENROE1.R_a * gENROE1.iq ($RES_SIM_74) (150) [SCAL] (1) gENROE.PSId = gENROE.PSIppd - gENROE.Xppd * gENROE.id ($RES_SIM_114) (151) [SCAL] (1) gENROE1.ud = -(gENROE1.PSIq + gENROE1.R_a * gENROE1.id) ($RES_SIM_75) (152) [SCAL] (1) gENROE.Te = gENROE.PSId * gENROE.iq - gENROE.PSIq * gENROE.id ($RES_SIM_115) (153) [SCAL] (1) gENROE1.XaqIlq = (((gENROE1.Xq - gENROE1.Xl) * gENROE1.PSIppq * (gENROE1.S10 * gENROE1.PSIpp ^ (log(gENROE1.S12 / gENROE1.S10) / 0.1823215567939546))) / (gENROE1.Xd - gENROE1.Xl) + gENROE1.Epd + gENROE1.K1q * ((gENROE1.Epd + (gENROE1.Xpq - gENROE1.Xl) * gENROE1.iq) - gENROE1.PSIkq)) - gENROE1.iq * (gENROE1.Xq - gENROE1.Xpq) ($RES_SIM_76) (154) [SCAL] (1) $DER.gENROE.PSIkq = (1/gENROE.Tppq0) * ((gENROE.Epd + (gENROE.Xpq - gENROE.Xl) * gENROE.iq) - gENROE.PSIkq) ($RES_SIM_116) (155) [SCAL] (1) gENROE1.ISORCE = gENROE1.id * (gENROE1.Xd - gENROE1.Xpd) + gENROE1.Epq + gENROE1.K1d * (gENROE1.Epq - ((gENROE1.Xpd - gENROE1.Xl) * gENROE1.id + gENROE1.PSIkd)) + (gENROE1.S10 * gENROE1.PSIpp ^ (log(gENROE1.S12 / gENROE1.S10) / 0.1823215567939546)) * gENROE1.PSIppd ($RES_SIM_77) (156) [SCAL] (1) $DER.gENROE.PSIkd = (1/gENROE.Tppd0) * (gENROE.Epq - ((gENROE.Xpd - gENROE.Xl) * gENROE.id + gENROE.PSIkd)) ($RES_SIM_117) (157) [SCAL] (1) $DER.gENROE.Epd = -(1/gENROE.Tpq0) * gENROE.XaqIlq ($RES_SIM_118) (158) [SCAL] (1) -gENROE1.PSIppq = -(gENROE1.Epd * gENROE1.K3q + gENROE1.PSIkq * gENROE1.K4q) ($RES_SIM_79) (159) [SCAL] (1) $DER.gENROE.Epq = (1/gENROE.Tpd0) * (add1.y - gENROE.ISORCE) ($RES_SIM_119)