Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_Ideal_IdealTwoWaySwitches",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_Ideal_IdealTwoWaySwitches",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.09 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3319, allocations: 62.45 MB / 0.5305 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches): time 0.004093/0.3361, allocations: 2.927 MB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3373, allocations: 0.685 MB / 0.534 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.3375, allocations: 4.125 kB / 0.534 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.3377, allocations: 50.38 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.3379, allocations: 96.75 kB / 0.5342 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.338, allocations: 90.73 kB / 0.5343 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.3384, allocations: 408.3 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.3387, allocations: 122.8 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.3388, allocations: 149.4 kB / 0.5349 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.339, allocations: 165.7 kB / 0.5351 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.3391, allocations: 33.69 kB / 0.5351 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.329e-05/0.3391, allocations: 35.19 kB / 0.5351 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.138e-05/0.3392, allocations: 71.17 kB / 0.5352 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.3394, allocations: 169 kB / 0.5354 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.3398, allocations: 397.5 kB / 0.5357 GB, free: 9.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3398, allocations: 4 kB / 0.5357 GB, free: 9.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3398, allocations: 3.938 kB / 0.5357 GB, free: 9.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.3399, allocations: 1.094 kB / 0.5357 GB, free: 9.301 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001049/0.3409, allocations: 0.6233 MB / 0.5364 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.341, allocations: 11.7 kB / 0.5364 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.109e-05/0.341, allocations: 67 kB / 0.5364 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.3411, allocations: 38.72 kB / 0.5365 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.3415, allocations: 277.4 kB / 0.5367 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.3415, allocations: 23.78 kB / 0.5368 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.3416, allocations: 29.44 kB / 0.5368 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.3422, allocations: 321.6 kB / 0.5371 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3422, allocations: 0 / 0.5371 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.3422, allocations: 15.38 kB / 0.5371 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.3422, allocations: 6.656 kB / 0.5371 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.3427, allocations: 245.8 kB / 0.5373 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.3448, allocations: 1.252 MB / 0.5386 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007511/0.3455, allocations: 476.7 kB / 0.539 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.3459, allocations: 161.8 kB / 0.5392 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.3459, allocations: 4.766 kB / 0.5392 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.3459, allocations: 36.02 kB / 0.5392 GB, free: 6.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.284e-06/0.3459, allocations: 0 / 0.5392 GB, free: 6.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002958/0.3489, allocations: 1.022 MB / 0.5402 GB, free: 5.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.3489, allocations: 54.12 kB / 0.5403 GB, free: 5.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.3492, allocations: 241 kB / 0.5405 GB, free: 5.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.3492, allocations: 35.52 kB / 0.5405 GB, free: 5.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.3494, allocations: 168.4 kB / 0.5407 GB, free: 5.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.3494, allocations: 86.06 kB / 0.5408 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.3495, allocations: 48.86 kB / 0.5408 GB, free: 5.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3497, allocations: 336.2 kB / 0.5411 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.3499, allocations: 105.2 kB / 0.5412 GB, free: 4.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.3502, allocations: 150.3 kB / 0.5414 GB, free: 4.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.3506, allocations: 241.1 kB / 0.5416 GB, free: 4.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3506, allocations: 1.312 kB / 0.5416 GB, free: 4.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001206/0.3519, allocations: 497 kB / 0.5421 GB, free: 4.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.3519, allocations: 5.688 kB / 0.5421 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3519, allocations: 1.156 kB / 0.5421 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.353, allocations: 243.5 kB / 0.5423 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3531, allocations: 33.39 kB / 0.5424 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00444/0.3576, allocations: 3.685 MB / 0.546 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.3579, allocations: 40.14 kB / 0.546 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.358, allocations: 6.688 kB / 0.546 GB, free: 0.9453 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.3582, allocations: 146.8 kB / 0.5461 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/0.3583, allocations: 28.31 kB / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.909e-05/0.3583, allocations: 35.64 kB / 0.5462 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3584, allocations: 3.438 kB / 0.5462 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/0.3584, allocations: 6.188 kB / 0.5462 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3584, allocations: 7.938 kB / 0.5462 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.3602, allocations: 0.8866 MB / 0.5471 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3602, allocations: 0 / 0.5471 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.144e-05/0.3603, allocations: 12 kB / 0.5471 GB, free: 0 / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009074/0.3612, allocations: 245.4 kB / 0.5473 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3612, allocations: 8 kB / 0.5473 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004008/0.3652, allocations: 3.681 MB / 0.5509 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3653, allocations: 0 / 0.5509 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3663, allocations: 0.5299 MB / 0.5515 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.3665, allocations: 124.7 kB / 0.5516 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.3666, allocations: 4 kB / 0.5516 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.3668, allocations: 27.98 kB / 0.5516 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.3669, allocations: 31.95 kB / 0.5516 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3669, allocations: 12 kB / 0.5516 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.3671, allocations: 176.4 kB / 0.5518 GB, free: 10.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3671, allocations: 0 / 0.5518 GB, free: 10.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000474/0.3676, allocations: 107.8 kB / 0.5519 GB, free: 10.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/0.3689, allocations: 1.077 MB / 0.553 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.37, allocations: 0.5596 MB / 0.5535 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.37, allocations: 4 kB / 0.5535 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006043/0.3706, allocations: 433.3 kB / 0.5539 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.371, allocations: 44.42 kB / 0.554 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/0.3755, allocations: 3.04 MB / 0.5569 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.3759, allocations: 0.7678 MB / 0.5577 GB, free: 4.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.602e-05/0.376, allocations: 18.3 kB / 0.5577 GB, free: 4.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.3761, allocations: 75.41 kB / 0.5578 GB, free: 4.508 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3761, allocations: 3.938 kB / 0.5578 GB, free: 4.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.4062, allocations: 7.337 MB / 0.5649 GB, free: 13.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.832/10.24, allocations: 19.31 kB / 0.565 GB, free: 13.32 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_Ideal_IdealTwoWaySwitches_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_Ideal_IdealTwoWaySwitches.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/Ideal/IdealTwoWaySwitches/IdealTwoWaySwitches.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,twoWay.LossPower,twoWay.p.i,twoWay.n1.v,twoWay.n1.i,twoWay.n2.v,twoWay.n2.i,controlledTwoWay.LossPower,controlledTwoWay.p.i,controlledTwoWay.n1.v,controlledTwoWay.n1.i,controlledTwoWay.n2.v,controlledTwoWay.n2.i Variables in the result:booleanStep.startTime,booleanStep.startValue,booleanStep.y,constantVoltage.V,constantVoltage.i,constantVoltage.n.i,constantVoltage.n.v,constantVoltage.p.i,constantVoltage.p.v,constantVoltage.v,controlledTwoWay.Goff,controlledTwoWay.LossPower,controlledTwoWay.Ron,controlledTwoWay.T,controlledTwoWay.T_heatPort,controlledTwoWay.control.i,controlledTwoWay.control.v,controlledTwoWay.level,controlledTwoWay.n1.i,controlledTwoWay.n1.v,controlledTwoWay.n2.i,controlledTwoWay.n2.v,controlledTwoWay.p.i,controlledTwoWay.p.v,controlledTwoWay.useHeatPort,ground.p.i,ground.p.v,r1.LossPower,r1.R,r1.R_actual,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r1.i,r1.n.i,r1.n.v,r1.p.i,r1.p.v,r1.useHeatPort,r1.v,r2.LossPower,r2.R,r2.R_actual,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,r2.i,r2.n.i,r2.n.v,r2.p.i,r2.p.v,r2.useHeatPort,r2.v,r3.LossPower,r3.R,r3.R_actual,r3.T,r3.T_heatPort,r3.T_ref,r3.alpha,r3.i,r3.n.i,r3.n.v,r3.p.i,r3.p.v,r3.useHeatPort,r3.v,r4.LossPower,r4.R,r4.R_actual,r4.T,r4.T_heatPort,r4.T_ref,r4.alpha,r4.i,r4.n.i,r4.n.v,r4.p.i,r4.p.v,r4.useHeatPort,r4.v,time,twoWay.Goff,twoWay.LossPower,twoWay.Ron,twoWay.T,twoWay.T_heatPort,twoWay.control,twoWay.n1.i,twoWay.n1.v,twoWay.n2.i,twoWay.n2.v,twoWay.p.i,twoWay.p.v,twoWay.useHeatPort