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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 115.5 kB / 17.7 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 188 kB / 18.63 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1806/0.1806, allocations: 37.99 MB / 309.8 MB, free: 5.977 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 67.19 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2722, allocations: 55.23 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005556/0.2778, allocations: 3.452 MB / 435.5 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.2801, allocations: 1.556 MB / 437 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.2805, allocations: 11.94 kB / 437 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.2815, allocations: 251 kB / 437.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007522/0.2823, allocations: 286.9 kB / 437.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.2827, allocations: 127.7 kB / 437.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.2831, allocations: 335 kB / 438 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.2835, allocations: 145.6 kB / 438.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.2838, allocations: 143.4 kB / 438.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.284, allocations: 151.5 kB / 438.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.2841, allocations: 12 kB / 438.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005542/0.2846, allocations: 335.2 kB / 438.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.2848, allocations: 99.77 kB / 438.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.2849, allocations: 107.4 kB / 439 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.2854, allocations: 351 kB / 439.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.2854, allocations: 0 / 439.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.2854, allocations: 0 / 439.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2855, allocations: 0 / 439.3 MB, free: 12.16 MB / 318.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.0007672/0.2862, allocations: 0.5141 MB / 439.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.2863, allocations: 15.89 kB / 439.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.2874, allocations: 100.5 kB / 440 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.2877, allocations: 268.4 kB / 440.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.2878, allocations: 12.38 kB / 440.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.2878, allocations: 24.11 kB / 440.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.2883, allocations: 326.2 kB / 440.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.2883, allocations: 4 kB / 440.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.2884, allocations: 4 kB / 440.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/0.2884, allocations: 19.98 kB / 440.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005471/0.289, allocations: 295.8 kB / 440.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.2904, allocations: 1.285 MB / 442.2 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.2906, allocations: 214.4 kB / 442.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.2907, allocations: 45.7 kB / 442.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.2907, allocations: 4 kB / 442.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.2908, allocations: 34.56 kB / 442.5 MB, free: 8.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.2908, allocations: 0 / 442.5 MB, free: 8.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002873/0.291, allocations: 141.3 kB / 442.6 MB, free: 8.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.2911, allocations: 81.09 kB / 442.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.2913, allocations: 215.6 kB / 442.9 MB, free: 8.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2913, allocations: 29.7 kB / 442.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.2914, allocations: 167.6 kB / 443.1 MB, free: 8.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.2914, allocations: 27.56 kB / 443.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.2915, allocations: 49.73 kB / 443.2 MB, free: 8.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.2916, allocations: 326.8 kB / 443.5 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.235e-05/0.2917, allocations: 39.97 kB / 443.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.2918, allocations: 140.7 kB / 443.7 MB, free: 7.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.292, allocations: 192.7 kB / 443.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.292, allocations: 8 kB / 443.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002363/0.2922, allocations: 201.1 kB / 444.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2922, allocations: 8.469 kB / 444.1 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2923, allocations: 8.375 kB / 444.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.2923, allocations: 8 kB / 444.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.2925, allocations: 43.97 kB / 444.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.2925, allocations: 11.92 kB / 444.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.2926, allocations: 31.62 kB / 444.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.2926, allocations: 8 kB / 444.2 MB, free: 6.902 MB / 318.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 0.0001641/0.2928, allocations: 157.7 kB / 444.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.2928, allocations: 15.81 kB / 444.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.2931, allocations: 123 kB / 444.5 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2931, allocations: 4 kB / 444.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2931, allocations: 4 kB / 444.5 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2931, allocations: 0 / 444.5 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006196/0.2937, allocations: 0.572 MB / 445 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2937, allocations: 0 / 445 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.2938, allocations: 19.98 kB / 445.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.2938, allocations: 7.938 kB / 445.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.2939, allocations: 11.94 kB / 445.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2939, allocations: 7.938 kB / 445.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2939, allocations: 4 kB / 445.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.2941, allocations: 276.2 kB / 445.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.2942, allocations: 100.9 kB / 445.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.2942, allocations: 7.938 kB / 445.5 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2943, allocations: 8 kB / 445.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.2943, allocations: 7.984 kB / 445.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.2943, allocations: 12 kB / 445.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.2945, allocations: 157.5 kB / 445.6 MB, free: 5.262 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2945, allocations: 0 / 445.6 MB, free: 5.262 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000323/0.2948, allocations: 51.84 kB / 445.7 MB, free: 5.211 MB / 318.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 9.557e-05/0.2949, allocations: 95.25 kB / 445.8 MB, free: 5.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.2951, allocations: 132.3 kB / 445.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2951, allocations: 0 / 445.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.055e-05/0.2952, allocations: 47.84 kB / 446 MB, free: 4.934 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.2956, allocations: 30.61 kB / 446 MB, free: 4.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.2962, allocations: 456 kB / 446.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2964, allocations: 0.7595 MB / 447.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.906e-05/0.2965, allocations: 41.55 kB / 447.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.2966, allocations: 19.44 kB / 447.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2966, allocations: 3.938 kB / 447.3 MB, free: 3.559 MB / 318.1 MB Notification: Performance of Templates: time 0.003835/0.3004, allocations: 1.199 MB / 448.5 MB, free: 2.363 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (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 cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)