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.0009936/0.0009936, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0009608/0.0009608, allocations: 170 kB / 23.95 MB, free: 0.6055 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.8911/0.8911, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.2188/0.2188, allocations: 29.41 MB / 290.1 MB, free: 2.465 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.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: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 430.2 MB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.777e-05, allocations: 4.109 kB / 430.2 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002011/0.002029, allocations: 1.5 MB / 431.7 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005371/0.002566, allocations: 482.6 kB / 432.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.002612, allocations: 4 kB / 432.2 MB, free: 11.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.002815, allocations: 19.84 kB / 432.2 MB, free: 11.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.003061, allocations: 79.56 kB / 432.3 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.003256, allocations: 87.62 kB / 432.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.003388, allocations: 63.84 kB / 432.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.003431, allocations: 4.188 kB / 432.4 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.00355, allocations: 51.77 kB / 432.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.003611, allocations: 23.91 kB / 432.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.003627, allocations: 4 kB / 432.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.003747, allocations: 87.89 kB / 432.6 MB, free: 11.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.003797, allocations: 19.91 kB / 432.6 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.003823, allocations: 19.92 kB / 432.6 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.004009, allocations: 139.6 kB / 432.7 MB, free: 11.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.004013, allocations: 4 kB / 432.8 MB, free: 11.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.004014, allocations: 0 / 432.8 MB, free: 11.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004018, allocations: 0 / 432.8 MB, free: 11.06 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003419/0.004359, allocations: 337.4 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.004398, allocations: 19.98 kB / 433.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.004426, allocations: 30.75 kB / 433.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.004456, allocations: 8.891 kB / 433.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.004616, allocations: 134.5 kB / 433.3 MB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.004624, allocations: 384 / 433.3 MB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.004632, allocations: 4.375 kB / 433.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.004738, allocations: 85.67 kB / 433.4 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.004746, allocations: 7.875 kB / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.004754, allocations: 0 / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.004757, allocations: 0 / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.004797, allocations: 19.98 kB / 433.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.005056, allocations: 267.9 kB / 433.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.942e-05/0.005125, allocations: 38.5 kB / 433.7 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.005143, allocations: 8.922 kB / 433.7 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.005161, allocations: 0 / 433.7 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.005181, allocations: 34.56 kB / 433.7 MB, free: 9.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.005182, allocations: 0 / 433.7 MB, free: 9.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001271/0.005309, allocations: 61.64 kB / 433.8 MB, free: 9.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.005341, allocations: 77.11 kB / 433.9 MB, free: 9.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.005461, allocations: 160.7 kB / 434 MB, free: 9.613 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.005472, allocations: 29.7 kB / 434 MB, free: 9.578 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.005514, allocations: 104.1 kB / 434.2 MB, free: 9.473 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.005531, allocations: 11.83 kB / 434.2 MB, free: 9.461 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.005554, allocations: 13.72 kB / 434.2 MB, free: 9.441 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.005627, allocations: 326.8 kB / 434.5 MB, free: 9.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.005638, allocations: 0 / 434.5 MB, free: 9.113 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.005665, allocations: 51.41 kB / 434.5 MB, free: 9.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.481e-05/0.00569, allocations: 16.86 kB / 434.6 MB, free: 9.031 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005692, allocations: 0 / 434.6 MB, free: 9.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.119e-05/0.005743, allocations: 53.64 kB / 434.6 MB, free: 8.973 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.005753, allocations: 4 kB / 434.6 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.005757, allocations: 0 / 434.6 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.005766, allocations: 4.031 kB / 434.6 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.685e-05/0.005813, allocations: 11.94 kB / 434.6 MB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.005817, allocations: 0 / 434.6 MB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.005833, allocations: 3.953 kB / 434.6 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.005837, allocations: 3.984 kB / 434.6 MB, free: 8.945 MB / 410.7 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 5.383e-05/0.005891, allocations: 117.8 kB / 434.8 MB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.005906, allocations: 7.953 kB / 434.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.033e-05/0.005986, allocations: 62.02 kB / 434.8 MB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.005988, allocations: 0 / 434.8 MB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.005991, allocations: 3.938 kB / 434.8 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005994, allocations: 4 kB / 434.8 MB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.006106, allocations: 152.6 kB / 435 MB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006107, allocations: 0 / 435 MB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-05/0.006122, allocations: 4 kB / 435 MB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.006123, allocations: 0 / 435 MB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.006128, allocations: 3.938 kB / 435 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006129, allocations: 0 / 435 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.006129, allocations: 0 / 435 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.27e-05/0.006202, allocations: 159.8 kB / 435.1 MB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-06/0.00621, allocations: 0 / 435.1 MB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.006223, allocations: 7.984 kB / 435.2 MB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/0.006251, allocations: 4 kB / 435.2 MB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.006262, allocations: 0 / 435.2 MB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.006264, allocations: 0 / 435.2 MB, free: 8.348 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.146e-05/0.006325, allocations: 123.2 kB / 435.3 MB, free: 8.227 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006325, allocations: 0 / 435.3 MB, free: 8.227 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001892/0.006514, allocations: 47.75 kB / 435.3 MB, free: 8.18 MB / 410.7 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.0008644/0.007379, allocations: 1.044 MB / 436.4 MB, free: 7.301 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.342e-05/0.007452, allocations: 19.98 kB / 436.4 MB, free: 7.281 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007454, allocations: 0 / 436.4 MB, free: 7.281 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.778e-06/0.007464, allocations: 11.94 kB / 436.4 MB, free: 7.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.00767, allocations: 22.83 kB / 436.4 MB, free: 7.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.008691, allocations: 1.363 MB / 437.8 MB, free: 5.809 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.843e-05/0.008739, allocations: 79.33 kB / 437.9 MB, free: 5.711 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.523e-05/0.008785, allocations: 15.98 kB / 437.9 MB, free: 5.695 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.008826, allocations: 28.48 kB / 437.9 MB, free: 5.668 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.008826, allocations: 0 / 437.9 MB, free: 5.668 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.02311, allocations: 3.781 MB / 441.7 MB, free: 1.902 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.558/6.581, allocations: 3.281 kB / 441.7 MB, free: 1.902 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.56940056476742] Failed to read output from testmodel.py, exit status != 0: 6.678324744105339 6.84710824 6.84176727 Calling exit ...