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.0007986/0.0007986, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008382/0.0008382, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8845/0.8845, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2161/0.2161, allocations: 29.4 MB / 290.1 MB, free: 2.457 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.941e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003135/0.003154, allocations: 3.418 MB / 433.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004455, allocations: 1.445 MB / 435.1 MB, free: 8.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.764e-05/0.004553, allocations: 11.94 kB / 435.1 MB, free: 8.719 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004869/0.00504, allocations: 250.9 kB / 435.3 MB, free: 8.473 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.005464, allocations: 286.6 kB / 435.6 MB, free: 8.191 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.005662, allocations: 127.5 kB / 435.7 MB, free: 8.066 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.005922, allocations: 342.9 kB / 436.1 MB, free: 7.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.006121, allocations: 122 kB / 436.2 MB, free: 7.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.006367, allocations: 211.3 kB / 436.4 MB, free: 7.406 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.006528, allocations: 135.6 kB / 436.5 MB, free: 7.273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.006546, allocations: 16 kB / 436.5 MB, free: 7.258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.006861, allocations: 283.1 kB / 436.8 MB, free: 6.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.197e-05/0.006953, allocations: 115.7 kB / 436.9 MB, free: 6.867 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.00702, allocations: 71.78 kB / 437 MB, free: 6.797 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.007383, allocations: 370.8 kB / 437.4 MB, free: 6.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.007385, allocations: 0 / 437.4 MB, free: 6.434 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.007387, allocations: 4 kB / 437.4 MB, free: 6.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.007391, allocations: 0 / 437.4 MB, free: 6.43 MB / 410.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.0004807/0.007871, allocations: 449 kB / 437.8 MB, free: 5.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.007912, allocations: 11.98 kB / 437.8 MB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.007953, allocations: 50.73 kB / 437.9 MB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004991/0.008452, allocations: 108.7 kB / 438 MB, free: 5.785 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.008691, allocations: 217.8 kB / 438.2 MB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.008705, allocations: 16.36 kB / 438.2 MB, free: 5.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.008726, allocations: 16.38 kB / 438.2 MB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.009046, allocations: 323 kB / 438.5 MB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.009055, allocations: 4 kB / 438.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.009072, allocations: 11.98 kB / 438.5 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.009096, allocations: 12 kB / 438.6 MB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.009386, allocations: 303.7 kB / 438.8 MB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009647/0.01035, allocations: 1.197 MB / 440 MB, free: 3.559 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.01052, allocations: 117.2 kB / 440.2 MB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/0.01057, allocations: 41.89 kB / 440.2 MB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.01058, allocations: 7.938 kB / 440.2 MB, free: 3.371 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.0106, allocations: 34.56 kB / 440.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.0106, allocations: 0 / 440.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002002/0.0108, allocations: 137.5 kB / 440.4 MB, free: 3.188 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.01083, allocations: 85.05 kB / 440.5 MB, free: 3.086 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.01096, allocations: 219.7 kB / 440.7 MB, free: 2.863 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.01097, allocations: 25.7 kB / 440.7 MB, free: 2.832 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.01104, allocations: 176 kB / 440.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.01106, allocations: 35.69 kB / 440.9 MB, free: 2.621 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.0111, allocations: 45.7 kB / 440.9 MB, free: 2.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.01118, allocations: 322.8 kB / 441.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.281e-05/0.01122, allocations: 40.34 kB / 441.3 MB, free: 2.207 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.237e-05/0.0113, allocations: 139.8 kB / 441.4 MB, free: 2.027 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.01144, allocations: 208.7 kB / 441.6 MB, free: 1.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01144, allocations: 0 / 441.6 MB, free: 1.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001811/0.01162, allocations: 209.1 kB / 441.8 MB, free: 1.566 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.01164, allocations: 8.438 kB / 441.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01164, allocations: 8 kB / 441.9 MB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.01165, allocations: 4 kB / 441.9 MB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.01174, allocations: 43.92 kB / 441.9 MB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.01175, allocations: 11.92 kB / 441.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.01181, allocations: 23.83 kB / 441.9 MB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.01182, allocations: 15.94 kB / 442 MB, free: 1.453 MB / 410.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.501e-05/0.01191, allocations: 149.8 kB / 442.1 MB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.01193, allocations: 23.8 kB / 442.1 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.01206, allocations: 123 kB / 442.3 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01207, allocations: 11.98 kB / 442.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01207, allocations: 0 / 442.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01207, allocations: 0 / 442.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.01249, allocations: 0.5282 MB / 442.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.0125, allocations: 4 kB / 442.8 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.01253, allocations: 19.94 kB / 442.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01254, allocations: 4.312 kB / 442.8 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.01254, allocations: 11.98 kB / 442.8 MB, free: 496 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01255, allocations: 4 kB / 442.8 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.01255, allocations: 8.125 kB / 442.8 MB, free: 484 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.01269, allocations: 275.9 kB / 443.1 MB, free: 160 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.01272, allocations: 27.78 kB / 443.1 MB, free: 132 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.01273, allocations: 8 kB / 443.1 MB, free: 124 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.01279, allocations: 4 kB / 443.2 MB, free: 120 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.01281, allocations: 19.86 kB / 443.2 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.01282, allocations: 12 kB / 443.2 MB, free: 88 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1548/0.1676, allocations: 146.2 kB / 443.3 MB, free: 54.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1676, allocations: 1.406 kB / 443.3 MB, free: 54.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003664/0.168, allocations: 54.44 kB / 443.4 MB, free: 54.07 MB / 410.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.0003762/0.1684, allocations: 0.806 MB / 444.2 MB, free: 53.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.1686, allocations: 113.6 kB / 444.3 MB, free: 53.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1686, allocations: 2.969 kB / 444.3 MB, free: 53.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.1686, allocations: 47.72 kB / 444.3 MB, free: 53.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1689, allocations: 37.11 kB / 444.4 MB, free: 53.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.1703, allocations: 2.287 MB / 446.7 MB, free: 51.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.095e-05/0.1704, allocations: 144.5 kB / 446.8 MB, free: 51.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.512e-05/0.1705, allocations: 40.8 kB / 446.9 MB, free: 51.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.1705, allocations: 62.58 kB / 446.9 MB, free: 51.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1705, allocations: 0 / 446.9 MB, free: 51.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.1855, allocations: 4.041 MB / 451 MB, free: 50.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.434/6.62, allocations: 7.219 kB / 451 MB, free: 50.66 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.413760921917856] Failed to read output from testmodel.py, exit status != 0: 6.700818476267159 6.711328548 6.702525088 Calling exit ...