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.001314/0.001314, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001469/0.001469, allocations: 161 kB / 24.56 MB, free: 16 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.042/1.042, allocations: 177.1 MB / 205 MB, free: 5.629 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.2699/0.2699, allocations: 29.42 MB / 290.9 MB, free: 2.484 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.833e-06/1.833e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.087e-05, allocations: 5.484 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004665/0.004696, allocations: 3.48 MB / 373.1 MB, free: 7.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.006591, allocations: 1.234 MB / 374.3 MB, free: 6.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.006756, allocations: 7.938 kB / 374.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007059/0.007462, allocations: 203.1 kB / 374.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006968/0.008159, allocations: 286.6 kB / 374.8 MB, free: 5.773 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.008527, allocations: 123.5 kB / 374.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000465/0.008992, allocations: 342.8 kB / 375.3 MB, free: 5.316 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.009285, allocations: 118 kB / 375.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.009683, allocations: 199.4 kB / 375.6 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.009991, allocations: 143.6 kB / 375.7 MB, free: 4.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.01002, allocations: 12 kB / 375.7 MB, free: 4.855 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.01053, allocations: 279.2 kB / 376 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.01067, allocations: 115.7 kB / 376.1 MB, free: 4.469 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.948e-05/0.01076, allocations: 71.84 kB / 376.2 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.01129, allocations: 310.9 kB / 376.5 MB, free: 4.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01129, allocations: 0 / 376.5 MB, free: 4.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01129, allocations: 0 / 376.5 MB, free: 4.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.0113, allocations: 0 / 376.5 MB, free: 4.094 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.0006657/0.01196, allocations: 0.5423 MB / 377 MB, free: 3.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.012, allocations: 11.98 kB / 377.1 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007965/0.0128, allocations: 148.6 kB / 377.2 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.01313, allocations: 212.8 kB / 377.4 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.01315, allocations: 16.36 kB / 377.4 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.01319, allocations: 20.38 kB / 377.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.01356, allocations: 228.3 kB / 377.7 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.01357, allocations: 3.938 kB / 377.7 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.0136, allocations: 11.98 kB / 377.7 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/0.01364, allocations: 23.97 kB / 377.7 MB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.01393, allocations: 131.8 kB / 377.8 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.01535, allocations: 1.328 MB / 379.2 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.01559, allocations: 106.2 kB / 379.3 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.01564, allocations: 39.42 kB / 379.3 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.01567, allocations: 0 / 379.3 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.0157, allocations: 41.52 kB / 379.3 MB, free: 1.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.0157, allocations: 0 / 379.3 MB, free: 1.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002716/0.01597, allocations: 105.7 kB / 379.4 MB, free: 0.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.01602, allocations: 77.11 kB / 379.5 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.01621, allocations: 249.5 kB / 379.8 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.01622, allocations: 25.7 kB / 379.8 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.01633, allocations: 226.7 kB / 380 MB, free: 312 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.01636, allocations: 35.81 kB / 380 MB, free: 276 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.01642, allocations: 51.38 kB / 380.1 MB, free: 216 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.01659, allocations: 0.5001 MB / 380.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.01664, allocations: 15.98 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.01676, allocations: 159.2 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.01695, allocations: 199.1 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.01695, allocations: 4 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002598/0.01721, allocations: 181.2 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.01723, allocations: 7.938 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.01724, allocations: 4 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.01726, allocations: 4 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.0174, allocations: 47.92 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.01741, allocations: 7.938 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.01752, allocations: 31.77 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.01753, allocations: 12.34 kB / 381.3 MB, free: 14.91 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.000115/0.01765, allocations: 172.5 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.01769, allocations: 15.91 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.01787, allocations: 95.06 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01787, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.01788, allocations: 8 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01788, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.01846, allocations: 0.5101 MB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.01847, allocations: 4 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.01853, allocations: 23.92 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.01854, allocations: 4 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.01855, allocations: 4 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.01855, allocations: 0 / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.01856, allocations: 7.984 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.0188, allocations: 336.8 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.01883, allocations: 19.91 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.01886, allocations: 11.98 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.01895, allocations: 7.938 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.01898, allocations: 15.92 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.01899, allocations: 8 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.722e-05/0.01909, allocations: 159.2 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01909, allocations: 0 / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004035/0.01949, allocations: 59.83 kB / 382.7 MB, free: 13.3 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.0001077/0.0196, allocations: 103.2 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.01979, allocations: 98.11 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01979, allocations: 0 / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.484e-05/0.01986, allocations: 40.86 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.02024, allocations: 38.09 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.0214, allocations: 467.1 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.275e-05/0.02148, allocations: 95.83 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.376e-05/0.02157, allocations: 33.45 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.02161, allocations: 16.5 kB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02161, allocations: 0 / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of Templates: time 0.003713/0.02533, allocations: 1.087 MB / 384.7 MB, free: 11.26 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.107531287241727]