Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 114.3 kB / 17.07 MB, free: 6 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.00114/0.00114, allocations: 190.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1814/0.1814, allocations: 37.99 MB / 309.2 MB, free: 5.945 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001414, allocations: 67.91 kB / 431.9 MB, free: 15.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1147, allocations: 55.24 MB / 487.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.008997/0.1238, allocations: 7.196 MB / 494.3 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004725/0.1285, allocations: 3.066 MB / 497.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.129, allocations: 35.81 kB / 497.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.1301, allocations: 377.6 kB / 497.8 MB, free: 13.74 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeBindings: time 0.00126/0.1314, allocations: 0.6334 MB / 498.4 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009165/0.1323, allocations: 431.8 kB / 498.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.134, allocations: 1.493 MB / 0.4886 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.1354, allocations: 1.195 MB / 0.4898 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006992/0.1361, allocations: 0.576 MB / 0.4903 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008147/0.137, allocations: 0.6537 MB / 0.491 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.1371, allocations: 112 kB / 0.4911 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.1377, allocations: 355.5 kB / 0.4914 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.1381, allocations: 395 kB / 0.4918 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005019/0.1386, allocations: 0.5753 MB / 0.4924 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.1402, allocations: 1.69 MB / 0.494 GB, free: 5.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1403, allocations: 0 / 0.494 GB, free: 5.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1403, allocations: 0 / 0.494 GB, free: 5.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.1403, allocations: 0 / 0.494 GB, free: 5.613 MB / 382.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.002583/0.1429, allocations: 1.429 MB / 0.4954 GB, free: 4.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1429, allocations: 11.89 kB / 0.4954 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006875/0.1436, allocations: 163.5 kB / 0.4956 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.1452, allocations: 0.8325 MB / 0.4964 GB, free: 3.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/0.1453, allocations: 65.98 kB / 0.4964 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.1455, allocations: 95.84 kB / 0.4965 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.1474, allocations: 1.149 MB / 0.4977 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.1475, allocations: 11.94 kB / 0.4977 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.744e-05/0.1476, allocations: 39.98 kB / 0.4977 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.937e-05/0.1477, allocations: 57.98 kB / 0.4978 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.1492, allocations: 0.9484 MB / 0.4987 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00584/0.1551, allocations: 4.613 MB / 0.5032 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.1562, allocations: 0.6753 MB / 0.5038 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005643/0.1568, allocations: 340.2 kB / 0.5042 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.1568, allocations: 12.55 kB / 0.5042 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1569, allocations: 51.06 kB / 0.5042 GB, free: 10.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=58): time 2.164e-06/0.1569, allocations: 0 / 0.5042 GB, free: 10.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=62): time 0.004492/0.1614, allocations: 2.339 MB / 0.5065 GB, free: 8.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.1615, allocations: 141.2 kB / 0.5067 GB, free: 8.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007757/0.1623, allocations: 0.6841 MB / 0.5073 GB, free: 7.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.1623, allocations: 33.7 kB / 0.5074 GB, free: 7.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.1627, allocations: 498.8 kB / 0.5078 GB, free: 6.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.1629, allocations: 220.8 kB / 0.508 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.1631, allocations: 146.6 kB / 0.5082 GB, free: 6.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.1633, allocations: 390.7 kB / 0.5086 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/0.1638, allocations: 280.7 kB / 0.5088 GB, free: 5.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.1645, allocations: 0.5082 MB / 0.5093 GB, free: 5.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/0.1679, allocations: 1.509 MB / 0.5108 GB, free: 3.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.1679, allocations: 4 kB / 0.5108 GB, free: 3.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002886/0.1708, allocations: 1.379 MB / 0.5121 GB, free: 2.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1708, allocations: 8.156 kB / 0.5121 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.1708, allocations: 8 kB / 0.5122 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.1723, allocations: 445.5 kB / 0.5126 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/0.1729, allocations: 147.8 kB / 0.5127 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009338/0.1822, allocations: 6.697 MB / 0.5193 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005616/0.1828, allocations: 31.98 kB / 0.5193 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/0.1829, allocations: 39.98 kB / 0.5193 GB, free: 10.52 MB / 414.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.sm_ctrl.rotor.w = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008729/0.1838, allocations: 0.5096 MB / 0.5198 GB, free: 10 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006556/0.1844, allocations: 0.5082 MB / 0.5203 GB, free: 9.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003253/0.1877, allocations: 1.478 MB / 0.5218 GB, free: 7.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.1e-06/0.1877, allocations: 4 kB / 0.5218 GB, free: 7.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.002525/0.1902, allocations: 1.297 MB / 0.523 GB, free: 6.457 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1903, allocations: 8 kB / 0.523 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1903, allocations: 8 kB / 0.5231 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.1916, allocations: 425.6 kB / 0.5235 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.1921, allocations: 139.8 kB / 0.5236 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3/0.4922, allocations: 6.469 MB / 0.5299 GB, free: 48.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.4932, allocations: 34.86 kB / 0.5299 GB, free: 48.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/0.4933, allocations: 34.56 kB / 0.53 GB, free: 48.76 MB / 414.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.sm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (71): * Single equations (assignments): 69 * 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 {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0002919/0.4936, allocations: 230.9 kB / 0.5302 GB, free: 48.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.4938, allocations: 87.66 kB / 0.5303 GB, free: 48.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.4953, allocations: 0.7279 MB / 0.531 GB, free: 48.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4954, allocations: 7.625 kB / 0.531 GB, free: 48.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4954, allocations: 1.375 kB / 0.531 GB, free: 48.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.4954, allocations: 4.703 kB / 0.531 GB, free: 48.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.4985, allocations: 1.758 MB / 0.5327 GB, free: 48.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4985, allocations: 5.594 kB / 0.5327 GB, free: 48.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/0.4992, allocations: 137.1 kB / 0.5329 GB, free: 48.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.4993, allocations: 26.08 kB / 0.5329 GB, free: 48.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/0.4994, allocations: 18.27 kB / 0.5329 GB, free: 48.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000873/0.5002, allocations: 1.388 MB / 0.5343 GB, free: 46.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.5003, allocations: 2.094 kB / 0.5343 GB, free: 46.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.502, allocations: 1.209 MB / 0.5354 GB, free: 46.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.5024, allocations: 212.8 kB / 0.5356 GB, free: 46.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/0.5025, allocations: 14.53 kB / 0.5357 GB, free: 46.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.5029, allocations: 26.48 kB / 0.5357 GB, free: 46.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.503, allocations: 48.53 kB / 0.5357 GB, free: 46.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.5031, allocations: 18.19 kB / 0.5357 GB, free: 46.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006922/0.5038, allocations: 484.1 kB / 0.5362 GB, free: 45.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5038, allocations: 0 / 0.5362 GB, free: 45.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00177/0.5056, allocations: 405.3 kB / 0.5366 GB, free: 45.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (sm_ctrl.motor.i_s[1],sm_ctrl.motor.i_s[2],sm_ctrl.motor.i_s[3],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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,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.0003358/0.5059, allocations: 150.8 kB / 0.5367 GB, free: 45.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004211/0.5101, allocations: 1.973 MB / 0.5387 GB, free: 44.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.5102, allocations: 2.969 kB / 0.5387 GB, free: 44.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.511, allocations: 443.4 kB / 0.5391 GB, free: 44.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.5123, allocations: 226.2 kB / 0.5393 GB, free: 44.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.5162, allocations: 2.082 MB / 0.5413 GB, free: 43.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.5174, allocations: 1.112 MB / 0.5424 GB, free: 42.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007704/0.5182, allocations: 218 kB / 0.5426 GB, free: 42.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.5184, allocations: 68.41 kB / 0.5427 GB, free: 42.73 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5184, allocations: 0 / 0.5427 GB, free: 42.73 MB / 414.1 MB Notification: Performance of Templates: time 0.02638/0.5448, allocations: 17.43 MB / 0.5597 GB, free: 35.15 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe 2>&1)