Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001348/0.001348, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001519/0.001519, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2131/0.2131, 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [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.002427/0.002427, allocations: 71.89 kB / 493.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3585, allocations: 62.46 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006403/0.3649, allocations: 4.011 MB / 0.5471 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.3667, allocations: 0.8767 MB / 0.5479 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.3669, allocations: 14.47 kB / 0.548 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.3671, allocations: 51.72 kB / 0.548 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005587/0.3677, allocations: 183.7 kB / 0.5482 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.3679, allocations: 92.28 kB / 0.5483 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.3684, allocations: 397.9 kB / 0.5486 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.3687, allocations: 85.66 kB / 0.5487 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.369, allocations: 188.7 kB / 0.5489 GB, free: 12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.3694, allocations: 182.2 kB / 0.5491 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.3694, allocations: 19.66 kB / 0.5491 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.742e-05/0.3695, allocations: 19.59 kB / 0.5491 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.3696, allocations: 93.17 kB / 0.5492 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.3697, allocations: 114.7 kB / 0.5493 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.3701, allocations: 287.9 kB / 0.5496 GB, free: 11.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3701, allocations: 5.438 kB / 0.5496 GB, free: 11.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3701, allocations: 0 / 0.5496 GB, free: 11.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.3702, allocations: 7.922 kB / 0.5496 GB, free: 11.57 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.001062/0.3712, allocations: 0.5322 MB / 0.5501 GB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3713, allocations: 13.55 kB / 0.5501 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.3713, allocations: 31.19 kB / 0.5502 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.3719, allocations: 279.9 kB / 0.5504 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.3719, allocations: 20.72 kB / 0.5505 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.372, allocations: 27.06 kB / 0.5505 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.3724, allocations: 286.6 kB / 0.5508 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3724, allocations: 1.219 kB / 0.5508 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.3725, allocations: 10.72 kB / 0.5508 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.3725, allocations: 5.312 kB / 0.5508 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.3728, allocations: 182.5 kB / 0.5509 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.3743, allocations: 1.112 MB / 0.552 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.3746, allocations: 106.3 kB / 0.5521 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.3747, allocations: 41.8 kB / 0.5522 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.3747, allocations: 2.188 kB / 0.5522 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.3748, allocations: 36.28 kB / 0.5522 GB, free: 9.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.3748, allocations: 0 / 0.5522 GB, free: 9.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009077/0.3757, allocations: 413.1 kB / 0.5526 GB, free: 9.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.3757, allocations: 82.36 kB / 0.5527 GB, free: 8.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.376, allocations: 249.1 kB / 0.5529 GB, free: 8.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.376, allocations: 26.45 kB / 0.5529 GB, free: 8.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.3762, allocations: 205.5 kB / 0.5531 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.3762, allocations: 41.09 kB / 0.5532 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-05/0.3763, allocations: 44.7 kB / 0.5532 GB, free: 8.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3765, allocations: 340.3 kB / 0.5535 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.425e-05/0.3766, allocations: 31.39 kB / 0.5536 GB, free: 8.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.3767, allocations: 135.5 kB / 0.5537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.377, allocations: 187.2 kB / 0.5539 GB, free: 7.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.377, allocations: 1.094 kB / 0.5539 GB, free: 7.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003682/0.3774, allocations: 213.8 kB / 0.5541 GB, free: 7.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.3774, allocations: 6.562 kB / 0.5541 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3774, allocations: 3.625 kB / 0.5541 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.3775, allocations: 9.469 kB / 0.5541 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.3777, allocations: 45.56 kB / 0.5542 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.3777, allocations: 5.375 kB / 0.5542 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3778, allocations: 7.719 kB / 0.5542 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.3778, allocations: 8.969 kB / 0.5542 GB, free: 7.66 MB / 398.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 (24): * Single equations (assignments): 24 * 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.0001805/0.378, allocations: 160.7 kB / 0.5543 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.378, allocations: 25.52 kB / 0.5543 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.3783, allocations: 130.9 kB / 0.5545 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3783, allocations: 5.188 kB / 0.5545 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3783, allocations: 1.219 kB / 0.5545 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3783, allocations: 5.094 kB / 0.5545 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.3789, allocations: 403.4 kB / 0.5549 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3789, allocations: 1.281 kB / 0.5549 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.379, allocations: 25.78 kB / 0.5549 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.379, allocations: 2.25 kB / 0.5549 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.3791, allocations: 5.391 kB / 0.5549 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3791, allocations: 1.031 kB / 0.5549 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3791, allocations: 5.125 kB / 0.5549 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.3795, allocations: 283.2 kB / 0.5552 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3795, allocations: 27.28 kB / 0.5552 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.3795, allocations: 1.969 kB / 0.5552 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3796, allocations: 9.438 kB / 0.5552 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.3797, allocations: 11.11 kB / 0.5552 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3797, allocations: 11.92 kB / 0.5552 GB, free: 6.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.3799, allocations: 169.5 kB / 0.5554 GB, free: 6.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3799, allocations: 0 / 0.5554 GB, free: 6.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.3802, allocations: 48.84 kB / 0.5554 GB, free: 6.637 MB / 398.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 (13): * Single equations (assignments): 12 * 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.0001296/0.3804, allocations: 95.72 kB / 0.5555 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.3806, allocations: 108.5 kB / 0.5556 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3806, allocations: 0 / 0.5556 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.644e-05/0.3807, allocations: 40.36 kB / 0.5557 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.3812, allocations: 62.64 kB / 0.5557 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.3823, allocations: 0.5886 MB / 0.5563 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.3825, allocations: 162.8 kB / 0.5565 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.3826, allocations: 21.28 kB / 0.5565 GB, free: 5.891 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3826, allocations: 0 / 0.5565 GB, free: 5.891 MB / 398.1 MB Notification: Performance of Templates: time 0.005701/0.3883, allocations: 3.106 MB / 0.5595 GB, free: 2.926 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8884228258393705] Failed to read output from testmodel.py, exit status != 0: 0.3974783248268068 0.41215280499999996 0.038773129 Calling exit ...