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.001332/0.001332, allocations: 82.03 kB / 20.68 MB, free: 1.035 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.001434/0.001434, allocations: 163.5 kB / 23.96 MB, free: 4.164 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.508/1.508, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.1791/0.1791, allocations: 29.42 MB / 290.1 MB, free: 3.281 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.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 2.545e-06/2.545e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.872e-05, allocations: 2.281 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002849/0.002878, allocations: 1.499 MB / 432.2 MB, free: 460 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009458/0.003824, allocations: 498.5 kB / 432.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.003874, allocations: 4 kB / 432.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.004085, allocations: 15.86 kB / 432.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.004358, allocations: 79.61 kB / 432.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.004596, allocations: 82.53 kB / 432.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.004751, allocations: 71.81 kB / 432.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.004787, allocations: 192 / 432.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.004955, allocations: 47.77 kB / 433 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.005028, allocations: 23.92 kB / 433 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.005049, allocations: 4 kB / 433 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.005219, allocations: 91.88 kB / 433.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.005282, allocations: 15.92 kB / 433.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.005324, allocations: 19.92 kB / 433.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.005594, allocations: 135.6 kB / 433.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.005598, allocations: 0 / 433.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.0056, allocations: 0 / 433.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.005603, allocations: 0 / 433.3 MB, free: 15.38 MB / 366.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.0005134/0.006117, allocations: 337.5 kB / 433.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.006159, allocations: 15.98 kB / 433.6 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.006208, allocations: 8.891 kB / 433.6 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.00644, allocations: 136.3 kB / 433.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.006454, allocations: 4.375 kB / 433.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.006468, allocations: 8.359 kB / 433.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.006626, allocations: 89.66 kB / 433.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.006635, allocations: 192 / 433.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.006649, allocations: 7.938 kB / 433.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.006653, allocations: 0 / 433.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.006703, allocations: 15.94 kB / 433.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.007056, allocations: 228.5 kB / 434.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.937e-05/0.007155, allocations: 42.5 kB / 434.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.007181, allocations: 16.8 kB / 434.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.007206, allocations: 0 / 434.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.007247, allocations: 38.56 kB / 434.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.007248, allocations: 0 / 434.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002109/0.007459, allocations: 53.64 kB / 434.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.007529, allocations: 81.09 kB / 434.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.00782, allocations: 153.8 kB / 434.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.00784, allocations: 25.7 kB / 434.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.007917, allocations: 100.1 kB / 434.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.007939, allocations: 11.89 kB / 434.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.007977, allocations: 13.72 kB / 434.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.008164, allocations: 322.8 kB / 434.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/0.008189, allocations: 11.94 kB / 434.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.44e-05/0.008233, allocations: 43.41 kB / 435 MB, free: 13.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.268e-05/0.008276, allocations: 16.86 kB / 435 MB, free: 13.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.008279, allocations: 7.938 kB / 435 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.535e-05/0.008375, allocations: 49.64 kB / 435.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.008389, allocations: 4 kB / 435.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.008393, allocations: 4 kB / 435.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.008406, allocations: 4.031 kB / 435.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.008466, allocations: 7.938 kB / 435.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.008471, allocations: 0 / 435.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.0085, allocations: 3.984 kB / 435.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.008508, allocations: 4 kB / 435.1 MB, free: 13.35 MB / 366.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 0.0001172/0.008626, allocations: 117.8 kB / 435.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.008667, allocations: 7.953 kB / 435.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.008829, allocations: 65.94 kB / 435.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.008833, allocations: 4.375 kB / 435.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.008838, allocations: 0 / 435.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008842, allocations: 4 kB / 435.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.009027, allocations: 121.3 kB / 435.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.009033, allocations: 7.922 kB / 435.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.009065, allocations: 11.98 kB / 435.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.009066, allocations: 0 / 435.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.009074, allocations: 0 / 435.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.009075, allocations: 0 / 435.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009076, allocations: 3.938 kB / 435.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.00929, allocations: 151.5 kB / 435.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.009308, allocations: 7.891 kB / 435.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.009329, allocations: 4 kB / 435.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.009385, allocations: 7.984 kB / 435.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.0094, allocations: 0 / 435.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.009403, allocations: 3.938 kB / 435.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.009553, allocations: 125.8 kB / 435.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.009554, allocations: 0 / 435.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.009856, allocations: 35.81 kB / 435.8 MB, free: 12.62 MB / 366.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.001716/0.01157, allocations: 469.4 kB / 436.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.01168, allocations: 19.92 kB / 436.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.01169, allocations: 4 kB / 436.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.907e-05/0.01171, allocations: 8 kB / 436.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.01203, allocations: 23.86 kB / 436.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.01243, allocations: 148.9 kB / 436.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.061e-05/0.01253, allocations: 83.02 kB / 436.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.947e-05/0.0126, allocations: 19.97 kB / 436.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.01264, allocations: 16.48 kB / 436.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.01264, allocations: 0 / 436.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Templates: time 0.005537/0.01818, allocations: 1.632 MB / 438.2 MB, free: 10.36 MB / 366.1 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: 4.9040922075510025] Failed to read output from testmodel.py, exit status != 0: 0.02851688116788864 0.24709973100000002 0.238454555 Calling exit ...