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.000742/0.000742, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0008677/0.0008677, allocations: 161 kB / 24.56 MB, free: 8 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 0.9252/0.9252, allocations: 177.1 MB / 205 MB, free: 5.613 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.2263/0.2263, allocations: 29.41 MB / 290.9 MB, free: 2.52 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 / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.37e-05, allocations: 2.312 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004912/0.004935, allocations: 3.48 MB / 373.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.00691, allocations: 1.235 MB / 374.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.007059, allocations: 7.938 kB / 374.4 MB, free: 6.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007818/0.00784, allocations: 207.1 kB / 374.6 MB, free: 6.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006475/0.008488, allocations: 278.6 kB / 374.8 MB, free: 5.797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.008746, allocations: 131.5 kB / 375 MB, free: 5.668 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.009068, allocations: 338.8 kB / 375.3 MB, free: 5.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.009302, allocations: 118 kB / 375.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.009583, allocations: 195.4 kB / 375.6 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.009777, allocations: 143.5 kB / 375.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.009797, allocations: 12 kB / 375.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.01013, allocations: 287.1 kB / 376 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.01022, allocations: 103.7 kB / 376.1 MB, free: 4.492 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.774e-05/0.0103, allocations: 75.83 kB / 376.2 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.01068, allocations: 310.9 kB / 376.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01069, allocations: 8 kB / 376.5 MB, free: 4.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01069, allocations: 0 / 376.5 MB, free: 4.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.01069, allocations: 0 / 376.5 MB, free: 4.105 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.0005108/0.0112, allocations: 0.5384 MB / 377 MB, free: 3.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.01124, allocations: 11.98 kB / 377.1 MB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005298/0.01177, allocations: 148.6 kB / 377.2 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.01202, allocations: 215.8 kB / 377.4 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.01203, allocations: 16.38 kB / 377.4 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.01206, allocations: 16.38 kB / 377.4 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.01234, allocations: 236.3 kB / 377.7 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.01235, allocations: 7.922 kB / 377.7 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.01237, allocations: 4 kB / 377.7 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.0124, allocations: 19.98 kB / 377.7 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.0126, allocations: 131.8 kB / 377.8 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.01365, allocations: 1.328 MB / 379.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.01383, allocations: 106.2 kB / 379.3 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.01391, allocations: 35.42 kB / 379.3 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.01392, allocations: 0 / 379.3 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.01395, allocations: 45.52 kB / 379.3 MB, free: 1.047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.01395, allocations: 4 kB / 379.4 MB, free: 1.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002029/0.01415, allocations: 105.7 kB / 379.5 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.01419, allocations: 77.11 kB / 379.5 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.01432, allocations: 253.5 kB / 379.8 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.01434, allocations: 29.7 kB / 379.8 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.01442, allocations: 218.7 kB / 380 MB, free: 328 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.01444, allocations: 43.67 kB / 380.1 MB, free: 284 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.01449, allocations: 47.36 kB / 380.1 MB, free: 228 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.01467, allocations: 0.4962 MB / 380.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.0147, allocations: 15.98 kB / 380.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.01479, allocations: 174.2 kB / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.01491, allocations: 191.1 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01492, allocations: 4 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001647/0.01508, allocations: 173.6 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.0151, allocations: 12 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.0151, allocations: 4 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.01512, allocations: 4 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.01522, allocations: 47.91 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.01522, allocations: 11.94 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.01528, allocations: 23.78 kB / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.01529, allocations: 12 kB / 381.3 MB, free: 14.93 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.252e-05/0.01537, allocations: 168.5 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.0154, allocations: 23.83 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.01553, allocations: 95.08 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01553, allocations: 0 / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01554, allocations: 8 kB / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.01554, allocations: 0 / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.01606, allocations: 0.5061 MB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.01606, allocations: 7.984 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.0161, allocations: 20.25 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.0161, allocations: 8 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.01612, allocations: 3.984 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.01612, allocations: 4 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.01612, allocations: 7.938 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.01632, allocations: 336.6 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.01634, allocations: 15.91 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.01635, allocations: 8 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.01641, allocations: 4 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.01643, allocations: 15.92 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.01644, allocations: 15.94 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.635e-05/0.0165, allocations: 163.1 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0165, allocations: 0 / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.01672, allocations: 55.84 kB / 382.7 MB, free: 13.32 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 7.729e-05/0.01679, allocations: 103.2 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.01694, allocations: 103.3 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01694, allocations: 0 / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.01698, allocations: 39.55 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.01723, allocations: 34.11 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.01801, allocations: 460.3 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.835e-05/0.01806, allocations: 99.81 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.245e-05/0.01814, allocations: 33.45 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.01817, allocations: 16.5 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01817, allocations: 0 / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Templates: time 0.007003/0.02517, allocations: 1.135 MB / 384.7 MB, free: 11.22 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: 2.8820653650909662]