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.0008328/0.0008328, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004022/0.004022, allocations: 161.2 kB / 24.7 MB, free: 9.426 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.8684/0.8684, allocations: 177.1 MB / 205 MB, free: 5.723 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.2322/0.2322, allocations: 29.41 MB / 290.8 MB, free: 2.426 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.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 431.4 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.251e-05, allocations: 6.219 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.00202/0.002043, allocations: 1.488 MB / 432.9 MB, free: 11.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005593/0.002602, allocations: 486.6 kB / 433.4 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.002652, allocations: 3.938 kB / 433.4 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.002845, allocations: 27.73 kB / 433.4 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.003068, allocations: 83.61 kB / 433.5 MB, free: 11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.003239, allocations: 79.72 kB / 433.6 MB, free: 10.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.003374, allocations: 75.75 kB / 433.7 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.003417, allocations: 4.188 kB / 433.7 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.003542, allocations: 39.84 kB / 433.7 MB, free: 10.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.774e-05/0.00361, allocations: 23.91 kB / 433.7 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.003625, allocations: 4 kB / 433.7 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.003737, allocations: 87.88 kB / 433.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.003789, allocations: 19.92 kB / 433.9 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.003815, allocations: 15.92 kB / 433.9 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.004007, allocations: 147.5 kB / 434 MB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004009, allocations: 0 / 434 MB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.00401, allocations: 0 / 434 MB, free: 10.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.004015, allocations: 0 / 434 MB, free: 10.52 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.000369/0.004384, allocations: 325.7 kB / 434.3 MB, free: 10.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.004419, allocations: 15.92 kB / 434.3 MB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.004456, allocations: 12.84 kB / 434.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.004613, allocations: 140.3 kB / 434.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.004622, allocations: 384 / 434.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.004633, allocations: 8.375 kB / 434.5 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.00474, allocations: 81.67 kB / 434.6 MB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004748, allocations: 4.188 kB / 434.6 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.004758, allocations: 7.938 kB / 434.6 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.004763, allocations: 4 kB / 434.6 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.124e-05/0.004804, allocations: 23.92 kB / 434.6 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.005057, allocations: 228.6 kB / 434.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.757e-05/0.005134, allocations: 38.5 kB / 434.9 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.005152, allocations: 8.922 kB / 434.9 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.005172, allocations: 0 / 434.9 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.005194, allocations: 38.5 kB / 434.9 MB, free: 9.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.005195, allocations: 4 kB / 434.9 MB, free: 9.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001331/0.005328, allocations: 53.69 kB / 435 MB, free: 9.414 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002996/0.005628, allocations: 77.11 kB / 435.1 MB, free: 9.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.005748, allocations: 161.7 kB / 435.2 MB, free: 9.152 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.005758, allocations: 29.7 kB / 435.3 MB, free: 9.117 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.0058, allocations: 96.12 kB / 435.3 MB, free: 9.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.005815, allocations: 7.891 kB / 435.4 MB, free: 9.012 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.005839, allocations: 13.72 kB / 435.4 MB, free: 8.992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.005913, allocations: 322.8 kB / 435.7 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.005927, allocations: 4 kB / 435.7 MB, free: 8.664 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.005954, allocations: 51.34 kB / 435.7 MB, free: 8.602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.753e-05/0.005981, allocations: 28.77 kB / 435.8 MB, free: 8.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.005985, allocations: 3.938 kB / 435.8 MB, free: 8.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.34e-05/0.006039, allocations: 53.64 kB / 435.8 MB, free: 8.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.00605, allocations: 4 kB / 435.8 MB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006055, allocations: 0 / 435.8 MB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.006066, allocations: 336 / 435.8 MB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.166e-05/0.006117, allocations: 8 kB / 435.8 MB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.006122, allocations: 0 / 435.8 MB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.006138, allocations: 0 / 435.8 MB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.006141, allocations: 0 / 435.8 MB, free: 8.496 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.789e-05/0.006199, allocations: 133.7 kB / 436 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.006215, allocations: 7.938 kB / 436 MB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.934e-05/0.006304, allocations: 65.97 kB / 436 MB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006306, allocations: 0 / 436 MB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.00631, allocations: 0 / 436 MB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.006312, allocations: 0 / 436 MB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.929e-05/0.006402, allocations: 117.3 kB / 436.1 MB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.006404, allocations: 3.938 kB / 436.2 MB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.006419, allocations: 11.98 kB / 436.2 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.00642, allocations: 0 / 436.2 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.006425, allocations: 0 / 436.2 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.006427, allocations: 4 kB / 436.2 MB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006427, allocations: 0 / 436.2 MB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.225e-05/0.0065, allocations: 147.4 kB / 436.3 MB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.006512, allocations: 11.94 kB / 436.3 MB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.006523, allocations: 0 / 436.3 MB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.797e-05/0.006551, allocations: 0 / 436.3 MB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.006565, allocations: 11.98 kB / 436.3 MB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.006566, allocations: 0 / 436.3 MB, free: 7.922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.315e-05/0.00663, allocations: 122.4 kB / 436.5 MB, free: 7.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00663, allocations: 0 / 436.5 MB, free: 7.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.00681, allocations: 35.83 kB / 436.5 MB, free: 7.77 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.0007048/0.007515, allocations: 486.6 kB / 437 MB, free: 7.477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.949e-05/0.007594, allocations: 19.92 kB / 437 MB, free: 7.457 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007595, allocations: 0 / 437 MB, free: 7.457 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.857e-06/0.007604, allocations: 8 kB / 437 MB, free: 7.449 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.007817, allocations: 27.66 kB / 437 MB, free: 7.426 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.008078, allocations: 186.5 kB / 437.2 MB, free: 7.211 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.197e-05/0.00813, allocations: 75.58 kB / 437.3 MB, free: 7.117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.008165, allocations: 16.48 kB / 437.3 MB, free: 7.102 MB / 410.7 MB Notification: Performance of SimCode: time 4e-07/0.008165, allocations: 0 / 437.3 MB, free: 7.102 MB / 410.7 MB Notification: Performance of Templates: time 0.002359/0.01052, allocations: 1.811 MB / 439.1 MB, free: 5.297 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.051583165302873] Failed to read output from testmodel.py, exit status != 0: 0.015063204802572727 0.204789208 0.199361323 Calling exit ...