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.001532/0.001532, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001795/0.001795, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.1825/0.1825, allocations: 38.52 MB / 353.2 MB, free: 12.52 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.002099/0.002099, allocations: 67.89 kB / 493.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2995, allocations: 62.46 MB / 0.5432 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009204/0.3087, allocations: 7.341 MB / 0.5504 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008689/0.3174, allocations: 5.337 MB / 0.5556 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007314/0.3181, allocations: 40.31 kB / 0.5557 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01297/0.3311, allocations: 6.605 MB / 0.5621 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.3329, allocations: 0.5637 MB / 0.5627 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.3345, allocations: 0.499 MB / 0.5631 GB, free: 8 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003779/0.3383, allocations: 2.397 MB / 0.5655 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.3398, allocations: 0.8726 MB / 0.5663 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.341, allocations: 0.6189 MB / 0.5669 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.3425, allocations: 0.7786 MB / 0.5677 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003203/0.3428, allocations: 104 kB / 0.5678 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008775/0.3437, allocations: 327.6 kB / 0.5681 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006672/0.3443, allocations: 0.4986 MB / 0.5686 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.3453, allocations: 0.5831 MB / 0.5692 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002377/0.3477, allocations: 1.603 MB / 0.5707 GB, free: 8.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3477, allocations: 0 / 0.5707 GB, free: 8.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3477, allocations: 0 / 0.5707 GB, free: 8.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.87e-05/0.3478, allocations: 0 / 0.5707 GB, free: 8.195 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.003578/0.3514, allocations: 1.446 MB / 0.5721 GB, free: 6.711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3514, allocations: 11.98 kB / 0.5722 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008402/0.3522, allocations: 188.1 kB / 0.5723 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.3542, allocations: 0.8379 MB / 0.5732 GB, free: 5.648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.215e-05/0.3543, allocations: 65.98 kB / 0.5732 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.3545, allocations: 91.92 kB / 0.5733 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.3565, allocations: 1.223 MB / 0.5745 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.3566, allocations: 8 kB / 0.5745 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.963e-05/0.3567, allocations: 31.98 kB / 0.5745 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/0.3569, allocations: 101.9 kB / 0.5746 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.3586, allocations: 1.003 MB / 0.5756 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007483/0.3661, allocations: 4.739 MB / 0.5802 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.3671, allocations: 0.542 MB / 0.5808 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005884/0.3677, allocations: 331.1 kB / 0.5811 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/0.3677, allocations: 4.5 kB / 0.5811 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007331/0.3685, allocations: 456.1 kB / 0.5815 GB, free: 12.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.435e-06/0.3685, allocations: 0 / 0.5815 GB, free: 12.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.00498/0.3735, allocations: 2.383 MB / 0.5839 GB, free: 10.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.3735, allocations: 107.5 kB / 0.584 GB, free: 10.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3746, allocations: 0.7663 MB / 0.5847 GB, free: 9.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-05/0.3747, allocations: 41.7 kB / 0.5847 GB, free: 9.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.3751, allocations: 0.5116 MB / 0.5852 GB, free: 8.879 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.3754, allocations: 245.9 kB / 0.5855 GB, free: 8.637 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.3757, allocations: 182.5 kB / 0.5857 GB, free: 8.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.3759, allocations: 402.7 kB / 0.586 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.3765, allocations: 377.7 kB / 0.5864 GB, free: 7.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008741/0.3774, allocations: 0.6577 MB / 0.587 GB, free: 6.895 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.3789, allocations: 1.053 MB / 0.5881 GB, free: 5.719 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.3789, allocations: 4 kB / 0.5881 GB, free: 5.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003378/0.3823, allocations: 1.544 MB / 0.5896 GB, free: 4.156 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.3823, allocations: 8 kB / 0.5896 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.3823, allocations: 8 kB / 0.5896 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/0.384, allocations: 490.3 kB / 0.5901 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006642/0.3846, allocations: 167.7 kB / 0.5902 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.3951, allocations: 6.881 MB / 0.5969 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/0.3958, allocations: 56.11 kB / 0.597 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.396, allocations: 44 kB / 0.597 GB, free: 12.28 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.0006298/0.3966, allocations: 353.4 kB / 0.5974 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.3968, allocations: 91.44 kB / 0.5975 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.3988, allocations: 0.9615 MB / 0.5984 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.3988, allocations: 8 kB / 0.5984 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3988, allocations: 4 kB / 0.5984 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3988, allocations: 0 / 0.5984 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003917/0.4027, allocations: 1.946 MB / 0.6003 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.4027, allocations: 0 / 0.6003 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007237/0.4034, allocations: 123.8 kB / 0.6004 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005379/0.404, allocations: 162.4 kB / 0.6006 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.404, allocations: 23.98 kB / 0.6006 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004532/0.4086, allocations: 4.502 MB / 0.605 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4086, allocations: 4.031 kB / 0.605 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.4109, allocations: 1.383 MB / 0.6064 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/0.4113, allocations: 139.4 kB / 0.6065 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.4115, allocations: 20 kB / 0.6065 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.412, allocations: 39.91 kB / 0.6065 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.4121, allocations: 52.34 kB / 0.6066 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.4122, allocations: 27.92 kB / 0.6066 GB, free: 1.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007951/0.413, allocations: 0.5224 MB / 0.6071 GB, free: 1.453 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.413, allocations: 0 / 0.6071 GB, free: 1.453 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001177/0.4142, allocations: 279.9 kB / 0.6074 GB, free: 1.18 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.001641/0.4158, allocations: 483.2 kB / 0.6079 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002605/0.4184, allocations: 1.279 MB / 0.6091 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4184, allocations: 1.438 kB / 0.6091 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.4197, allocations: 0.7683 MB / 0.6099 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.4208, allocations: 210.1 kB / 0.6101 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/0.4256, allocations: 2.815 MB / 0.6128 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009646/0.4266, allocations: 1.147 MB / 0.6139 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.4269, allocations: 79.41 kB / 0.614 GB, free: 10.43 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4269, allocations: 0 / 0.614 GB, free: 10.43 MB / 462.1 MB Notification: Performance of Templates: time 0.03371/0.4606, allocations: 23.48 MB / 0.6369 GB, free: 2.98 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.271875290200114] Failed to read output from testmodel.py, exit status != 0: 0.4704810760449618 0.48522065 0.134229587 Calling exit ...