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.001864/0.001864, allocations: 92.31 kB / 20.96 MB, free: 3.465 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.002263/0.002263, allocations: 157.7 kB / 24.27 MB, free: 164 kB / 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 1.498/1.498, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 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.3582/0.3582, allocations: 29.41 MB / 290.5 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 179] 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.773e-06/1.773e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.81e-05, allocations: 6.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005611/0.005639, allocations: 3.423 MB / 372.3 MB, free: 7.863 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.008266, allocations: 1.438 MB / 373.7 MB, free: 6.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.008404, allocations: 7.938 kB / 373.8 MB, free: 6.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009205/0.009325, allocations: 254.8 kB / 374 MB, free: 6.16 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006753/0.01, allocations: 282.7 kB / 374.3 MB, free: 5.883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.01035, allocations: 131.4 kB / 374.4 MB, free: 5.754 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000473/0.01082, allocations: 350.8 kB / 374.7 MB, free: 5.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.01107, allocations: 110.1 kB / 374.9 MB, free: 5.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.01146, allocations: 207.3 kB / 375.1 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.01171, allocations: 143.5 kB / 375.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.01176, allocations: 16 kB / 375.2 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.01224, allocations: 275.1 kB / 375.5 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.01239, allocations: 115.7 kB / 375.6 MB, free: 4.562 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.0125, allocations: 79.83 kB / 375.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.01306, allocations: 362.9 kB / 376 MB, free: 4.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.01307, allocations: 4 kB / 376 MB, free: 4.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01307, allocations: 0 / 376 MB, free: 4.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.01307, allocations: 3.938 kB / 376 MB, free: 4.121 MB / 346.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.0007776/0.01385, allocations: 437.1 kB / 376.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.01389, allocations: 15.97 kB / 376.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.01494, allocations: 160.5 kB / 376.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.01533, allocations: 217.9 kB / 376.8 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.01536, allocations: 24.3 kB / 376.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.0154, allocations: 16.38 kB / 376.9 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005981/0.016, allocations: 327.2 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.01601, allocations: 3.938 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.01604, allocations: 7.984 kB / 377.2 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.01608, allocations: 12 kB / 377.2 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/0.01662, allocations: 307.7 kB / 377.5 MB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.01847, allocations: 1.159 MB / 378.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.01878, allocations: 117.2 kB / 378.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.814e-05/0.01886, allocations: 37.77 kB / 378.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.01887, allocations: 0 / 378.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.01891, allocations: 42.73 kB / 378.9 MB, free: 1.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.01891, allocations: 3.938 kB / 378.9 MB, free: 1.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003427/0.01925, allocations: 141.7 kB / 379 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.01932, allocations: 81.11 kB / 379.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.01956, allocations: 202.2 kB / 379.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.01959, allocations: 25.7 kB / 379.3 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.01973, allocations: 172 kB / 379.5 MB, free: 436 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.01977, allocations: 31.73 kB / 379.5 MB, free: 404 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.01984, allocations: 45.66 kB / 379.6 MB, free: 352 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.02004, allocations: 326.8 kB / 379.9 MB, free: 16 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.02013, allocations: 40.11 kB / 379.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.02032, allocations: 146.9 kB / 380.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.02063, allocations: 196.7 kB / 380.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.02063, allocations: 4 kB / 380.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000505/0.02114, allocations: 217.5 kB / 380.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.02117, allocations: 11.94 kB / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.02117, allocations: 0 / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-05/0.02121, allocations: 8 kB / 380.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.02144, allocations: 43.92 kB / 380.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.02146, allocations: 7.984 kB / 380.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.02162, allocations: 19.89 kB / 380.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.02164, allocations: 11.94 kB / 380.6 MB, free: 15.23 MB / 362.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.0002093/0.02185, allocations: 145.8 kB / 380.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.02193, allocations: 27.83 kB / 380.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.02224, allocations: 127.2 kB / 380.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.02224, allocations: 0 / 380.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.02224, allocations: 0 / 380.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02225, allocations: 0 / 380.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009007/0.02315, allocations: 0.5092 MB / 381.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02315, allocations: 320 / 381.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.02323, allocations: 23.94 kB / 381.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.02324, allocations: 4 kB / 381.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.02325, allocations: 4 kB / 381.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.02326, allocations: 7.984 kB / 381.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02327, allocations: 0 / 381.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.02361, allocations: 283.8 kB / 381.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.02364, allocations: 19.89 kB / 381.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.02367, allocations: 8 kB / 381.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.02378, allocations: 3.938 kB / 381.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.02382, allocations: 23.92 kB / 381.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.02383, allocations: 4 kB / 381.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.02396, allocations: 135.2 kB / 381.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02396, allocations: 0 / 381.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.02433, allocations: 55.89 kB / 381.9 MB, free: 13.74 MB / 362.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 0.0001288/0.02446, allocations: 103.1 kB / 382 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.0247, allocations: 120.3 kB / 382.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.0247, allocations: 0 / 382.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.233e-05/0.02479, allocations: 43.86 kB / 382.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.0252, allocations: 34.55 kB / 382.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.02603, allocations: 437.6 kB / 382.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.02622, allocations: 143.9 kB / 382.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.02633, allocations: 37.45 kB / 382.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.02639, allocations: 20.48 kB / 382.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02639, allocations: 0 / 382.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of Templates: time 0.004335/0.03072, allocations: 1.094 MB / 384 MB, free: 11.66 MB / 362.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.65857945708558]