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.00145/0.00145, allocations: 98.64 kB / 16.5 MB, free: 6.641 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.001677/0.001677, allocations: 194.3 kB / 17.42 MB, free: 6.066 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.237/1.237, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1604/0.1604, allocations: 38.04 MB / 329.3 MB, free: 9.105 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 61.17 kB / 398.2 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08806/0.08916, allocations: 58.07 MB / 456.3 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.008854/0.09804, allocations: 8.655 MB / 464.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007657/0.1057, allocations: 5.785 MB / 470.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008503/0.1066, allocations: 55.62 kB / 470.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008712/0.1153, allocations: 5.686 MB / 476.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.1167, allocations: 0.6499 MB / 477.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009924/0.1177, allocations: 467.3 kB / 477.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002976/0.1207, allocations: 3.423 MB / 481 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.1219, allocations: 1.147 MB / 482.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007489/0.1227, allocations: 0.6615 MB / 482.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00093/0.1236, allocations: 0.9501 MB / 483.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.1238, allocations: 76 kB / 483.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009889/0.1248, allocations: 0.6629 MB / 484.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004838/0.1253, allocations: 0.5961 MB / 485.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006054/0.1259, allocations: 0.6919 MB / 485.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.1276, allocations: 2.123 MB / 487.9 MB, free: 8.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1276, allocations: 0 / 487.9 MB, free: 8.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1276, allocations: 0 / 487.9 MB, free: 8.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.1276, allocations: 0 / 487.9 MB, free: 8.73 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.003555/0.1312, allocations: 1.948 MB / 489.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1312, allocations: 16.03 kB / 489.8 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002128/0.1314, allocations: 173.5 kB / 490 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005752/0.132, allocations: 179.1 kB / 490.2 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.1336, allocations: 1.007 MB / 491.2 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.1337, allocations: 183.1 kB / 491.4 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.1339, allocations: 115.9 kB / 491.5 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.1367, allocations: 1.859 MB / 493.3 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.1368, allocations: 4 kB / 493.3 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.1369, allocations: 39.98 kB / 493.4 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002799/0.1372, allocations: 133.8 kB / 493.5 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.1398, allocations: 1.6 MB / 495.1 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007188/0.147, allocations: 5.763 MB / 0.4891 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.1493, allocations: 1.203 MB / 0.4903 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.1506, allocations: 0.7386 MB / 0.491 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-05/0.1507, allocations: 13.14 kB / 0.491 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/0.1523, allocations: 0.9767 MB / 0.492 GB, free: 8.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.925e-06/0.1523, allocations: 0 / 0.492 GB, free: 8.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=119): time 0.008866/0.1612, allocations: 4.665 MB / 0.4965 GB, free: 3.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.1613, allocations: 131.8 kB / 0.4967 GB, free: 3.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009117/0.1622, allocations: 0.7819 MB / 0.4974 GB, free: 2.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-05/0.1623, allocations: 57.69 kB / 0.4975 GB, free: 2.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.1627, allocations: 0.5115 MB / 0.498 GB, free: 2.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002894/0.163, allocations: 410.2 kB / 0.4984 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/0.1633, allocations: 246.7 kB / 0.4986 GB, free: 1.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1635, allocations: 418.7 kB / 0.499 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/0.1644, allocations: 0.6864 MB / 0.4997 GB, free: 252 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1749/0.3393, allocations: 0.9666 MB / 0.5006 GB, free: 56.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.3414, allocations: 1.68 MB / 0.5023 GB, free: 56.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3414, allocations: 7.094 kB / 0.5023 GB, free: 56.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00356/0.345, allocations: 2.318 MB / 0.5045 GB, free: 55.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.549e-05/0.3451, allocations: 63.5 kB / 0.5046 GB, free: 55.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3451, allocations: 9.781 kB / 0.5046 GB, free: 55.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.3463, allocations: 415.1 kB / 0.505 GB, free: 55.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007686/0.3471, allocations: 213.3 kB / 0.5052 GB, free: 55.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006469/0.3536, allocations: 5.69 MB / 0.5108 GB, free: 51.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009131/0.3545, allocations: 105.1 kB / 0.5109 GB, free: 51.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.3547, allocations: 86.09 kB / 0.511 GB, free: 51.59 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.0007625/0.3554, allocations: 464 kB / 0.5114 GB, free: 51.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.3557, allocations: 105.4 kB / 0.5115 GB, free: 51.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/0.3596, allocations: 1.953 MB / 0.5134 GB, free: 50.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.694e-05/0.3597, allocations: 28.66 kB / 0.5134 GB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3597, allocations: 6.344 kB / 0.5134 GB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.3597, allocations: 4.734 kB / 0.5134 GB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005602/0.3653, allocations: 3.43 MB / 0.5168 GB, free: 49.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3654, allocations: 1.375 kB / 0.5168 GB, free: 49.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00087/0.3662, allocations: 170.4 kB / 0.517 GB, free: 49.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/0.3667, allocations: 166 kB / 0.5171 GB, free: 48.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.066e-05/0.3668, allocations: 42 kB / 0.5172 GB, free: 48.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.3695, allocations: 4.462 MB / 0.5215 GB, free: 44.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3695, allocations: 1.5 kB / 0.5215 GB, free: 44.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004468/0.374, allocations: 2.888 MB / 0.5243 GB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.3744, allocations: 301.8 kB / 0.5246 GB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.3746, allocations: 91.98 kB / 0.5247 GB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/0.3754, allocations: 111.2 kB / 0.5248 GB, free: 43.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.3756, allocations: 78.81 kB / 0.5249 GB, free: 43.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/0.3757, allocations: 44.69 kB / 0.5249 GB, free: 43.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000595/0.3763, allocations: 0.536 MB / 0.5255 GB, free: 43.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3763, allocations: 0 / 0.5255 GB, free: 43.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001194/0.3775, allocations: 359 kB / 0.5258 GB, free: 43.05 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.005225/0.3828, allocations: 3.852 MB / 0.5296 GB, free: 40.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003067/0.3858, allocations: 2.302 MB / 0.5318 GB, free: 39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3859, allocations: 0 / 0.5318 GB, free: 39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.3876, allocations: 1.223 MB / 0.533 GB, free: 37.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3886, allocations: 224.7 kB / 0.5332 GB, free: 37.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.4038, allocations: 13.85 MB / 0.5467 GB, free: 23.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/0.4045, allocations: 1.277 MB / 0.548 GB, free: 21.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007837/0.4053, allocations: 304.5 kB / 0.5483 GB, free: 21.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/0.4058, allocations: 439.3 kB / 0.5487 GB, free: 21.23 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4058, allocations: 0 / 0.5487 GB, free: 21.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04337/0.4492, allocations: 28.55 MB / 0.5766 GB, free: 8.953 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.4494, allocations: 276 kB / 0.5768 GB, free: 8.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.762, allocations: 4 kB / 0.5768 GB, free: 8.586 MB / 398.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