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.001944/0.001944, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002556/0.002556, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.615/1.615, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1846/0.1846, allocations: 38.56 MB / 352.5 MB, free: 12.39 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.002176/0.002176, allocations: 78.33 kB / 493 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3399, allocations: 62.46 MB / 0.5424 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009984/0.3499, allocations: 6.785 MB / 0.5491 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.3603, allocations: 4.845 MB / 0.5538 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.3621, allocations: 47.53 kB / 0.5538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0159/0.378, allocations: 6.482 MB / 0.5602 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.3799, allocations: 0.552 MB / 0.5607 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.3815, allocations: 0.5066 MB / 0.5612 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004386/0.3859, allocations: 2.386 MB / 0.5635 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.3873, allocations: 0.857 MB / 0.5644 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.3885, allocations: 0.6267 MB / 0.565 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.3898, allocations: 0.7551 MB / 0.5657 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.39, allocations: 100 kB / 0.5658 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009034/0.3909, allocations: 303.7 kB / 0.5661 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005625/0.3915, allocations: 0.4948 MB / 0.5666 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006073/0.3921, allocations: 489.8 kB / 0.5671 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.3943, allocations: 1.611 MB / 0.5686 GB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3943, allocations: 0 / 0.5686 GB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3943, allocations: 4 kB / 0.5686 GB, free: 9.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.3943, allocations: 0 / 0.5686 GB, free: 9.453 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.00329/0.3976, allocations: 1.442 MB / 0.57 GB, free: 7.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3977, allocations: 15.92 kB / 0.5701 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008457/0.3985, allocations: 188.1 kB / 0.5702 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.4005, allocations: 0.8379 MB / 0.5711 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/0.4005, allocations: 61.98 kB / 0.5711 GB, free: 6.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.4007, allocations: 87.95 kB / 0.5712 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.4027, allocations: 1.26 MB / 0.5724 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.4028, allocations: 4 kB / 0.5724 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.511e-05/0.4029, allocations: 39.92 kB / 0.5725 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002436/0.4031, allocations: 93.88 kB / 0.5726 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.4048, allocations: 0.9991 MB / 0.5735 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007433/0.4123, allocations: 4.401 MB / 0.5778 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.4133, allocations: 0.5385 MB / 0.5784 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.4139, allocations: 327.1 kB / 0.5787 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.08e-05/0.414, allocations: 8.594 kB / 0.5787 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000778/0.4148, allocations: 456.6 kB / 0.5791 GB, free: 14.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.434e-06/0.4148, allocations: 0 / 0.5791 GB, free: 14.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005066/0.4198, allocations: 2.363 MB / 0.5814 GB, free: 11.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.4199, allocations: 115.5 kB / 0.5815 GB, free: 11.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009985/0.4209, allocations: 0.7191 MB / 0.5822 GB, free: 11.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.421, allocations: 37.7 kB / 0.5823 GB, free: 11.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.4214, allocations: 0.5194 MB / 0.5828 GB, free: 10.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.4217, allocations: 249.8 kB / 0.583 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000295/0.422, allocations: 190.5 kB / 0.5832 GB, free: 10.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.4222, allocations: 390.8 kB / 0.5836 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006372/0.4228, allocations: 377.8 kB / 0.5839 GB, free: 9.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009135/0.4238, allocations: 0.6751 MB / 0.5846 GB, free: 8.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.4253, allocations: 1.049 MB / 0.5856 GB, free: 7.344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.4253, allocations: 8 kB / 0.5856 GB, free: 7.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003141/0.4284, allocations: 1.532 MB / 0.5871 GB, free: 5.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.4285, allocations: 12 kB / 0.5871 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.4285, allocations: 8 kB / 0.5871 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.4301, allocations: 486.3 kB / 0.5876 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.4308, allocations: 175.7 kB / 0.5878 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.4415, allocations: 6.746 MB / 0.5944 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008088/0.4423, allocations: 55.98 kB / 0.5944 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/0.4424, allocations: 51.92 kB / 0.5945 GB, free: 14.05 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.0006323/0.443, allocations: 354.1 kB / 0.5948 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.4431, allocations: 87.48 kB / 0.5949 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.4451, allocations: 0.9572 MB / 0.5958 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.4451, allocations: 8 kB / 0.5958 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4451, allocations: 7.938 kB / 0.5958 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4451, allocations: 0 / 0.5958 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/0.4487, allocations: 1.756 MB / 0.5975 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4487, allocations: 0 / 0.5975 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007484/0.4494, allocations: 123.8 kB / 0.5977 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005851/0.45, allocations: 158.3 kB / 0.5978 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/0.4501, allocations: 23.98 kB / 0.5978 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004817/0.4549, allocations: 4.426 MB / 0.6022 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.4549, allocations: 8 kB / 0.6022 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.4574, allocations: 1.379 MB / 0.6035 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/0.4579, allocations: 135.4 kB / 0.6036 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.458, allocations: 19.92 kB / 0.6037 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.4584, allocations: 31.98 kB / 0.6037 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.4586, allocations: 56.39 kB / 0.6037 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.727e-05/0.4586, allocations: 23.98 kB / 0.6038 GB, free: 4.082 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007789/0.4594, allocations: 483 kB / 0.6042 GB, free: 3.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4594, allocations: 0 / 0.6042 GB, free: 3.613 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001352/0.4608, allocations: 283.9 kB / 0.6045 GB, free: 3.336 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.001929/0.4627, allocations: 0.4909 MB / 0.605 GB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002695/0.4654, allocations: 1.279 MB / 0.6062 GB, free: 1.723 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4654, allocations: 0 / 0.6062 GB, free: 1.723 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.4667, allocations: 0.7694 MB / 0.607 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.4678, allocations: 194.5 kB / 0.6072 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.4724, allocations: 2.717 MB / 0.6098 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.4731, allocations: 0.5489 MB / 0.6104 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006782/0.4738, allocations: 218.9 kB / 0.6106 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.474, allocations: 71.41 kB / 0.6106 GB, free: 13.09 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.474, allocations: 0 / 0.6106 GB, free: 13.09 MB / 462.1 MB Notification: Performance of Templates: time 0.02994/0.5039, allocations: 15.31 MB / 0.6256 GB, free: 13.97 MB / 478.1 MB " [Timeout remaining time 659] 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: 5.9766864366829395] Failed to read output from testmodel.py, exit status != 0: 0.5139061491936445 0.529682235 0.131813135 Calling exit ...