Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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.001804/0.001804, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002258/0.002258, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.1871/0.1871, allocations: 38.53 MB / 352.5 MB, free: 12.53 MB / 286.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.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.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 71.89 kB / 492.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3268, allocations: 62.46 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002842/0.3297, allocations: 1.507 MB / 0.5434 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.3306, allocations: 0.4938 MB / 0.5439 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.3306, allocations: 5.344 kB / 0.5439 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.3308, allocations: 24.2 kB / 0.544 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.3311, allocations: 79.42 kB / 0.544 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.3313, allocations: 84.5 kB / 0.5441 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3315, allocations: 73.91 kB / 0.5442 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.3315, allocations: 3.562 kB / 0.5442 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3317, allocations: 33.14 kB / 0.5442 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.321e-05/0.3318, allocations: 31.73 kB / 0.5442 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.3318, allocations: 3.531 kB / 0.5443 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.332, allocations: 103.6 kB / 0.5444 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.332, allocations: 19.14 kB / 0.5444 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.3321, allocations: 24.58 kB / 0.5444 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3323, allocations: 142.1 kB / 0.5445 GB, free: 14.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3323, allocations: 0 / 0.5445 GB, free: 14.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3323, allocations: 4 kB / 0.5445 GB, free: 14.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3323, allocations: 0 / 0.5445 GB, free: 14.51 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004416/0.3328, allocations: 324.9 kB / 0.5448 GB, free: 14.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3328, allocations: 13.11 kB / 0.5449 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.3328, allocations: 40.28 kB / 0.5449 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.3329, allocations: 8.547 kB / 0.5449 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.3331, allocations: 145.7 kB / 0.545 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.3331, allocations: 1.75 kB / 0.545 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.3331, allocations: 9.406 kB / 0.5451 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3332, allocations: 64.27 kB / 0.5451 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3333, allocations: 0 / 0.5451 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3333, allocations: 4 kB / 0.5451 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3333, allocations: 1.312 kB / 0.5451 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.441e-05/0.3333, allocations: 18 kB / 0.5451 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.3337, allocations: 255.7 kB / 0.5454 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.33e-05/0.3338, allocations: 38.88 kB / 0.5454 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.3338, allocations: 13.17 kB / 0.5454 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3338, allocations: 0 / 0.5454 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.3339, allocations: 36.38 kB / 0.5455 GB, free: 13.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3339, allocations: 0 / 0.5455 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001655/0.334, allocations: 59.09 kB / 0.5455 GB, free: 13.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.3341, allocations: 81.11 kB / 0.5456 GB, free: 13.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3343, allocations: 151.9 kB / 0.5457 GB, free: 13.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3343, allocations: 27.45 kB / 0.5458 GB, free: 13.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.3343, allocations: 99.67 kB / 0.5459 GB, free: 13.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.3344, allocations: 11.89 kB / 0.5459 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.3344, allocations: 13.31 kB / 0.5459 GB, free: 13.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3345, allocations: 325 kB / 0.5462 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.3345, allocations: 7.375 kB / 0.5462 GB, free: 12.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.3346, allocations: 31.45 kB / 0.5462 GB, free: 12.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.3346, allocations: 21.48 kB / 0.5463 GB, free: 12.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3346, allocations: 0 / 0.5463 GB, free: 12.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.139e-05/0.3347, allocations: 53.52 kB / 0.5463 GB, free: 12.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3347, allocations: 4.438 kB / 0.5463 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.3347, allocations: 0 / 0.5463 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3347, allocations: 1.062 kB / 0.5463 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.367e-05/0.3348, allocations: 8.422 kB / 0.5463 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.3348, allocations: 0 / 0.5463 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.939e-05/0.3348, allocations: 4.938 kB / 0.5463 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3348, allocations: 5.219 kB / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.619e-05/0.3349, allocations: 123.4 kB / 0.5464 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.335, allocations: 7.297 kB / 0.5465 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.3351, allocations: 60.72 kB / 0.5465 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3351, allocations: 5.219 kB / 0.5465 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.3351, allocations: 0 / 0.5465 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3351, allocations: 3.938 kB / 0.5465 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.3353, allocations: 146 kB / 0.5467 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3353, allocations: 0 / 0.5467 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.3353, allocations: 8.125 kB / 0.5467 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3353, allocations: 1.375 kB / 0.5467 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.3353, allocations: 0 / 0.5467 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3353, allocations: 1.375 kB / 0.5467 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3353, allocations: 0 / 0.5467 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.3355, allocations: 155.9 kB / 0.5468 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.3355, allocations: 10.69 kB / 0.5468 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.3355, allocations: 0 / 0.5468 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.3355, allocations: 1.375 kB / 0.5468 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.3356, allocations: 5.375 kB / 0.5468 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3356, allocations: 3.938 kB / 0.5468 GB, free: 12.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.3357, allocations: 125.4 kB / 0.547 GB, free: 12.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3357, allocations: 0 / 0.547 GB, free: 12.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.3359, allocations: 37.86 kB / 0.547 GB, free: 12.03 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.00188/0.3378, allocations: 1.032 MB / 0.548 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.567e-05/0.3379, allocations: 10.03 kB / 0.548 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3379, allocations: 0.875 kB / 0.548 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.408e-05/0.3379, allocations: 14.11 kB / 0.548 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3383, allocations: 21.03 kB / 0.548 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3397, allocations: 1.372 MB / 0.5494 GB, free: 9.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.3401, allocations: 0.6898 MB / 0.5501 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.457e-05/0.3401, allocations: 13.52 kB / 0.5501 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.3402, allocations: 24.14 kB / 0.5501 GB, free: 9.168 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3402, allocations: 1.25 kB / 0.5501 GB, free: 9.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.3725, allocations: 3.176 MB / 0.5532 GB, free: 7.273 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.69, allocations: 4.656 kB / 0.5532 GB, free: 7.273 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.554820413934067] Failed to read output from testmodel.py, exit status != 0: 11.859677485190332 11.889569527 11.551927621 Calling exit ...