Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.00144/0.00144, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001466/0.001466, allocations: 210.7 kB / 23.72 MB, free: 4.391 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1846/0.1846, allocations: 38.56 MB / 352.5 MB, free: 12.41 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [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.002153/0.002153, allocations: 63.89 kB / 493 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4128, allocations: 62.47 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.008409/0.4213, allocations: 4.76 MB / 0.5471 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003157/0.4244, allocations: 1.24 MB / 0.5483 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003511/0.4248, allocations: 21.06 kB / 0.5483 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.4253, allocations: 113 kB / 0.5484 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009565/0.4263, allocations: 344.5 kB / 0.5487 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.4269, allocations: 149.4 kB / 0.5489 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000967/0.4278, allocations: 0.7121 MB / 0.5496 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.4281, allocations: 105 kB / 0.5497 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000661/0.4287, allocations: 326.7 kB / 0.55 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007866/0.4295, allocations: 454.5 kB / 0.5504 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.4296, allocations: 45.56 kB / 0.5505 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.4298, allocations: 46.94 kB / 0.5505 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.4301, allocations: 242.4 kB / 0.5507 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003148/0.4304, allocations: 238.5 kB / 0.551 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009501/0.4313, allocations: 0.6148 MB / 0.5516 GB, free: 9.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4313, allocations: 0 / 0.5516 GB, free: 9.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4313, allocations: 0 / 0.5516 GB, free: 9.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.4314, allocations: 5.312 kB / 0.5516 GB, free: 9.77 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002352/0.4337, allocations: 0.8987 MB / 0.5525 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.4338, allocations: 12.64 kB / 0.5525 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.4339, allocations: 54.92 kB / 0.5525 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.4354, allocations: 0.5463 MB / 0.5531 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/0.4355, allocations: 22.91 kB / 0.5531 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.4357, allocations: 43.8 kB / 0.5531 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.4368, allocations: 0.5459 MB / 0.5537 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.4368, allocations: 4 kB / 0.5537 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.4368, allocations: 15.41 kB / 0.5537 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003896/0.4372, allocations: 91.95 kB / 0.5538 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007712/0.438, allocations: 356.2 kB / 0.5541 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/0.4414, allocations: 1.877 MB / 0.5559 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008525/0.4422, allocations: 371.3 kB / 0.5563 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.4428, allocations: 285.6 kB / 0.5566 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.4428, allocations: 4 kB / 0.5566 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.4429, allocations: 42.44 kB / 0.5566 GB, free: 5.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.746e-06/0.4429, allocations: 4 kB / 0.5566 GB, free: 5.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.00475/0.4476, allocations: 1.945 MB / 0.5585 GB, free: 3.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.4477, allocations: 81.11 kB / 0.5586 GB, free: 3.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.4482, allocations: 373.6 kB / 0.5589 GB, free: 3.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.35e-05/0.4483, allocations: 37.7 kB / 0.559 GB, free: 2.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.4485, allocations: 252.6 kB / 0.5592 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.4487, allocations: 146.8 kB / 0.5594 GB, free: 2.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.4489, allocations: 98.14 kB / 0.5595 GB, free: 2.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.4491, allocations: 362.7 kB / 0.5598 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/0.4495, allocations: 244.9 kB / 0.56 GB, free: 1.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.45, allocations: 354.1 kB / 0.5604 GB, free: 1.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008801/0.4509, allocations: 0.6235 MB / 0.561 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4509, allocations: 0 / 0.561 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002012/0.4529, allocations: 1.002 MB / 0.562 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.4529, allocations: 4 kB / 0.562 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.4529, allocations: 4 kB / 0.562 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.454, allocations: 417.4 kB / 0.5624 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.4543, allocations: 79.89 kB / 0.5624 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006376/0.4607, allocations: 4.855 MB / 0.5672 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/0.4612, allocations: 48.06 kB / 0.5672 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.4613, allocations: 20 kB / 0.5672 GB, free: 10.17 MB / 414.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003989/0.4617, allocations: 205.7 kB / 0.5674 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.4618, allocations: 39.77 kB / 0.5675 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.4635, allocations: 0.827 MB / 0.5683 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.4635, allocations: 7.938 kB / 0.5683 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4635, allocations: 4 kB / 0.5683 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4635, allocations: 3.984 kB / 0.5683 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.4659, allocations: 1.297 MB / 0.5696 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4659, allocations: 0 / 0.5696 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.4661, allocations: 35.98 kB / 0.5696 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.4673, allocations: 441.4 kB / 0.57 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.655e-05/0.4674, allocations: 35.97 kB / 0.5701 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006852/0.4742, allocations: 6.201 MB / 0.5761 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4742, allocations: 0 / 0.5761 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.4763, allocations: 1.106 MB / 0.5772 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.4765, allocations: 43.7 kB / 0.5772 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/0.4765, allocations: 31.98 kB / 0.5773 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.4769, allocations: 35.94 kB / 0.5773 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.477, allocations: 47.92 kB / 0.5773 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.477, allocations: 15.98 kB / 0.5774 GB, free: 15.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004009/0.4774, allocations: 255.2 kB / 0.5776 GB, free: 14.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4774, allocations: 0 / 0.5776 GB, free: 14.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008859/0.4783, allocations: 160 kB / 0.5778 GB, free: 14.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002467/0.4786, allocations: 116.5 kB / 0.5779 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.4805, allocations: 0.8681 MB / 0.5787 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4805, allocations: 4 kB / 0.5787 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.482, allocations: 0.8528 MB / 0.5796 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/0.4828, allocations: 132.1 kB / 0.5797 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.4861, allocations: 1.852 MB / 0.5815 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.4865, allocations: 278.2 kB / 0.5818 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.4868, allocations: 76.33 kB / 0.5818 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/0.4868, allocations: 31.44 kB / 0.5819 GB, free: 10.48 MB / 430.1 MB Notification: Performance of SimCode: time 1.253e-06/0.4868, allocations: 0 / 0.5819 GB, free: 10.48 MB / 430.1 MB Notification: Performance of Templates: time 0.01662/0.5035, allocations: 8.583 MB / 0.5902 GB, free: 1.988 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.58365248516202] Failed to read output from testmodel.py, exit status != 0: 0.5131485648453236 0.527623684 0.092961162 Calling exit ...