Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationFixedInitial,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationFixedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationFixedInitial,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationFixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.000886, allocations: 90.89 kB / 16.65 MB, free: 6.586 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.0009052/0.0009052, allocations: 181.2 kB / 17.56 MB, free: 6.203 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.208/1.208, allocations: 223.2 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.162/0.162, allocations: 38.09 MB / 330.8 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 9.281 kB / 400.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08335/0.08364, allocations: 59.17 MB / 460 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.007573/0.09127, allocations: 8.746 MB / 468.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.09546, allocations: 2.812 MB / 471.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004432/0.09592, allocations: 59.62 kB / 471.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005268/0.09646, allocations: 226.5 kB / 471.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008557/0.09732, allocations: 473.9 kB / 472.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.09823, allocations: 399.3 kB / 472.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.09981, allocations: 1.984 MB / 474.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.1013, allocations: 1.107 MB / 475.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005557/0.1019, allocations: 461.8 kB / 476.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000798/0.1027, allocations: 0.6852 MB / 476.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.229e-05/0.1028, allocations: 40 kB / 476.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.1032, allocations: 239.6 kB / 477.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.1036, allocations: 466.8 kB / 477.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.104, allocations: 0.5146 MB / 478.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009712/0.105, allocations: 1.257 MB / 479.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.105, allocations: 0 / 479.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.105, allocations: 4 kB / 479.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1051, allocations: 0 / 479.4 MB, free: 3.441 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001863/0.1069, allocations: 1.152 MB / 480.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.107, allocations: 12.03 kB / 480.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.1071, allocations: 135.7 kB / 480.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009404/0.1081, allocations: 175.5 kB / 480.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/0.109, allocations: 0.7037 MB / 481.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.1091, allocations: 66.38 kB / 481.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.1093, allocations: 107.8 kB / 481.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.1109, allocations: 1.212 MB / 483 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.1109, allocations: 7.938 kB / 483 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/0.111, allocations: 36 kB / 483 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002446/0.1113, allocations: 69.89 kB / 483.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.1127, allocations: 1.007 MB / 484.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005079/0.1178, allocations: 4.787 MB / 488.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009671/0.1188, allocations: 0.6682 MB / 489.5 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005784/0.1194, allocations: 459.8 kB / 490 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.1195, allocations: 8.562 kB / 490 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006746/0.1201, allocations: 0.5041 MB / 490.5 MB, free: 7.906 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.224e-06/0.1201, allocations: 0 / 490.5 MB, free: 7.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.004145/0.1243, allocations: 2.792 MB / 493.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.1244, allocations: 162.8 kB / 493.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005708/0.125, allocations: 0.5977 MB / 494 MB, free: 4.227 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.125, allocations: 37.7 kB / 494.1 MB, free: 4.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.1253, allocations: 486.9 kB / 494.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.1255, allocations: 252.5 kB / 494.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.1257, allocations: 81.66 kB / 494.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1258, allocations: 398.8 kB / 495.3 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/0.1264, allocations: 373.8 kB / 495.6 MB, free: 2.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007148/0.1271, allocations: 0.631 MB / 496.3 MB, free: 1.852 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.006612/0.1338, allocations: 3.464 MB / 499.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1338, allocations: 0 / 499.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002098/0.1359, allocations: 1.347 MB / 0.4893 GB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.1359, allocations: 33.7 kB / 0.4894 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.136, allocations: 11.94 kB / 0.4894 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/0.1365, allocations: 251.1 kB / 0.4896 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.1376, allocations: 267.5 kB / 0.4899 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004636/0.1423, allocations: 5.578 MB / 0.4953 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/0.1429, allocations: 43.98 kB / 0.4954 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/0.143, allocations: 40 kB / 0.4954 GB, free: 6.215 MB / 382.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,$PRE.switch.t0,$PRE.switch.closed,$PRE.switch.open,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,switch.open,switch.t0,switch.control[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005087/0.1435, allocations: 375 kB / 0.4957 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.1436, allocations: 79.06 kB / 0.4958 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.1455, allocations: 1.145 MB / 0.4969 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.1455, allocations: 15.94 kB / 0.497 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1455, allocations: 4 kB / 0.497 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.1455, allocations: 3.984 kB / 0.497 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.1488, allocations: 2.246 MB / 0.4992 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1488, allocations: 7.969 kB / 0.4992 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009175/0.1497, allocations: 187.8 kB / 0.4993 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006594/0.1504, allocations: 242.3 kB / 0.4996 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.1504, allocations: 23.97 kB / 0.4996 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1799/0.3304, allocations: 5.51 MB / 0.505 GB, free: 53.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3304, allocations: 3.547 kB / 0.505 GB, free: 53.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.3329, allocations: 1.638 MB / 0.5066 GB, free: 52.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.333, allocations: 148.5 kB / 0.5067 GB, free: 52.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3331, allocations: 23.67 kB / 0.5067 GB, free: 52.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.3335, allocations: 32.08 kB / 0.5068 GB, free: 52.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.3337, allocations: 55.64 kB / 0.5068 GB, free: 52.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.3338, allocations: 27.06 kB / 0.5069 GB, free: 52.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004403/0.3342, allocations: 414.2 kB / 0.5073 GB, free: 52.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3342, allocations: 0 / 0.5073 GB, free: 52.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009575/0.3352, allocations: 272.4 kB / 0.5075 GB, free: 52.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002449/0.3376, allocations: 2.22 MB / 0.5097 GB, free: 51.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.3395, allocations: 1.391 MB / 0.511 GB, free: 50.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3395, allocations: 0 / 0.511 GB, free: 50.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.3407, allocations: 0.9159 MB / 0.5119 GB, free: 50.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009738/0.3416, allocations: 170.6 kB / 0.5121 GB, free: 50.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.352, allocations: 8.874 MB / 0.5208 GB, free: 45.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/0.3527, allocations: 1.117 MB / 0.5219 GB, free: 44.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006084/0.3533, allocations: 209.4 kB / 0.5221 GB, free: 44.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.3536, allocations: 336.6 kB / 0.5224 GB, free: 44.07 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3537, allocations: 0 / 0.5224 GB, free: 44.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.3861, allocations: 17.7 MB / 0.5397 GB, free: 30.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.3862, allocations: 239.3 kB / 0.5399 GB, free: 30.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/2.454, allocations: 0 / 0.5399 GB, free: 30.64 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationFixedInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationFixedInitial.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationFixedInitial.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,meter.i[1],meter.i[2],meter.i[3],meter.p[1],meter.p[2],meter.p[3],meter.v[1],meter.v[2],meter.v[3] Variables in the result:der(lineB.i[1]),der(lineB.i[2]),der(lineB.i[3]),der(lineL.i[1]),der(lineL.i[2]),der(lineL.i[3]),der(lineR.i[1]),der(lineR.i[2]),der(lineR.i[3]),der(voltageB.theta),grdB.term.i,grdB.term.v,grdL.term.i,grdL.term.v,grdR.term.i,grdR.term.v,lineB.dynType,lineB.i[1],lineB.i[2],lineB.i[3],lineB.i_start[1],lineB.i_start[2],lineB.i_start[3],lineB.len,lineB.ne,lineB.par.S_nom,lineB.par.V_nom,lineB.par.f_nom,lineB.par.puUnits,lineB.par.r,lineB.par.x,lineB.par.x0,lineB.term_n.i[1],lineB.term_n.i[2],lineB.term_n.i[3],lineB.term_n.theta[1],lineB.term_n.theta[2],lineB.term_n.v[1],lineB.term_n.v[2],lineB.term_n.v[3],lineB.term_p.i[1],lineB.term_p.i[2],lineB.term_p.i[3],lineB.term_p.theta[1],lineB.term_p.theta[2],lineB.term_p.v[1],lineB.term_p.v[2],lineB.term_p.v[3],lineB.v[1],lineB.v[2],lineB.v[3],lineB.v_start[1],lineB.v_start[2],lineB.v_start[3],lineL.dynType,lineL.i[1],lineL.i[2],lineL.i[3],lineL.i_start[1],lineL.i_start[2],lineL.i_start[3],lineL.len,lineL.ne,lineL.par.S_nom,lineL.par.V_nom,lineL.par.f_nom,lineL.par.puUnits,lineL.par.r,lineL.par.x,lineL.par.x0,lineL.term_n.i[1],lineL.term_n.i[2],lineL.term_n.i[3],lineL.term_n.theta[1],lineL.term_n.theta[2],lineL.term_n.v[1],lineL.term_n.v[2],lineL.term_n.v[3],lineL.term_p.i[1],lineL.term_p.i[2],lineL.term_p.i[3],lineL.term_p.theta[1],lineL.term_p.theta[2],lineL.term_p.v[1],lineL.term_p.v[2],lineL.term_p.v[3],lineL.v[1],lineL.v[2],lineL.v[3],lineL.v_start[1],lineL.v_start[2],lineL.v_start[3],lineR.dynType,lineR.i[1],lineR.i[2],lineR.i[3],lineR.i_start[1],lineR.i_start[2],lineR.i_start[3],lineR.len,lineR.ne,lineR.par.S_nom,lineR.par.V_nom,lineR.par.f_nom,lineR.par.puUnits,lineR.par.r,lineR.par.x,lineR.par.x0,lineR.term_n.i[1],lineR.term_n.i[2],lineR.term_n.i[3],lineR.term_n.theta[1],lineR.term_n.theta[2],lineR.term_n.v[1],lineR.term_n.v[2],lineR.term_n.v[3],lineR.term_p.i[1],lineR.term_p.i[2],lineR.term_p.i[3],lineR.term_p.theta[1],lineR.term_p.theta[2],lineR.term_p.v[1],lineR.term_p.v[2],lineR.term_p.v[3],lineR.v[1],lineR.v[2],lineR.v[3],lineR.v_start[1],lineR.v_start[2],lineR.v_start[3],meter.S_nom,meter.V_nom,meter.abc,meter.alpha_i,meter.alpha_v,meter.av,meter.cos_phi,meter.i[1],meter.i[2],meter.i[3],meter.i_norm,meter.p[1],meter.p[2],meter.p[3],meter.puUnits,meter.tcst,meter.term_n.i[1],meter.term_n.i[2],meter.term_n.i[3],meter.term_n.theta[1],meter.term_n.theta[2],meter.term_n.v[1],meter.term_n.v[2],meter.term_n.v[3],meter.term_p.i[1],meter.term_p.i[2],meter.term_p.i[3],meter.term_p.theta[1],meter.term_p.theta[2],meter.term_p.v[1],meter.term_p.v[2],meter.term_p.v[3],meter.v[1],meter.v[2],meter.v[3],meter.v_norm,meter.vpp[1],meter.vpp[2],relayNet.ini_state,relayNet.n,relayNet.switched[1],relayNet.t_switch[1],relayNet.t_switch[2],relayNet.y[1],switch.I_nom,switch.V_nom,switch.control[1],switch.dynType,switch.eps[1],switch.eps[2],switch.i[1],switch.i[2],switch.i[3],switch.n,switch.p_relax,switch.t_relax,switch.term_n.i[1],switch.term_n.i[2],switch.term_n.i[3],switch.term_n.theta[1],switch.term_n.theta[2],switch.term_n.v[1],switch.term_n.v[2],switch.term_n.v[3],switch.term_p.i[1],switch.term_p.i[2],switch.term_p.i[3],switch.term_p.theta[1],switch.term_p.theta[2],switch.term_p.v[1],switch.term_p.v[2],switch.term_p.v[3],switch.v[1],switch.v[2],switch.v[3],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.initime,system.omega,system.omega_nom,system.receiveFreq.H,system.receiveFreq.h,system.receiveFreq.w_H,system.receiveFreq.w_h,system.refType,system.synRef,system.theta,system.thetaRef,system.thetaRel,system.w_nom,time,transPh.a_end,transPh.a_start,transPh.n,transPh.ph_end,transPh.ph_start,transPh.t_change,transPh.t_duration,transPh.y[1],transPh.y[2],voltageB.S_nom,voltageB.V_nom,voltageB.alpha0,voltageB.f,voltageB.fType,voltageB.neutral.i,voltageB.neutral.v,voltageB.puUnits,voltageB.term.i[1],voltageB.term.i[2],voltageB.term.i[3],voltageB.term.theta[1],voltageB.term.theta[2],voltageB.term.v[1],voltageB.term.v[2],voltageB.term.v[3],voltageB.use_vPhasor_in,voltageB.v0,voltageL.S_nom,voltageL.V_nom,voltageL.alpha0,voltageL.f,voltageL.fType,voltageL.neutral.i,voltageL.neutral.v,voltageL.puUnits,voltageL.term.i[1],voltageL.term.i[2],voltageL.term.i[3],voltageL.term.theta[1],voltageL.term.theta[2],voltageL.term.v[1],voltageL.term.v[2],voltageL.term.v[3],voltageL.use_vPhasor_in,voltageL.v0,voltageL.vPhasor_in[1],voltageL.vPhasor_in[2],voltageR.S_nom,voltageR.V_nom,voltageR.alpha0,voltageR.f,voltageR.fType,voltageR.neutral.i,voltageR.neutral.v,voltageR.puUnits,voltageR.term.i[1],voltageR.term.i[2],voltageR.term.i[3],voltageR.term.theta[1],voltageR.term.theta[2],voltageR.term.v[1],voltageR.term.v[2],voltageR.term.v[3],voltageR.use_vPhasor_in,voltageR.v0