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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 186.6 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 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.1847/0.1847, allocations: 38.53 MB / 346.3 MB, free: 2.062 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002018/0.002018, allocations: 59.89 kB / 484.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4027, allocations: 61.31 MB / 0.533 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.007614/0.4103, allocations: 3.543 MB / 0.5365 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.413, allocations: 1.557 MB / 0.538 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.4132, allocations: 9.438 kB / 0.538 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.4142, allocations: 263.5 kB / 0.5383 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008055/0.415, allocations: 283.5 kB / 0.5385 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.4155, allocations: 127.3 kB / 0.5387 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.416, allocations: 339.6 kB / 0.539 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.4163, allocations: 98.83 kB / 0.5391 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.4166, allocations: 160.6 kB / 0.5392 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.4169, allocations: 163.8 kB / 0.5394 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.4169, allocations: 13.88 kB / 0.5394 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007049/0.4176, allocations: 342.6 kB / 0.5397 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.4177, allocations: 106.1 kB / 0.5398 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.4179, allocations: 104.5 kB / 0.5399 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006315/0.4185, allocations: 349.7 kB / 0.5403 GB, free: 384 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4185, allocations: 0 / 0.5403 GB, free: 384 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4185, allocations: 0 / 0.5403 GB, free: 384 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.4185, allocations: 0 / 0.5403 GB, free: 384 kB / 382.1 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.0008384/0.4194, allocations: 457.8 kB / 0.5407 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4194, allocations: 10.19 kB / 0.5407 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.421, allocations: 103 kB / 0.5408 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.4215, allocations: 214.4 kB / 0.541 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.4215, allocations: 15.06 kB / 0.541 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.4216, allocations: 17.62 kB / 0.541 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008123/0.4224, allocations: 330.9 kB / 0.5414 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.4224, allocations: 1.125 kB / 0.5414 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.4225, allocations: 6.156 kB / 0.5414 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/0.4225, allocations: 15.53 kB / 0.5414 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/0.4232, allocations: 311.5 kB / 0.5417 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.4258, allocations: 1.244 MB / 0.5429 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.4262, allocations: 128.9 kB / 0.543 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.4263, allocations: 37.05 kB / 0.543 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.4263, allocations: 5.203 kB / 0.5431 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.4264, allocations: 37.19 kB / 0.5431 GB, free: 14.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.705e-06/0.4264, allocations: 4 kB / 0.5431 GB, free: 14.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004616/0.4269, allocations: 141.7 kB / 0.5432 GB, free: 13.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.427, allocations: 78.7 kB / 0.5433 GB, free: 13.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.4273, allocations: 212.1 kB / 0.5435 GB, free: 13.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.4273, allocations: 27.42 kB / 0.5435 GB, free: 13.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.4275, allocations: 168.2 kB / 0.5437 GB, free: 13.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.4275, allocations: 40.84 kB / 0.5437 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-05/0.4276, allocations: 45.02 kB / 0.5438 GB, free: 13.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.4278, allocations: 330.9 kB / 0.5441 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.4279, allocations: 42.06 kB / 0.5441 GB, free: 13.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.4282, allocations: 142.4 kB / 0.5443 GB, free: 12.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.4286, allocations: 187.8 kB / 0.5444 GB, free: 12.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.4286, allocations: 5.188 kB / 0.5444 GB, free: 12.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004664/0.4291, allocations: 209.3 kB / 0.5446 GB, free: 12.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4291, allocations: 9.281 kB / 0.5447 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4291, allocations: 4.031 kB / 0.5447 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/0.4291, allocations: 12.75 kB / 0.5447 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.4293, allocations: 48 kB / 0.5447 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.4293, allocations: 4.625 kB / 0.5447 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.4295, allocations: 20.36 kB / 0.5447 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.4295, allocations: 11.78 kB / 0.5448 GB, free: 12.62 MB / 398.1 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.0002086/0.4297, allocations: 157.2 kB / 0.5449 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.4298, allocations: 19.77 kB / 0.5449 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.43, allocations: 124.9 kB / 0.545 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.43, allocations: 6.656 kB / 0.545 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.43, allocations: 0 / 0.545 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.43, allocations: 6.672 kB / 0.5451 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.4308, allocations: 0.5384 MB / 0.5456 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4308, allocations: 2.312 kB / 0.5456 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.788e-05/0.4309, allocations: 19.39 kB / 0.5456 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4309, allocations: 7.438 kB / 0.5456 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4309, allocations: 3.625 kB / 0.5456 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.4309, allocations: 7.438 kB / 0.5456 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4309, allocations: 3.312 kB / 0.5456 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.4312, allocations: 295 kB / 0.5459 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.4313, allocations: 16.03 kB / 0.5459 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.4313, allocations: 11.52 kB / 0.5459 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.4314, allocations: 3.531 kB / 0.5459 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.4314, allocations: 21.42 kB / 0.546 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.4315, allocations: 4.75 kB / 0.546 GB, free: 11.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.4316, allocations: 156.7 kB / 0.5461 GB, free: 11.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4316, allocations: 0 / 0.5461 GB, free: 11.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000391/0.432, allocations: 52.39 kB / 0.5462 GB, free: 11.43 MB / 398.1 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.0001381/0.4321, allocations: 100.5 kB / 0.5463 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.4324, allocations: 119.2 kB / 0.5464 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4324, allocations: 1.125 kB / 0.5464 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.222e-05/0.4325, allocations: 48.19 kB / 0.5464 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.4329, allocations: 30.83 kB / 0.5464 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/0.4338, allocations: 446.9 kB / 0.5469 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.4343, allocations: 0.7592 MB / 0.5476 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.4344, allocations: 37.67 kB / 0.5476 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.4345, allocations: 19.72 kB / 0.5477 GB, free: 10.12 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4345, allocations: 1.125 kB / 0.5477 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Templates: time 0.004877/0.4393, allocations: 1.382 MB / 0.549 GB, free: 9.441 MB / 398.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.99190363753587] Failed to read output from testmodel.py, exit status != 0: 0.44838044233620167 0.463916825 0.04209438699999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f062447d7b0>