Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.001281/0.001281, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001436/0.001436, allocations: 161.9 kB / 24.5 MB, free: 3.711 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.473/1.473, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.1744/0.1744, allocations: 29.43 MB / 290.7 MB, free: 3.262 MB / 270.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.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") [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.002134/0.002134, allocations: 63.91 kB / 431.2 MB, free: 3.23 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.363, allocations: 62.45 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004649/0.3676, allocations: 3.43 MB / 497.1 MB, free: 35.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.3697, allocations: 1.436 MB / 498.5 MB, free: 34.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.3698, allocations: 10.38 kB / 498.5 MB, free: 34.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007853/0.3706, allocations: 255.4 kB / 498.8 MB, free: 34.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005318/0.3712, allocations: 278 kB / 499 MB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.3714, allocations: 134.4 kB / 499.2 MB, free: 34.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.3718, allocations: 331.8 kB / 499.5 MB, free: 33.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.372, allocations: 129.8 kB / 499.6 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.3723, allocations: 159.1 kB / 499.8 MB, free: 33.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.3725, allocations: 153.6 kB / 499.9 MB, free: 33.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.3726, allocations: 12.97 kB / 499.9 MB, free: 33.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.373, allocations: 282.4 kB / 0.4885 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.3731, allocations: 104 kB / 0.4886 GB, free: 33.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.443e-05/0.3732, allocations: 85.23 kB / 0.4887 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.3736, allocations: 349.3 kB / 0.489 GB, free: 33.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3736, allocations: 0 / 0.489 GB, free: 33.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3736, allocations: 0 / 0.489 GB, free: 33.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3737, allocations: 0 / 0.489 GB, free: 33.5 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005803/0.3742, allocations: 469.3 kB / 0.4894 GB, free: 33.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3743, allocations: 17.23 kB / 0.4895 GB, free: 33.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008733/0.3751, allocations: 101.3 kB / 0.4896 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.3754, allocations: 207.6 kB / 0.4897 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3754, allocations: 14.91 kB / 0.4898 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.3755, allocations: 24.75 kB / 0.4898 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.3759, allocations: 326.6 kB / 0.4901 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3759, allocations: 0 / 0.4901 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.3759, allocations: 7.312 kB / 0.4901 GB, free: 32.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.3759, allocations: 16.17 kB / 0.4901 GB, free: 32.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.3763, allocations: 303.5 kB / 0.4904 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.3776, allocations: 1.163 MB / 0.4915 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.3778, allocations: 121.8 kB / 0.4917 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.3779, allocations: 43.36 kB / 0.4917 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.3779, allocations: 0 / 0.4917 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.3779, allocations: 41.5 kB / 0.4917 GB, free: 31.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.3779, allocations: 0 / 0.4917 GB, free: 31.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002524/0.3782, allocations: 138.2 kB / 0.4919 GB, free: 31.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.3782, allocations: 80.11 kB / 0.492 GB, free: 31.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.3783, allocations: 206 kB / 0.4921 GB, free: 31.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.3783, allocations: 25.7 kB / 0.4922 GB, free: 31.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.3784, allocations: 178.4 kB / 0.4923 GB, free: 31.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.3784, allocations: 34.53 kB / 0.4924 GB, free: 31.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.3785, allocations: 44.5 kB / 0.4924 GB, free: 31.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.3785, allocations: 328.6 kB / 0.4927 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.546e-05/0.3786, allocations: 37.38 kB / 0.4928 GB, free: 30.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.633e-05/0.3787, allocations: 143.1 kB / 0.4929 GB, free: 30.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.3788, allocations: 188.9 kB / 0.4931 GB, free: 30.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3788, allocations: 0 / 0.4931 GB, free: 30.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002304/0.3791, allocations: 210.8 kB / 0.4933 GB, free: 30.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3791, allocations: 9.422 kB / 0.4933 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3791, allocations: 6.031 kB / 0.4933 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3791, allocations: 3.281 kB / 0.4933 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.3793, allocations: 51.88 kB / 0.4934 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3793, allocations: 9.594 kB / 0.4934 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.914e-05/0.3794, allocations: 22.19 kB / 0.4934 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.3794, allocations: 13.53 kB / 0.4934 GB, free: 30.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.67e-05/0.3795, allocations: 151.2 kB / 0.4935 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.3795, allocations: 14.02 kB / 0.4936 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.3797, allocations: 125.1 kB / 0.4937 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3797, allocations: 0 / 0.4937 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3797, allocations: 0 / 0.4937 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3797, allocations: 3.156 kB / 0.4937 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.3802, allocations: 0.4988 MB / 0.4942 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3802, allocations: 3.062 kB / 0.4942 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.754e-05/0.3802, allocations: 18.77 kB / 0.4942 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3802, allocations: 3.031 kB / 0.4942 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3803, allocations: 11.03 kB / 0.4942 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3803, allocations: 10.31 kB / 0.4942 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3803, allocations: 11.03 kB / 0.4942 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.3804, allocations: 276.3 kB / 0.4945 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.3805, allocations: 16.91 kB / 0.4945 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3805, allocations: 9.938 kB / 0.4945 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3806, allocations: 3.156 kB / 0.4945 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.3806, allocations: 21.27 kB / 0.4945 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.3806, allocations: 6.438 kB / 0.4945 GB, free: 29.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.422e-05/0.3807, allocations: 138.8 kB / 0.4947 GB, free: 29.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3807, allocations: 0 / 0.4947 GB, free: 29.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.381, allocations: 60.89 kB / 0.4947 GB, free: 29.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.86e-05/0.3811, allocations: 92.09 kB / 0.4948 GB, free: 29.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.3813, allocations: 119.7 kB / 0.4949 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3813, allocations: 0 / 0.4949 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.3813, allocations: 53.77 kB / 0.495 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.3817, allocations: 39.33 kB / 0.495 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.3822, allocations: 437.6 kB / 0.4954 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.3823, allocations: 147.2 kB / 0.4956 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.1e-05/0.3824, allocations: 34.83 kB / 0.4956 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.3825, allocations: 21.59 kB / 0.4956 GB, free: 28.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3825, allocations: 0 / 0.4956 GB, free: 28.65 MB / 446.1 MB Notification: Performance of Templates: time 0.003537/0.386, allocations: 1.059 MB / 0.4967 GB, free: 28.49 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.924712568055838] Failed to read output from testmodel.py, exit status != 0: 0.39411549898795784 0.402769509 0.026550779 Calling exit ...