Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.00131/0.00131, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001452/0.001452, allocations: 211.5 kB / 24.48 MB, free: 3.941 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.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.2465/0.2465, allocations: 38.56 MB / 353.2 MB, free: 12.29 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [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.002124/0.002124, allocations: 75.91 kB / 493.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3268, allocations: 62.47 MB / 0.5432 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006148/0.333, allocations: 4.013 MB / 0.5471 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3347, allocations: 0.8286 MB / 0.5479 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3348, allocations: 18.88 kB / 0.5479 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.335, allocations: 48.06 kB / 0.548 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000507/0.3355, allocations: 171.6 kB / 0.5481 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.3358, allocations: 81.28 kB / 0.5482 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.3362, allocations: 400.7 kB / 0.5486 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.3364, allocations: 72.38 kB / 0.5487 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.3368, allocations: 195.2 kB / 0.5488 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.3371, allocations: 178.3 kB / 0.549 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.3372, allocations: 19.81 kB / 0.549 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.705e-05/0.3372, allocations: 21.56 kB / 0.5491 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3374, allocations: 88.61 kB / 0.5491 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.3375, allocations: 118.2 kB / 0.5492 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.3379, allocations: 291.1 kB / 0.5495 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3379, allocations: 0 / 0.5495 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3379, allocations: 4 kB / 0.5495 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.338, allocations: 0 / 0.5495 GB, free: 11.6 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001315/0.3393, allocations: 0.5291 MB / 0.55 GB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.3393, allocations: 13.61 kB / 0.5501 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.3394, allocations: 36.31 kB / 0.5501 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.3401, allocations: 274.9 kB / 0.5504 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.3401, allocations: 18.59 kB / 0.5504 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.3403, allocations: 42.42 kB / 0.5504 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.3408, allocations: 288.9 kB / 0.5507 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3408, allocations: 1.094 kB / 0.5507 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.3408, allocations: 18.12 kB / 0.5507 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3408, allocations: 6.375 kB / 0.5507 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.3412, allocations: 185.9 kB / 0.5509 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.3429, allocations: 1.149 MB / 0.552 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.3432, allocations: 115 kB / 0.5521 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.3433, allocations: 45.3 kB / 0.5522 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3433, allocations: 4.984 kB / 0.5522 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3433, allocations: 33.19 kB / 0.5522 GB, free: 9.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.3433, allocations: 1.281 kB / 0.5522 GB, free: 9.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000995/0.3443, allocations: 467.9 kB / 0.5527 GB, free: 8.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.3444, allocations: 109 kB / 0.5528 GB, free: 8.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.3447, allocations: 249.6 kB / 0.553 GB, free: 8.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3447, allocations: 26.77 kB / 0.553 GB, free: 8.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.3449, allocations: 200.6 kB / 0.5532 GB, free: 8.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3449, allocations: 49.22 kB / 0.5533 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.415e-05/0.345, allocations: 44.12 kB / 0.5533 GB, free: 8.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3452, allocations: 340.9 kB / 0.5536 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.657e-05/0.3452, allocations: 36.23 kB / 0.5537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.3454, allocations: 135.4 kB / 0.5538 GB, free: 7.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.3457, allocations: 192.1 kB / 0.554 GB, free: 7.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3457, allocations: 1.375 kB / 0.554 GB, free: 7.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004479/0.3461, allocations: 230.2 kB / 0.5542 GB, free: 7.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3461, allocations: 6.281 kB / 0.5542 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.3462, allocations: 3.938 kB / 0.5542 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.3463, allocations: 38.02 kB / 0.5542 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.3466, allocations: 60.02 kB / 0.5543 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/0.3466, allocations: 12.44 kB / 0.5543 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.3468, allocations: 8.656 kB / 0.5543 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.3468, allocations: 12.05 kB / 0.5543 GB, free: 7.477 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.3469, allocations: 147.2 kB / 0.5545 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.347, allocations: 26.17 kB / 0.5545 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.3473, allocations: 141.1 kB / 0.5546 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3473, allocations: 2.531 kB / 0.5546 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3473, allocations: 5.469 kB / 0.5546 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3473, allocations: 0 / 0.5546 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.3476, allocations: 204.9 kB / 0.5548 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3476, allocations: 1.312 kB / 0.5548 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.3478, allocations: 33.36 kB / 0.5549 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3478, allocations: 1.188 kB / 0.5549 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3478, allocations: 2.156 kB / 0.5549 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3478, allocations: 1.156 kB / 0.5549 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3478, allocations: 1.375 kB / 0.5549 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/0.3483, allocations: 376.3 kB / 0.5552 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.3483, allocations: 18.45 kB / 0.5552 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.3484, allocations: 10.19 kB / 0.5553 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.3485, allocations: 1.281 kB / 0.5553 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.3486, allocations: 20.67 kB / 0.5553 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3486, allocations: 7.641 kB / 0.5553 GB, free: 6.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.3487, allocations: 172.5 kB / 0.5554 GB, free: 6.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3487, allocations: 0 / 0.5554 GB, free: 6.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.3491, allocations: 45.06 kB / 0.5555 GB, free: 6.555 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0001186/0.3493, allocations: 97.31 kB / 0.5556 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003443/0.3496, allocations: 122.5 kB / 0.5557 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3496, allocations: 0 / 0.5557 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.98e-05/0.3497, allocations: 51.31 kB / 0.5557 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.3503, allocations: 61.56 kB / 0.5558 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3515, allocations: 0.6441 MB / 0.5564 GB, free: 5.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.3517, allocations: 166.5 kB / 0.5566 GB, free: 5.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.3518, allocations: 20.59 kB / 0.5566 GB, free: 5.734 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3518, allocations: 0 / 0.5566 GB, free: 5.734 MB / 398.1 MB Notification: Performance of Templates: time 0.007009/0.3588, allocations: 3.645 MB / 0.5602 GB, free: 2.234 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.035769371781498] Failed to read output from testmodel.py, exit status != 0: 0.3684043390676379 0.38418175200000004 0.042905538 Calling exit ...