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.001117/0.001117, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001134/0.001134, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2763/0.2763, allocations: 29.42 MB / 291.2 MB, free: 2.418 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.663e-06/1.663e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.817e-05, allocations: 9.688 kB / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003502/0.00353, allocations: 3.574 MB / 373.2 MB, free: 7.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.005256, allocations: 1.523 MB / 374.7 MB, free: 6.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.005377, allocations: 11.94 kB / 374.7 MB, free: 6.164 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.006029, allocations: 251 kB / 375 MB, free: 5.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005001/0.006529, allocations: 286.5 kB / 375.3 MB, free: 5.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.006786, allocations: 131.5 kB / 375.4 MB, free: 5.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.007068, allocations: 350.9 kB / 375.7 MB, free: 5.164 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.007318, allocations: 106.1 kB / 375.8 MB, free: 5.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.007603, allocations: 203.3 kB / 376 MB, free: 4.863 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.007806, allocations: 143.6 kB / 376.2 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.007828, allocations: 12 kB / 376.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.008157, allocations: 294.9 kB / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.008251, allocations: 111.7 kB / 376.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.008336, allocations: 75.83 kB / 376.7 MB, free: 4.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.008752, allocations: 303.1 kB / 376.9 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.00876, allocations: 0 / 376.9 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.008762, allocations: 0 / 376.9 MB, free: 3.941 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.00877, allocations: 0 / 376.9 MB, free: 3.941 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.0006645/0.009434, allocations: 0.55 MB / 377.5 MB, free: 3.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.009474, allocations: 11.98 kB / 377.5 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006317/0.01011, allocations: 148.5 kB / 377.7 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.01037, allocations: 216.8 kB / 377.9 MB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.01038, allocations: 12.38 kB / 377.9 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.01041, allocations: 16.38 kB / 377.9 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.01071, allocations: 236.3 kB / 378.1 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.01072, allocations: 3.938 kB / 378.1 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.01074, allocations: 8 kB / 378.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/0.01078, allocations: 19.98 kB / 378.2 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.01099, allocations: 131.8 kB / 378.3 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.01212, allocations: 1.316 MB / 379.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.01233, allocations: 118.3 kB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.01238, allocations: 35.44 kB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.0124, allocations: 0 / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.01243, allocations: 37.39 kB / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.01243, allocations: 0 / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002327/0.01266, allocations: 109.7 kB / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.0127, allocations: 77.11 kB / 380 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.01285, allocations: 253.5 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.01286, allocations: 25.7 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.01295, allocations: 234.6 kB / 380.5 MB, free: 144 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.01297, allocations: 31.7 kB / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.01301, allocations: 51.48 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.01315, allocations: 0.4962 MB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.01319, allocations: 19.98 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.343e-05/0.01328, allocations: 158.1 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.01342, allocations: 203.1 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01343, allocations: 4 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000333/0.01376, allocations: 173.3 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01378, allocations: 7.938 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.01379, allocations: 4 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.01381, allocations: 4 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.01392, allocations: 51.91 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.01393, allocations: 8 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.01398, allocations: 15.91 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.014, allocations: 20 kB / 381.7 MB, free: 14.76 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 8.814e-05/0.01409, allocations: 172.8 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.01411, allocations: 19.89 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.01425, allocations: 99.02 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01426, allocations: 0 / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01426, allocations: 0 / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01426, allocations: 0 / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.01471, allocations: 0.5102 MB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.01472, allocations: 4 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.01475, allocations: 16 kB / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.01476, allocations: 4 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01477, allocations: 7.984 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01477, allocations: 11.88 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.01478, allocations: 4 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.01496, allocations: 336.1 kB / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.01498, allocations: 23.94 kB / 382.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.015, allocations: 8 kB / 382.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.11e-05/0.01509, allocations: 7.984 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.01512, allocations: 19.91 kB / 382.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.01513, allocations: 11.98 kB / 382.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.01524, allocations: 163.2 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01524, allocations: 0 / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003033/0.01554, allocations: 55.84 kB / 383.2 MB, free: 13.15 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 9.262e-05/0.01563, allocations: 95.25 kB / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.01579, allocations: 107.3 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01579, allocations: 0 / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.01583, allocations: 41.05 kB / 383.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.01611, allocations: 27.98 kB / 383.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000937/0.01705, allocations: 459.6 kB / 383.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.01711, allocations: 99.81 kB / 384 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.093e-05/0.01718, allocations: 33.45 kB / 384 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.01721, allocations: 16.5 kB / 384 MB, free: 12.17 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01721, allocations: 0 / 384 MB, free: 12.17 MB / 362.7 MB Notification: Performance of Templates: time 0.003089/0.0203, allocations: 1.09 MB / 385.1 MB, free: 11.1 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.1059360480867326]