Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM.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.AC3ph.Drives.ASM,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASM,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASM",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.0007343/0.0007343, allocations: 92.48 kB / 16.65 MB, free: 6.535 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.000925/0.0009251, allocations: 176.3 kB / 17.56 MB, free: 6.18 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.259/1.259, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1676/0.1676, allocations: 38.09 MB / 330.8 MB, free: 8.512 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002756/0.0002756, allocations: 8 kB / 400.8 MB, free: 34.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09216/0.09246, allocations: 59.17 MB / 460 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.008203/0.1007, allocations: 8.187 MB / 468.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008244/0.109, allocations: 5.681 MB / 473.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006521/0.1097, allocations: 55.62 kB / 473.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007924/0.1176, allocations: 5.409 MB / 479.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.119, allocations: 0.6538 MB / 480 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.12, allocations: 474.3 kB / 480.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003057/0.1231, allocations: 3.419 MB / 483.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/0.1247, allocations: 1.36 MB / 485.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007484/0.1254, allocations: 0.6147 MB / 485.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000946/0.1264, allocations: 0.8916 MB / 486.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.1265, allocations: 67.94 kB / 486.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009294/0.1275, allocations: 0.6356 MB / 487.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.1279, allocations: 0.5688 MB / 488 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005759/0.1285, allocations: 0.6857 MB / 488.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.1301, allocations: 2.071 MB / 490.7 MB, free: 8.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1301, allocations: 4 kB / 490.8 MB, free: 8.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1302, allocations: 3.938 kB / 490.8 MB, free: 8.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.1302, allocations: 0 / 490.8 MB, free: 8.004 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.003171/0.1334, allocations: 1.68 MB / 492.4 MB, free: 6.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1334, allocations: 8.031 kB / 492.4 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002208/0.1336, allocations: 181.5 kB / 492.6 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000559/0.1342, allocations: 171.2 kB / 492.8 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.1358, allocations: 1.014 MB / 493.8 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.1359, allocations: 183.1 kB / 494 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.1361, allocations: 112 kB / 494.1 MB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/0.1391, allocations: 1.89 MB / 496 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.1391, allocations: 0 / 496 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.1393, allocations: 47.92 kB / 496 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002767/0.1396, allocations: 125.9 kB / 496.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/0.1425, allocations: 1.624 MB / 497.8 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00739/0.1499, allocations: 5.767 MB / 0.4917 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.1523, allocations: 1.246 MB / 0.493 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.1538, allocations: 0.7698 MB / 0.4937 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/0.1538, allocations: 17.14 kB / 0.4937 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001692/0.1555, allocations: 1.012 MB / 0.4947 GB, free: 7.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.525e-06/0.1555, allocations: 0 / 0.4947 GB, free: 7.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=119): time 0.009262/0.1648, allocations: 4.782 MB / 0.4994 GB, free: 2.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.1649, allocations: 131.8 kB / 0.4995 GB, free: 2.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.1659, allocations: 0.7859 MB / 0.5003 GB, free: 1.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.1661, allocations: 61.69 kB / 0.5003 GB, free: 1.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.1665, allocations: 0.4959 MB / 0.5008 GB, free: 1.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000357/0.1669, allocations: 406.3 kB / 0.5012 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.167, allocations: 125.6 kB / 0.5013 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002859/0.1673, allocations: 418.7 kB / 0.5017 GB, free: 332 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1949/0.3623, allocations: 0.6868 MB / 0.5024 GB, free: 38.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.3636, allocations: 0.9714 MB / 0.5033 GB, free: 37.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.3657, allocations: 1.68 MB / 0.505 GB, free: 37.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.3657, allocations: 2.125 kB / 0.505 GB, free: 37.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003725/0.3694, allocations: 2.321 MB / 0.5073 GB, free: 37.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.756e-05/0.3695, allocations: 61.11 kB / 0.5073 GB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.3695, allocations: 9.062 kB / 0.5073 GB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.3708, allocations: 429.9 kB / 0.5077 GB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007892/0.3716, allocations: 213.6 kB / 0.5079 GB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00649/0.3781, allocations: 5.687 MB / 0.5135 GB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009944/0.3791, allocations: 104.2 kB / 0.5136 GB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.3793, allocations: 82.88 kB / 0.5137 GB, free: 34.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0007554/0.38, allocations: 463.8 kB / 0.5141 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.3802, allocations: 109.4 kB / 0.5142 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/0.3842, allocations: 2.011 MB / 0.5162 GB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-05/0.3842, allocations: 29.27 kB / 0.5162 GB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3843, allocations: 2.062 kB / 0.5162 GB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.3843, allocations: 6.188 kB / 0.5162 GB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006028/0.3903, allocations: 3.474 MB / 0.5196 GB, free: 33.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.3903, allocations: 5.031 kB / 0.5196 GB, free: 33.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000932/0.3913, allocations: 169.2 kB / 0.5198 GB, free: 33.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005387/0.3918, allocations: 163.3 kB / 0.5199 GB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.499e-05/0.3919, allocations: 41.14 kB / 0.52 GB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.395, allocations: 4.462 MB / 0.5243 GB, free: 28.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.395, allocations: 5.031 kB / 0.5243 GB, free: 28.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005054/0.4001, allocations: 2.96 MB / 0.5272 GB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006071/0.4007, allocations: 313.5 kB / 0.5275 GB, free: 27.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.4009, allocations: 97.19 kB / 0.5276 GB, free: 27.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009045/0.4018, allocations: 128.1 kB / 0.5277 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.4021, allocations: 79.89 kB / 0.5278 GB, free: 27.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.659e-05/0.4021, allocations: 38.25 kB / 0.5278 GB, free: 27.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007104/0.4029, allocations: 0.5373 MB / 0.5284 GB, free: 27.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4029, allocations: 0 / 0.5284 GB, free: 27.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001329/0.4042, allocations: 362.4 kB / 0.5287 GB, free: 27.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 17 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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,3,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005763/0.41, allocations: 3.919 MB / 0.5325 GB, free: 25.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003565/0.4136, allocations: 2.329 MB / 0.5348 GB, free: 24.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4136, allocations: 2.625 kB / 0.5348 GB, free: 24.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.4156, allocations: 1.242 MB / 0.536 GB, free: 23.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.4169, allocations: 228.6 kB / 0.5363 GB, free: 23.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.4331, allocations: 14.1 MB / 0.55 GB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.4338, allocations: 1.283 MB / 0.5513 GB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008591/0.4347, allocations: 304.5 kB / 0.5516 GB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/0.4352, allocations: 439.3 kB / 0.552 GB, free: 8.109 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4352, allocations: 0 / 0.552 GB, free: 8.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07208/0.5073, allocations: 28 MB / 0.5793 GB, free: 12.45 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/0.5076, allocations: 277.4 kB / 0.5796 GB, free: 12.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/2.933, allocations: 0 / 0.5796 GB, free: 12.09 MB / 414.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASM.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASM.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,asm.motor.tau_el,asm.rotor.w,power.i[1],power.i[2],power.i[3],power.p_av[1],power.p_av[2],power.p_av[3] Variables in the result:asm.flange.phi,asm.flange.tau,asm.gear.flange_a.phi,asm.gear.flange_a.tau,asm.gear.flange_b.phi,asm.gear.flange_b.tau,asm.heat.m,asm.heat.ports[1].Q_flow,asm.heat.ports[1].T,asm.heat.ports[2].Q_flow,asm.heat.ports[2].T,asm.motor.airgap.phi,asm.motor.airgap.tau,asm.motor.dynType,asm.motor.heat.m,asm.motor.heat.ports[1].Q_flow,asm.motor.heat.ports[1].T,asm.motor.heat.ports[2].Q_flow,asm.motor.heat.ports[2].T,asm.motor.i[1],asm.motor.i[2],asm.motor.i[3],asm.motor.i_n[1],asm.motor.i_start[1],asm.motor.i_start[2],asm.motor.i_start[3],asm.motor.par.S_nom,asm.motor.par.V_nom,asm.motor.par.f_nom,asm.motor.par.n_r,asm.motor.par.neu_iso,asm.motor.par.pp,asm.motor.par.puUnits,asm.motor.par.r_n,asm.motor.par.r_r[1],asm.motor.par.r_r[2],asm.motor.par.r_s,asm.motor.par.tc[1],asm.motor.par.tc[2],asm.motor.par.to[1],asm.motor.par.to[2],asm.motor.par.transDat,asm.motor.par.use_xtr,asm.motor.par.x,asm.motor.par.x_0,asm.motor.par.xsig_r[1],asm.motor.par.xsig_r[2],asm.motor.par.xsig_s,asm.motor.par.xtr[1],asm.motor.par.xtr[2],asm.motor.phi_el,asm.motor.phi_el_start,asm.motor.pp,asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.slip,asm.motor.tau_el,asm.motor.term.i[1],asm.motor.term.i[2],asm.motor.term.i[3],asm.motor.term.theta[1],asm.motor.term.theta[2],asm.motor.term.v[1],asm.motor.term.v[2],asm.motor.term.v[3],asm.motor.top.i_cond[1],asm.motor.top.i_cond[2],asm.motor.top.i_cond[3],asm.motor.top.i_n[1],asm.motor.top.i_term[1],asm.motor.top.i_term[2],asm.motor.top.i_term[3],asm.motor.top.n_n,asm.motor.top.v_cond[1],asm.motor.top.v_cond[2],asm.motor.top.v_cond[3],asm.motor.top.v_n[1],asm.motor.top.v_term[1],asm.motor.top.v_term[2],asm.motor.top.v_term[3],asm.motor.top.w,asm.motor.v[1],asm.motor.v[2],asm.motor.v[3],asm.motor.v_n[1],asm.motor.w_el,asm.rotor.J,asm.rotor.a,asm.rotor.dynType,asm.rotor.flange_a.phi,asm.rotor.flange_a.tau,asm.rotor.flange_b.phi,asm.rotor.flange_b.tau,asm.rotor.friction.phi,asm.rotor.friction.tau,asm.rotor.phi,asm.rotor.rotor.phi,asm.rotor.rotor.tau,asm.rotor.stator.phi,asm.rotor.stator.tau,asm.rotor.w,asm.rotor.w_start,asm.term.i[1],asm.term.i[2],asm.term.i[3],asm.term.theta[1],asm.term.theta[2],asm.term.v[1],asm.term.v[2],asm.term.v[3],asm.w_start,bdCond1.T_amb,bdCond1.heat.m,bdCond1.heat.ports[1].Q_flow,bdCond1.heat.ports[1].T,bdCond1.heat.ports[2].Q_flow,bdCond1.heat.ports[2].T,bdCond1.m,bdCond2.T_amb,bdCond2.heat.m,bdCond2.heat.ports[1].Q_flow,bdCond2.heat.ports[1].T,bdCond2.heat.ports[2].Q_flow,bdCond2.heat.ports[2].T,bdCond2.heat.ports[3].Q_flow,bdCond2.heat.ports[3].T,bdCond2.m,der(asm.motor.i[3]),der(asm.motor.phi_el),der(asm.motor.psi_rd[1]),der(asm.motor.psi_rd[2]),der(asm.motor.psi_rq[1]),der(asm.motor.psi_rq[2]),der(asm.motor.psi_s[1]),der(asm.motor.psi_s[2]),der(asm.motor.term.theta[1]),der(asm.rotor.phi),der(asm.rotor.w),der(power.pav[1]),der(power.pav[2]),der(power.pav[3]),der(tabLoad.s),der(tabLoad.vVehicle),grd.term.i,grd.term.v,inverter.AC.i[1],inverter.AC.i[2],inverter.AC.i[3],inverter.AC.theta[1],inverter.AC.theta[2],inverter.AC.v[1],inverter.AC.v[2],inverter.AC.v[3],inverter.DC.i[1],inverter.DC.i[2],inverter.DC.v[1],inverter.DC.v[2],inverter.heat.m,inverter.heat.ports[1].Q_flow,inverter.heat.ports[1].T,inverter.heat.ports[2].Q_flow,inverter.heat.ports[2].T,inverter.heat.ports[3].Q_flow,inverter.heat.ports[3].T,inverter.inverter.AC.i[1],inverter.inverter.AC.i[2],inverter.inverter.AC.i[3],inverter.inverter.AC.theta[1],inverter.inverter.AC.theta[2],inverter.inverter.AC.v[1],inverter.inverter.AC.v[2],inverter.inverter.AC.v[3],inverter.inverter.DC.i[1],inverter.inverter.DC.i[2],inverter.inverter.DC.v[1],inverter.inverter.DC.v[2],inverter.inverter.gates[1],inverter.inverter.gates[2],inverter.inverter.gates[3],inverter.inverter.gates[4],inverter.inverter.gates[5],inverter.inverter.gates[6],inverter.inverter.heat.m,inverter.inverter.heat.ports[1].Q_flow,inverter.inverter.heat.ports[1].T,inverter.inverter.heat.ports[2].Q_flow,inverter.inverter.heat.ports[2].T,inverter.inverter.heat.ports[3].Q_flow,inverter.inverter.heat.ports[3].T,inverter.modulator.dt_min,inverter.modulator.f_carr,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.m,inverter.modulator.theta,inverter.modulator.vPhasor[1],inverter.modulator.vPhasor[2],inverter.theta,inverter.vPhasor[1],inverter.vPhasor[2],power.S_nom,power.V_nom,power.abc,power.alpha_i,power.alpha_v,power.av,power.cos_phi,power.i[1],power.i[2],power.i[3],power.i_abc[1],power.i_abc[2],power.i_abc[3],power.i_norm,power.p[1],power.p[2],power.p[3],power.p_av[1],power.p_av[2],power.p_av[3],power.pav[1],power.pav[2],power.pav[3],power.puUnits,power.tcst,power.term_n.i[1],power.term_n.i[2],power.term_n.i[3],power.term_n.theta[1],power.term_n.theta[2],power.term_n.v[1],power.term_n.v[2],power.term_n.v[3],power.term_p.i[1],power.term_p.i[2],power.term_p.i[3],power.term_p.theta[1],power.term_p.theta[2],power.term_p.v[1],power.term_p.v[2],power.term_p.v[3],power.v[1],power.v[2],power.v[3],power.v_abc[1],power.v_abc[2],power.v_abc[3],power.v_norm,power.vpp[1],power.vpp[2],power.vpp_abc[1],power.vpp_abc[2],power.vpp_abc[3],select.alpha0,select.f,select.fType,select.theta_out,select.use_vPhasor_in,select.v0,select.vPhasor_out[1],select.vPhasor_out[2],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,tabLoad.D,tabLoad.cFrict[1],tabLoad.cFrict[2],tabLoad.colData,tabLoad.dirTrack,tabLoad.dirVehicle,tabLoad.flange_a.phi,tabLoad.flange_a.tau,tabLoad.flange_b.phi,tabLoad.flange_b.tau,tabLoad.gRatio,tabLoad.mass,tabLoad.r,tabLoad.s,tabLoad.s_bd[1],tabLoad.s_bd[2],tabLoad.s_unit,tabLoad.scale,tabLoad.slope_scale,tabLoad.table.columns[1],tabLoad.table.extrapolation,tabLoad.table.nout,tabLoad.table.smoothness,tabLoad.table.tableOnFile,tabLoad.table.u,tabLoad.table.u_max,tabLoad.table.u_min,tabLoad.table.verboseExtrapolation,tabLoad.table.verboseRead,tabLoad.table.y[1],tabLoad.tau,tabLoad.vVehicle,time,voltage.S_nom,voltage.V_nom,voltage.neutral.i,voltage.neutral.v,voltage.pol,voltage.puUnits,voltage.term.i[1],voltage.term.i[2],voltage.term.v[1],voltage.term.v[2],voltage.use_vDC_in,voltage.v0