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.001275/0.001275, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.007484/0.007484, allocations: 158.6 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.9117/0.9117, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2471/0.2471, allocations: 29.41 MB / 290.8 MB, free: 2.41 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.387e-05, allocations: 4.109 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004036/0.00407, allocations: 3.411 MB / 434.9 MB, free: 9.652 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.005674, allocations: 1.449 MB / 436.3 MB, free: 8.195 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.005829, allocations: 7.938 kB / 436.3 MB, free: 8.188 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006647/0.006494, allocations: 250.9 kB / 436.6 MB, free: 7.941 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006001/0.007094, allocations: 282.5 kB / 436.9 MB, free: 7.664 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.007418, allocations: 139.4 kB / 437 MB, free: 7.527 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.007798, allocations: 338.9 kB / 437.3 MB, free: 7.195 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.008075, allocations: 114.1 kB / 437.4 MB, free: 7.086 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.008403, allocations: 207.3 kB / 437.6 MB, free: 6.883 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.008623, allocations: 139.6 kB / 437.8 MB, free: 6.746 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.008646, allocations: 16 kB / 437.8 MB, free: 6.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.009065, allocations: 291 kB / 438.1 MB, free: 6.445 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.009178, allocations: 115.6 kB / 438.2 MB, free: 6.332 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.69e-05/0.009255, allocations: 67.84 kB / 438.3 MB, free: 6.266 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004528/0.009708, allocations: 366.9 kB / 438.6 MB, free: 5.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.009712, allocations: 0 / 438.6 MB, free: 5.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.009714, allocations: 4 kB / 438.6 MB, free: 5.902 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.00972, allocations: 0 / 438.6 MB, free: 5.902 MB / 410.7 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.0005723/0.01029, allocations: 449 kB / 439.1 MB, free: 5.434 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.01033, allocations: 11.98 kB / 439.1 MB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005936/0.01093, allocations: 108.7 kB / 439.2 MB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.01122, allocations: 209.9 kB / 439.4 MB, free: 5.086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.01124, allocations: 16.36 kB / 439.4 MB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.01126, allocations: 16.38 kB / 439.4 MB, free: 5.055 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.01164, allocations: 319.3 kB / 439.7 MB, free: 4.719 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.01165, allocations: 3.938 kB / 439.7 MB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.01168, allocations: 11.98 kB / 439.7 MB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.01171, allocations: 15.98 kB / 439.7 MB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.01203, allocations: 303.7 kB / 440 MB, free: 4.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.01317, allocations: 1.17 MB / 441.2 MB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.01339, allocations: 117.4 kB / 441.3 MB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.01344, allocations: 37.77 kB / 441.4 MB, free: 2.961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.01346, allocations: 0 / 441.4 MB, free: 2.961 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.01348, allocations: 42.55 kB / 441.4 MB, free: 2.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.01348, allocations: 0 / 441.4 MB, free: 2.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002482/0.01373, allocations: 141.4 kB / 441.5 MB, free: 2.766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.01377, allocations: 81.11 kB / 441.6 MB, free: 2.668 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.01419, allocations: 202.2 kB / 441.8 MB, free: 2.461 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.0142, allocations: 25.7 kB / 441.8 MB, free: 2.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.01428, allocations: 171.9 kB / 442 MB, free: 2.258 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.0143, allocations: 39.69 kB / 442.1 MB, free: 2.219 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.01435, allocations: 37.7 kB / 442.1 MB, free: 2.176 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.01443, allocations: 326.8 kB / 442.4 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.756e-05/0.01448, allocations: 39.97 kB / 442.4 MB, free: 1.809 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.25e-05/0.01456, allocations: 136.7 kB / 442.6 MB, free: 1.629 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.01471, allocations: 196.8 kB / 442.8 MB, free: 1.391 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.01472, allocations: 4 kB / 442.8 MB, free: 1.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001924/0.01491, allocations: 201.2 kB / 443 MB, free: 1.184 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01493, allocations: 8.375 kB / 443 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01493, allocations: 4 kB / 443 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01495, allocations: 11.94 kB / 443 MB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.01506, allocations: 47.98 kB / 443 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.01507, allocations: 11.92 kB / 443.1 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.01513, allocations: 19.84 kB / 443.1 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.01514, allocations: 12 kB / 443.1 MB, free: 1.07 MB / 410.7 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 0.0001021/0.01524, allocations: 162.1 kB / 443.2 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.01526, allocations: 11.91 kB / 443.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.01543, allocations: 126.9 kB / 443.4 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01543, allocations: 0 / 443.4 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01544, allocations: 4 kB / 443.4 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01544, allocations: 4 kB / 443.4 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.0159, allocations: 0.4975 MB / 443.9 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01591, allocations: 0 / 443.9 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.01595, allocations: 16 kB / 443.9 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.01595, allocations: 4.312 kB / 443.9 MB, free: 168 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01596, allocations: 8 kB / 443.9 MB, free: 160 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.01597, allocations: 7.984 kB / 443.9 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01597, allocations: 7.938 kB / 443.9 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1901/0.206, allocations: 266.9 kB / 444.2 MB, free: 53.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.2061, allocations: 23.36 kB / 444.2 MB, free: 53.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.2061, allocations: 12.38 kB / 444.2 MB, free: 53.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.2062, allocations: 3.281 kB / 444.2 MB, free: 53.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.2062, allocations: 19.12 kB / 444.2 MB, free: 53.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.2062, allocations: 9.469 kB / 444.3 MB, free: 53.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.752e-05/0.2063, allocations: 137.4 kB / 444.4 MB, free: 53.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2063, allocations: 0 / 444.4 MB, free: 53.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.2066, allocations: 54.58 kB / 444.4 MB, free: 53.92 MB / 410.7 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 9.118e-05/0.2067, allocations: 96.06 kB / 444.5 MB, free: 53.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.2069, allocations: 121.8 kB / 444.7 MB, free: 53.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2069, allocations: 3.969 kB / 444.7 MB, free: 53.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.2069, allocations: 43.56 kB / 444.7 MB, free: 53.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.2072, allocations: 38.19 kB / 444.7 MB, free: 53.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.2077, allocations: 470.3 kB / 445.2 MB, free: 53.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.217e-05/0.2078, allocations: 144.5 kB / 445.3 MB, free: 53.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.2078, allocations: 18.09 kB / 445.4 MB, free: 53.46 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2078, allocations: 0 / 445.4 MB, free: 53.46 MB / 410.7 MB Notification: Performance of Templates: time 0.002541/0.2104, allocations: 2.251 MB / 447.6 MB, free: 53.37 MB / 410.7 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.904677101410925] Failed to read output from testmodel.py, exit status != 0: 0.2163985539227724 0.22322988600000002 0.21199345200000003 Calling exit ...