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.001638/0.001638, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001935/0.001935, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1915/0.1915, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002209/0.002209, allocations: 71.91 kB / 493 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3895, allocations: 62.46 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006166/0.3956, allocations: 4.019 MB / 0.5464 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3972, allocations: 0.8258 MB / 0.5472 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.3974, allocations: 14.81 kB / 0.5472 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.3976, allocations: 56.09 kB / 0.5472 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004968/0.3981, allocations: 167.9 kB / 0.5474 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.3983, allocations: 84.72 kB / 0.5475 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.3987, allocations: 401.6 kB / 0.5479 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.3989, allocations: 66.52 kB / 0.5479 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.3993, allocations: 195 kB / 0.5481 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.3997, allocations: 187.1 kB / 0.5483 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.3997, allocations: 19.38 kB / 0.5483 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.934e-05/0.3998, allocations: 20.84 kB / 0.5483 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.3999, allocations: 86.41 kB / 0.5484 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.4001, allocations: 113.4 kB / 0.5485 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.4005, allocations: 287.7 kB / 0.5488 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4005, allocations: 0 / 0.5488 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4005, allocations: 0 / 0.5488 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4005, allocations: 5.781 kB / 0.5488 GB, free: 11.62 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.0012/0.4017, allocations: 0.5322 MB / 0.5493 GB, free: 11.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4017, allocations: 13.33 kB / 0.5493 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.4018, allocations: 31.75 kB / 0.5494 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.4025, allocations: 279.6 kB / 0.5496 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.4025, allocations: 13.69 kB / 0.5496 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.4027, allocations: 47.27 kB / 0.5497 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.4032, allocations: 289.9 kB / 0.55 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4032, allocations: 3.938 kB / 0.55 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.4032, allocations: 6.594 kB / 0.55 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.4032, allocations: 5.406 kB / 0.55 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.4036, allocations: 186.9 kB / 0.5501 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.4053, allocations: 1.149 MB / 0.5513 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.4057, allocations: 123.1 kB / 0.5514 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.108e-05/0.4058, allocations: 43.7 kB / 0.5514 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.4058, allocations: 6.547 kB / 0.5514 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.4058, allocations: 37.12 kB / 0.5515 GB, free: 9.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.4058, allocations: 0 / 0.5515 GB, free: 9.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001016/0.4068, allocations: 468.9 kB / 0.5519 GB, free: 8.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/0.4069, allocations: 113.1 kB / 0.552 GB, free: 8.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.4072, allocations: 244.6 kB / 0.5523 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.4072, allocations: 26.92 kB / 0.5523 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.4074, allocations: 201.2 kB / 0.5525 GB, free: 8.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.4075, allocations: 45.03 kB / 0.5525 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.4075, allocations: 44.03 kB / 0.5526 GB, free: 8.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4077, allocations: 340.2 kB / 0.5529 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.4078, allocations: 37.58 kB / 0.5529 GB, free: 8.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.4079, allocations: 130.7 kB / 0.553 GB, free: 7.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.4082, allocations: 203.2 kB / 0.5532 GB, free: 7.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4082, allocations: 1.094 kB / 0.5532 GB, free: 7.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004478/0.4087, allocations: 226.8 kB / 0.5535 GB, free: 7.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4087, allocations: 6.406 kB / 0.5535 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4087, allocations: 8.5 kB / 0.5535 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.4088, allocations: 30.03 kB / 0.5535 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.4091, allocations: 59.48 kB / 0.5536 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.4092, allocations: 9.938 kB / 0.5536 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.4093, allocations: 7.25 kB / 0.5536 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.4093, allocations: 12.11 kB / 0.5536 GB, free: 7.496 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.0001697/0.4095, allocations: 147.2 kB / 0.5537 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.4096, allocations: 25.89 kB / 0.5538 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.4099, allocations: 137.3 kB / 0.5539 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4099, allocations: 6.219 kB / 0.5539 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.4099, allocations: 5.031 kB / 0.5539 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.4099, allocations: 5.047 kB / 0.5539 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.4102, allocations: 205 kB / 0.5541 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4102, allocations: 1.156 kB / 0.5541 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.4104, allocations: 33.77 kB / 0.5541 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4104, allocations: 1.25 kB / 0.5541 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4104, allocations: 1.25 kB / 0.5541 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4104, allocations: 2.469 kB / 0.5541 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4104, allocations: 7.922 kB / 0.5541 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.4109, allocations: 377.3 kB / 0.5545 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.411, allocations: 18.23 kB / 0.5545 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.411, allocations: 6.406 kB / 0.5545 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.4112, allocations: 1.156 kB / 0.5545 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.4112, allocations: 16.55 kB / 0.5545 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.4112, allocations: 11.08 kB / 0.5546 GB, free: 6.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.4114, allocations: 169.4 kB / 0.5547 GB, free: 6.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4114, allocations: 0 / 0.5547 GB, free: 6.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.4118, allocations: 45.66 kB / 0.5548 GB, free: 6.57 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.0001251/0.4119, allocations: 100.3 kB / 0.5549 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.4123, allocations: 126.6 kB / 0.555 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4123, allocations: 0 / 0.555 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.065e-05/0.4123, allocations: 47.45 kB / 0.555 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.4129, allocations: 46.66 kB / 0.5551 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.4142, allocations: 0.6155 MB / 0.5557 GB, free: 5.918 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.4144, allocations: 158.3 kB / 0.5558 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.4146, allocations: 32.53 kB / 0.5558 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.4146, allocations: 28.02 kB / 0.5559 GB, free: 5.77 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4146, allocations: 0 / 0.5559 GB, free: 5.77 MB / 398.1 MB Notification: Performance of Templates: time 0.0074/0.422, allocations: 2.599 MB / 0.5584 GB, free: 3.367 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: 5.1921882424503565] Failed to read output from testmodel.py, exit status != 0: 0.43184991739690304 0.447145024 0.043481185000000006 Calling exit ...