Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002396/0.002396, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1896/0.1896, allocations: 38.55 MB / 353.2 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 71.89 kB / 493.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3225, allocations: 62.46 MB / 0.5432 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.00948/0.332, allocations: 6.782 MB / 0.5498 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009224/0.3412, allocations: 4.857 MB / 0.5545 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008104/0.342, allocations: 39.72 kB / 0.5546 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01327/0.3553, allocations: 6.479 MB / 0.5609 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.3574, allocations: 0.5559 MB / 0.5614 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.359, allocations: 0.5105 MB / 0.5619 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004049/0.3631, allocations: 2.389 MB / 0.5643 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.3644, allocations: 0.857 MB / 0.5651 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.3656, allocations: 0.6228 MB / 0.5657 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.3668, allocations: 0.7473 MB / 0.5664 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.367, allocations: 104 kB / 0.5665 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007847/0.3677, allocations: 303.7 kB / 0.5668 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.3683, allocations: 0.4987 MB / 0.5673 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005906/0.3689, allocations: 485.8 kB / 0.5678 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.3712, allocations: 1.619 MB / 0.5694 GB, free: 9.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3713, allocations: 0 / 0.5694 GB, free: 9.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3713, allocations: 0 / 0.5694 GB, free: 9.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.139e-05/0.3713, allocations: 0 / 0.5694 GB, free: 9.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003329/0.3746, allocations: 1.44 MB / 0.5708 GB, free: 7.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3747, allocations: 15.98 kB / 0.5708 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008126/0.3755, allocations: 180.1 kB / 0.571 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.3774, allocations: 0.8496 MB / 0.5718 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/0.3775, allocations: 62 kB / 0.5718 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.3777, allocations: 87.94 kB / 0.5719 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.3797, allocations: 1.26 MB / 0.5732 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.3797, allocations: 7.938 kB / 0.5732 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.3798, allocations: 32 kB / 0.5732 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002491/0.3801, allocations: 85.94 kB / 0.5733 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.3818, allocations: 1.003 MB / 0.5743 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007187/0.389, allocations: 4.405 MB / 0.5786 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.39, allocations: 0.5384 MB / 0.5791 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.3906, allocations: 335.2 kB / 0.5794 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.3906, allocations: 12.44 kB / 0.5794 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007233/0.3914, allocations: 444.8 kB / 0.5798 GB, free: 14.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.444e-06/0.3914, allocations: 0 / 0.5798 GB, free: 14.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005167/0.3965, allocations: 2.372 MB / 0.5822 GB, free: 11.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.3966, allocations: 111.5 kB / 0.5823 GB, free: 11.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.3977, allocations: 0.7151 MB / 0.583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/0.3978, allocations: 41.7 kB / 0.583 GB, free: 10.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/0.3983, allocations: 0.5155 MB / 0.5835 GB, free: 10.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.3985, allocations: 253.9 kB / 0.5837 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.3988, allocations: 178.5 kB / 0.5839 GB, free: 9.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002459/0.3991, allocations: 394.8 kB / 0.5843 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/0.3997, allocations: 373.8 kB / 0.5847 GB, free: 9.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009525/0.4007, allocations: 0.6829 MB / 0.5853 GB, free: 8.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.4023, allocations: 1.049 MB / 0.5863 GB, free: 7.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.4023, allocations: 7.938 kB / 0.5864 GB, free: 7.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00331/0.4056, allocations: 1.528 MB / 0.5878 GB, free: 5.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4056, allocations: 8 kB / 0.5879 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.4056, allocations: 12 kB / 0.5879 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.4072, allocations: 494 kB / 0.5883 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.4079, allocations: 167.7 kB / 0.5885 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.4188, allocations: 6.76 MB / 0.5951 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/0.4196, allocations: 51.91 kB / 0.5951 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.4197, allocations: 47.98 kB / 0.5952 GB, free: 13.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0006675/0.4204, allocations: 358 kB / 0.5955 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.4206, allocations: 83.48 kB / 0.5956 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.4227, allocations: 0.9572 MB / 0.5965 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.4227, allocations: 8 kB / 0.5966 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.4227, allocations: 4.062 kB / 0.5966 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.4227, allocations: 7.922 kB / 0.5966 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/0.4268, allocations: 1.752 MB / 0.5983 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4268, allocations: 0 / 0.5983 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/0.4276, allocations: 127.9 kB / 0.5984 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005727/0.4282, allocations: 162.4 kB / 0.5986 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.847e-05/0.4283, allocations: 23.98 kB / 0.5986 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004982/0.4332, allocations: 4.418 MB / 0.6029 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4332, allocations: 7.969 kB / 0.6029 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/0.436, allocations: 1.375 MB / 0.6042 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/0.4365, allocations: 135.4 kB / 0.6044 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.4367, allocations: 27.92 kB / 0.6044 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.4373, allocations: 31.97 kB / 0.6044 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.4374, allocations: 52.34 kB / 0.6045 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/0.4375, allocations: 27.98 kB / 0.6045 GB, free: 3.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007845/0.4383, allocations: 483 kB / 0.605 GB, free: 3.477 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4383, allocations: 0 / 0.605 GB, free: 3.477 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001299/0.4396, allocations: 279.9 kB / 0.6052 GB, free: 3.203 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001897/0.4415, allocations: 0.4958 MB / 0.6057 GB, free: 2.895 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003025/0.4445, allocations: 1.288 MB / 0.607 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.4445, allocations: 0 / 0.607 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.446, allocations: 0.7607 MB / 0.6077 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.4473, allocations: 193.7 kB / 0.6079 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005277/0.4526, allocations: 2.793 MB / 0.6106 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007587/0.4533, allocations: 0.545 MB / 0.6112 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.4537, allocations: 79.41 kB / 0.6112 GB, free: 13.09 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4537, allocations: 4 kB / 0.6112 GB, free: 13.09 MB / 462.1 MB Notification: Performance of Templates: time 0.03358/0.4872, allocations: 23.44 MB / 0.6341 GB, free: 5.664 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.544208264909685] Failed to read output from testmodel.py, exit status != 0: 0.49719706689938903 0.511903872 0.137298377 Calling exit ...