Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001513/0.001513, allocations: 84.38 kB / 20.68 MB, free: 1.039 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.00182/0.00182, allocations: 164.7 kB / 23.95 MB, free: 4.168 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.529/1.529, allocations: 177.1 MB / 204.3 MB, free: 9.199 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.1798/0.1798, allocations: 29.43 MB / 290.1 MB, free: 3.305 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.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.188e-06/4.188e-06, allocations: 4 kB / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.377e-05, allocations: 6.219 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.00613/0.006164, allocations: 3.854 MB / 434.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.007911, allocations: 0.8493 MB / 435.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.008133, allocations: 19.81 kB / 435.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.008326, allocations: 47.62 kB / 435.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006057/0.008931, allocations: 178.8 kB / 435.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.009188, allocations: 83.75 kB / 435.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.009725, allocations: 378.5 kB / 436.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.009908, allocations: 56.73 kB / 436.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000494/0.0104, allocations: 239.2 kB / 436.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.01074, allocations: 151.6 kB / 436.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.996e-05/0.01079, allocations: 16 kB / 436.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.01085, allocations: 16 kB / 436.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.01097, allocations: 91.7 kB / 436.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.01111, allocations: 79.83 kB / 436.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.01149, allocations: 247.1 kB / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.01149, allocations: 0 / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.0115, allocations: 0 / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.0115, allocations: 4 kB / 437 MB, free: 11.64 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009179/0.01242, allocations: 0.4939 MB / 437.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.01246, allocations: 11.98 kB / 437.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.01254, allocations: 36.75 kB / 437.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.01306, allocations: 268 kB / 437.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.01308, allocations: 12.88 kB / 437.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.01312, allocations: 20.38 kB / 437.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.01357, allocations: 274.8 kB / 438.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.01358, allocations: 7.875 kB / 438.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.01361, allocations: 15.94 kB / 438.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.01362, allocations: 4 kB / 438.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.01392, allocations: 159.8 kB / 438.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.01528, allocations: 1.048 MB / 439.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.01546, allocations: 77.05 kB / 439.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.01552, allocations: 37.81 kB / 439.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.01554, allocations: 0 / 439.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.01557, allocations: 34.56 kB / 439.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.01558, allocations: 0 / 439.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007873/0.01636, allocations: 348.2 kB / 439.8 MB, free: 8.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.01642, allocations: 77.11 kB / 439.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.01668, allocations: 237.9 kB / 440.1 MB, free: 8.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.01671, allocations: 25.7 kB / 440.2 MB, free: 8.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.01687, allocations: 200 kB / 440.3 MB, free: 8.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.01691, allocations: 27.75 kB / 440.4 MB, free: 8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.01698, allocations: 41.7 kB / 440.4 MB, free: 7.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.01714, allocations: 334.8 kB / 440.7 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.01721, allocations: 27.98 kB / 440.8 MB, free: 7.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.01735, allocations: 116.8 kB / 440.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.01758, allocations: 168.7 kB / 441 MB, free: 7.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01759, allocations: 0 / 441 MB, free: 7.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003098/0.0179, allocations: 189.2 kB / 441.2 MB, free: 7.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.01792, allocations: 10.66 kB / 441.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.01793, allocations: 4 kB / 441.2 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.01795, allocations: 4 kB / 441.3 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.01812, allocations: 39.92 kB / 441.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.01814, allocations: 8.422 kB / 441.3 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.01825, allocations: 15.94 kB / 441.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.01826, allocations: 8 kB / 441.3 MB, free: 6.941 MB / 366.1 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 (22): * Single equations (assignments): 22 * 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.000159/0.01842, allocations: 153.7 kB / 441.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.01848, allocations: 19.86 kB / 441.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.01865, allocations: 91.39 kB / 441.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.01866, allocations: 4 kB / 441.6 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01866, allocations: 3.938 kB / 441.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.01867, allocations: 8.359 kB / 441.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.01914, allocations: 343.1 kB / 441.9 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.01914, allocations: 3.984 kB / 441.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.01925, allocations: 23.97 kB / 442 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.01926, allocations: 4 kB / 442 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.01927, allocations: 0 / 442 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.01927, allocations: 3.938 kB / 442 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.01927, allocations: 4 kB / 442 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.01956, allocations: 229 kB / 442.2 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.0196, allocations: 19.84 kB / 442.2 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.01963, allocations: 7.984 kB / 442.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.01973, allocations: 7.938 kB / 442.2 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.01975, allocations: 7.984 kB / 442.2 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.01976, allocations: 4.062 kB / 442.2 MB, free: 5.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.01992, allocations: 165.2 kB / 442.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01992, allocations: 0 / 442.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.02026, allocations: 40 kB / 442.4 MB, free: 5.746 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0001232/0.02038, allocations: 95.19 kB / 442.5 MB, free: 5.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.02062, allocations: 84.41 kB / 442.6 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02062, allocations: 256 / 442.6 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.033e-05/0.02068, allocations: 24.47 kB / 442.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.02128, allocations: 59.84 kB / 442.7 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.02263, allocations: 460.2 kB / 443.2 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.02289, allocations: 150.2 kB / 443.3 MB, free: 4.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.02303, allocations: 30.27 kB / 443.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.0231, allocations: 20.5 kB / 443.3 MB, free: 4.785 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.0231, allocations: 0 / 443.3 MB, free: 4.785 MB / 366.1 MB Notification: Performance of Templates: time 0.006191/0.02929, allocations: 1.761 MB / 445.1 MB, free: 3.066 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.841675780713558] Failed to read output from testmodel.py, exit status != 0: 0.03943873941898346 0.27492337799999994 0.26048189099999997 Calling exit ...