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.0009641/0.0009641, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001814/0.001814, allocations: 170.5 kB / 25.61 MB, free: 8.578 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.9705/0.9705, allocations: 177.1 MB / 206 MB, free: 4.5 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.1308/0.1308, allocations: 29.42 MB / 292 MB, free: 2.637 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.773e-06/1.773e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.629e-05, allocations: 4.828 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004622/0.004648, allocations: 3.474 MB / 374.3 MB, free: 28.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.005943, allocations: 1.211 MB / 375.5 MB, free: 27.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.006063, allocations: 15.88 kB / 375.6 MB, free: 27.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.006546, allocations: 199.2 kB / 375.8 MB, free: 27.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004229/0.006969, allocations: 290.5 kB / 376 MB, free: 27.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.007187, allocations: 123.5 kB / 376.2 MB, free: 26.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.007442, allocations: 338.9 kB / 376.5 MB, free: 26.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.007635, allocations: 114.1 kB / 376.6 MB, free: 26.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.007872, allocations: 207.3 kB / 376.8 MB, free: 26.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.008058, allocations: 147.5 kB / 376.9 MB, free: 26.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.008078, allocations: 16 kB / 377 MB, free: 26.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.008366, allocations: 279.1 kB / 377.2 MB, free: 25.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.743e-05/0.008443, allocations: 103.7 kB / 377.3 MB, free: 25.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.0085, allocations: 79.81 kB / 377.4 MB, free: 25.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.008794, allocations: 303.1 kB / 377.7 MB, free: 25.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.008797, allocations: 4 kB / 377.7 MB, free: 25.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008798, allocations: 0 / 377.7 MB, free: 25.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.008806, allocations: 0 / 377.7 MB, free: 25.43 MB / 314.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.0003982/0.009204, allocations: 0.5499 MB / 378.3 MB, free: 24.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.009236, allocations: 12.03 kB / 378.3 MB, free: 24.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004884/0.009724, allocations: 132.6 kB / 378.4 MB, free: 24.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.009916, allocations: 200.8 kB / 378.6 MB, free: 24.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.00993, allocations: 16.38 kB / 378.6 MB, free: 24.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.009948, allocations: 20.36 kB / 378.6 MB, free: 24.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.01014, allocations: 216.2 kB / 378.8 MB, free: 24.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.01015, allocations: 7.938 kB / 378.9 MB, free: 24.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.01016, allocations: 12 kB / 378.9 MB, free: 24.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.01019, allocations: 12 kB / 378.9 MB, free: 24.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.01031, allocations: 99.83 kB / 379 MB, free: 24.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.01102, allocations: 1.274 MB / 380.3 MB, free: 22.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.01115, allocations: 110.1 kB / 380.4 MB, free: 22.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.01118, allocations: 27.42 kB / 380.4 MB, free: 22.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.01119, allocations: 8 kB / 380.4 MB, free: 22.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.01121, allocations: 37.33 kB / 380.4 MB, free: 22.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.01121, allocations: 0 / 380.4 MB, free: 22.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001489/0.01136, allocations: 101.6 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.01138, allocations: 81.11 kB / 380.6 MB, free: 22.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.01146, allocations: 239.1 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.01147, allocations: 29.83 kB / 380.9 MB, free: 22.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.01152, allocations: 234.6 kB / 381.1 MB, free: 21.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.01154, allocations: 31.73 kB / 381.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.01158, allocations: 51.31 kB / 381.2 MB, free: 21.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.01162, allocations: 0.5001 MB / 381.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.01164, allocations: 15.98 kB / 381.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.276e-05/0.01169, allocations: 151.2 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.5e-05/0.01179, allocations: 191.1 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01179, allocations: 4 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001321/0.01192, allocations: 165.2 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.01193, allocations: 4 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01194, allocations: 4 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.01195, allocations: 11.92 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.01203, allocations: 44.36 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01204, allocations: 12 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.668e-05/0.01209, allocations: 19.89 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.0121, allocations: 11.98 kB / 382.3 MB, free: 20.42 MB / 314.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 5.389e-05/0.01216, allocations: 172.5 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.01218, allocations: 19.94 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.599e-05/0.01228, allocations: 87.03 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01228, allocations: 7.938 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01228, allocations: 0 / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01228, allocations: 0 / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.01258, allocations: 474.8 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01258, allocations: 4 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.01261, allocations: 19.98 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.01262, allocations: 8 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.01263, allocations: 8 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.01263, allocations: 4 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01263, allocations: 4.312 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.01275, allocations: 332.5 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.01277, allocations: 19.84 kB / 383.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.01278, allocations: 8 kB / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.293e-05/0.01283, allocations: 4 kB / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.01285, allocations: 23.86 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.01286, allocations: 7.984 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.851e-05/0.0129, allocations: 159.1 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0129, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.01311, allocations: 55.89 kB / 383.7 MB, free: 18.88 MB / 314.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 5.693e-05/0.01316, allocations: 99.19 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.984e-05/0.01326, allocations: 83.45 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01327, allocations: 4 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.0133, allocations: 44.97 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01354, allocations: 36.03 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.01416, allocations: 464.1 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.0142, allocations: 95.95 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.793e-05/0.01425, allocations: 17.48 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.0143, allocations: 90.19 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.0143, allocations: 0 / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of Templates: time 0.002621/0.01692, allocations: 1.196 MB / 385.8 MB, free: 16.68 MB / 314.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.118358268868178]