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.001805/0.001805, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001983/0.001983, allocations: 165.3 kB / 24.28 MB, free: 152 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.687/1.687, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3678/0.3678, allocations: 29.41 MB / 290.5 MB, free: 2.406 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.994e-06/1.994e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.311e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005673/0.005706, allocations: 3.523 MB / 372.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.008437, allocations: 1.52 MB / 373.9 MB, free: 6.227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.008592, allocations: 11.94 kB / 373.9 MB, free: 6.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009192/0.009511, allocations: 258.9 kB / 374.2 MB, free: 5.961 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006982/0.01021, allocations: 282.6 kB / 374.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.01058, allocations: 131.4 kB / 374.6 MB, free: 5.555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004772/0.01106, allocations: 350.9 kB / 374.9 MB, free: 5.211 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.01135, allocations: 110.1 kB / 375 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.01175, allocations: 203.3 kB / 375.2 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.01203, allocations: 143.6 kB / 375.4 MB, free: 4.766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.01207, allocations: 15.98 kB / 375.4 MB, free: 4.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005305/0.0126, allocations: 287 kB / 375.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.01274, allocations: 107.7 kB / 375.8 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.01286, allocations: 75.83 kB / 375.9 MB, free: 4.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.01345, allocations: 370.9 kB / 376.2 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01346, allocations: 0 / 376.2 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.01346, allocations: 0 / 376.2 MB, free: 3.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.01347, allocations: 4 kB / 376.2 MB, free: 3.922 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.0008162/0.01428, allocations: 0.5497 MB / 376.8 MB, free: 3.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.01432, allocations: 15.98 kB / 376.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009532/0.01528, allocations: 156.5 kB / 376.9 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.01568, allocations: 216.7 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.87e-05/0.0157, allocations: 8.375 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.01574, allocations: 20.38 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.0162, allocations: 252.3 kB / 377.4 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.01622, allocations: 7.875 kB / 377.4 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.01625, allocations: 8 kB / 377.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/0.01629, allocations: 15.98 kB / 377.5 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.01666, allocations: 147.8 kB / 377.6 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.01869, allocations: 1.37 MB / 379 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.01899, allocations: 110.2 kB / 379.1 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.01906, allocations: 35.61 kB / 379.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.01909, allocations: 7.938 kB / 379.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.01913, allocations: 37.39 kB / 379.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.01913, allocations: 0 / 379.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004684/0.0196, allocations: 117.4 kB / 379.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.01967, allocations: 81.23 kB / 379.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.01994, allocations: 281.5 kB / 379.6 MB, free: 256 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.01996, allocations: 25.7 kB / 379.7 MB, free: 224 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.02016, allocations: 226.8 kB / 379.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.0202, allocations: 39.69 kB / 379.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.02029, allocations: 51.36 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002735/0.02056, allocations: 0.5001 MB / 380.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/0.02062, allocations: 27.98 kB / 380.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.02081, allocations: 165.5 kB / 380.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.02108, allocations: 211 kB / 380.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.02109, allocations: 8 kB / 380.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003149/0.0214, allocations: 181.2 kB / 381 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.02142, allocations: 11.75 kB / 381.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.02143, allocations: 0 / 381.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.02145, allocations: 8.438 kB / 381.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.02162, allocations: 51.91 kB / 381.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.02164, allocations: 7.938 kB / 381.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.02175, allocations: 23.84 kB / 381.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.02177, allocations: 8 kB / 381.2 MB, free: 14.56 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.0001683/0.02193, allocations: 176.5 kB / 381.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.02198, allocations: 19.84 kB / 381.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.02221, allocations: 103.1 kB / 381.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.02221, allocations: 64 / 381.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.02221, allocations: 11.94 kB / 381.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.02222, allocations: 0 / 381.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008139/0.02303, allocations: 0.5529 MB / 382 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.02303, allocations: 0 / 382 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/0.02311, allocations: 16 kB / 382 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.02312, allocations: 4 kB / 382 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.02314, allocations: 4 kB / 382 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/0.02315, allocations: 12.23 kB / 382 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.02315, allocations: 8 kB / 382.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.02352, allocations: 344 kB / 382.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.02356, allocations: 15.91 kB / 382.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.02359, allocations: 8 kB / 382.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.02369, allocations: 0 / 382.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.02373, allocations: 19.92 kB / 382.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.02374, allocations: 4 kB / 382.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.0239, allocations: 183.1 kB / 382.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0239, allocations: 0 / 382.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003515/0.02425, allocations: 63.77 kB / 382.7 MB, free: 12.88 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.0001286/0.02438, allocations: 95.19 kB / 382.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.02462, allocations: 115.4 kB / 382.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02462, allocations: 0.875 kB / 382.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.789e-05/0.0247, allocations: 43.98 kB / 382.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.02511, allocations: 34.52 kB / 383 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/0.02589, allocations: 439.5 kB / 383.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.02607, allocations: 140.2 kB / 383.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.02618, allocations: 29.45 kB / 383.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.02622, allocations: 16.5 kB / 383.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02622, allocations: 4 kB / 383.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of Templates: time 0.004555/0.03077, allocations: 1.09 MB / 384.7 MB, free: 10.8 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: 4.849503073026426]