Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.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: translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|asm_ctrl.motor.i_meas.1.|asm_ctrl.motor.i_meas.2.|asm_ctrl.motor.slip|asm_ctrl.motor.tau_el|asm_ctrl.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|asm_ctrl.motor.i_meas.1.|asm_ctrl.motor.i_meas.2.|asm_ctrl.motor.slip|asm_ctrl.motor.tau_el|asm_ctrl.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 112.7 kB / 17.68 MB, free: 5.473 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.002502/0.002503, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.421/1.421, allocations: 222.9 MB / 242.3 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1737/0.1737, allocations: 38.04 MB / 330.5 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 66.06 kB / 400.3 MB, free: 33.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1056, allocations: 58.06 MB / 458.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv): time 0.009463/0.1151, allocations: 7.432 MB / 465.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007697/0.1228, allocations: 4.783 MB / 470.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.1239, allocations: 35.81 kB / 470.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0132/0.1372, allocations: 4.876 MB / 475.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.1389, allocations: 0.4935 MB / 475.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.1405, allocations: 0.5069 MB / 476.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003719/0.1443, allocations: 2.366 MB / 478.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.1465, allocations: 1.273 MB / 480.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.148, allocations: 0.6811 MB / 480.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.1497, allocations: 0.7706 MB / 481.5 MB, free: 12 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004939/0.1502, allocations: 128 kB / 481.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006372/0.1508, allocations: 139.9 kB / 481.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007833/0.1516, allocations: 462.8 kB / 482.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.1531, allocations: 0.6143 MB / 482.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.1556, allocations: 1.62 MB / 484.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1557, allocations: 0 / 484.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1557, allocations: 0 / 484.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.688e-05/0.1557, allocations: 0 / 484.5 MB, free: 13.05 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004375/0.1601, allocations: 1.448 MB / 485.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1602, allocations: 11.89 kB / 485.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/0.1608, allocations: 135.5 kB / 486.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.163, allocations: 0.906 MB / 487 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.336e-05/0.1631, allocations: 65.92 kB / 487 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.1633, allocations: 91.98 kB / 487.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.1656, allocations: 1.226 MB / 488.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.1657, allocations: 11.84 kB / 488.4 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/0.1658, allocations: 36 kB / 488.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/0.166, allocations: 73.94 kB / 488.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.1679, allocations: 1.003 MB / 489.5 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006898/0.1748, allocations: 4.394 MB / 493.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.1763, allocations: 0.8868 MB / 494.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007756/0.177, allocations: 444 kB / 495.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.851e-05/0.1771, allocations: 12.56 kB / 495.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/0.1772, allocations: 39.12 kB / 495.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=70): time 2.795e-06/0.1772, allocations: 0 / 495.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.007103/0.1843, allocations: 3.287 MB / 498.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.1844, allocations: 141 kB / 498.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009639/0.1854, allocations: 0.6842 MB / 499.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.1855, allocations: 41.73 kB / 499.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.1858, allocations: 487.2 kB / 499.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.1861, allocations: 252.3 kB / 0.4884 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.1864, allocations: 158.5 kB / 0.4885 GB, free: 12.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1865, allocations: 345.9 kB / 0.4889 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006609/0.1872, allocations: 372.7 kB / 0.4892 GB, free: 11.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.188, allocations: 0.59 MB / 0.4898 GB, free: 11.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007801/0.1958, allocations: 2.371 MB / 0.4921 GB, free: 8.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/0.1959, allocations: 4 kB / 0.4921 GB, free: 8.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.006086/0.202, allocations: 2.009 MB / 0.4941 GB, free: 6.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.202, allocations: 8 kB / 0.4941 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.2021, allocations: 8 kB / 0.4941 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/0.2067, allocations: 0.9963 MB / 0.4951 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.2073, allocations: 131.8 kB / 0.4952 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2297/0.4371, allocations: 9.995 MB / 0.505 GB, free: 53.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.4378, allocations: 38.16 kB / 0.505 GB, free: 53.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/0.4379, allocations: 38.19 kB / 0.505 GB, free: 53.66 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.asm_ctrl.rotor.w = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009268/0.4389, allocations: 0.618 MB / 0.5056 GB, free: 53.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006528/0.4395, allocations: 0.5733 MB / 0.5062 GB, free: 52.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007498/0.447, allocations: 2.334 MB / 0.5085 GB, free: 52.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.038e-05/0.4471, allocations: 4.734 kB / 0.5085 GB, free: 52.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005342/0.4524, allocations: 1.933 MB / 0.5104 GB, free: 51.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4525, allocations: 8.438 kB / 0.5104 GB, free: 51.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.4525, allocations: 6.75 kB / 0.5104 GB, free: 51.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004928/0.4574, allocations: 0.9819 MB / 0.5113 GB, free: 51.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/0.458, allocations: 130.7 kB / 0.5115 GB, free: 51.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.4719, allocations: 9.771 MB / 0.521 GB, free: 45.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007726/0.4727, allocations: 36.14 kB / 0.521 GB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.4728, allocations: 43.31 kB / 0.5211 GB, free: 45.62 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.asm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_i_q.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0002701/0.4731, allocations: 233.1 kB / 0.5213 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.4732, allocations: 93.52 kB / 0.5214 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.4751, allocations: 1.239 MB / 0.5226 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4751, allocations: 7.906 kB / 0.5226 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4751, allocations: 3.938 kB / 0.5226 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.4751, allocations: 3.984 kB / 0.5226 GB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.4785, allocations: 2.397 MB / 0.525 GB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.4785, allocations: 1.375 kB / 0.525 GB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008316/0.4794, allocations: 159 kB / 0.5251 GB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/0.4798, allocations: 153.6 kB / 0.5253 GB, free: 42.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.4799, allocations: 22.73 kB / 0.5253 GB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002696/0.4826, allocations: 5.81 MB / 0.531 GB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4826, allocations: 3.719 kB / 0.531 GB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.4847, allocations: 1.86 MB / 0.5328 GB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.4851, allocations: 230.1 kB / 0.533 GB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.4852, allocations: 19 kB / 0.533 GB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/0.4857, allocations: 33.66 kB / 0.533 GB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.4858, allocations: 59.58 kB / 0.5331 GB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.4859, allocations: 27.17 kB / 0.5331 GB, free: 35.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004761/0.4864, allocations: 484.5 kB / 0.5336 GB, free: 35.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4864, allocations: 0 / 0.5336 GB, free: 35.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001583/0.488, allocations: 456.8 kB / 0.534 GB, free: 35.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (asm_ctrl.motor.i[3],asm_ctrl.motor.psi_s[1],asm_ctrl.motor.psi_s[2],asm_ctrl.motor.psi_rd[1],asm_ctrl.motor.psi_rq[1],asm_ctrl.motor.phiRotorflux,loadInertia.w,frictTorq.phi,PI_i_q.I.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,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.000138/0.4881, allocations: 125.6 kB / 0.5342 GB, free: 35.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004255/0.4924, allocations: 2.607 MB / 0.5367 GB, free: 32.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4924, allocations: 256 / 0.5367 GB, free: 32.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009784/0.4934, allocations: 0.9123 MB / 0.5376 GB, free: 31.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.4945, allocations: 257.7 kB / 0.5378 GB, free: 31.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.4981, allocations: 2.406 MB / 0.5402 GB, free: 29.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.4988, allocations: 1.185 MB / 0.5413 GB, free: 28.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006479/0.4994, allocations: 209.4 kB / 0.5415 GB, free: 27.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.4996, allocations: 67.42 kB / 0.5416 GB, free: 27.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4997, allocations: 4 kB / 0.5416 GB, free: 27.79 MB / 382.1 MB Notification: Performance of Templates: time 0.02998/0.5296, allocations: 24.62 MB / 0.5657 GB, free: 3.344 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.pipe 2>&1)