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.001473/0.001473, 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.001615/0.001615, allocations: 215.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.487/1.487, allocations: 230.6 MB / 258.2 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.1873/0.1873, allocations: 38.56 MB / 353.2 MB, free: 12.32 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.003067/0.003067, allocations: 67.91 kB / 493.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.424, allocations: 62.46 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007128/0.4311, allocations: 4.763 MB / 0.5478 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.4336, allocations: 1.243 MB / 0.549 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.4338, allocations: 22.38 kB / 0.5491 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.4343, allocations: 112.8 kB / 0.5492 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007903/0.4351, allocations: 343.2 kB / 0.5495 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.4355, allocations: 149.9 kB / 0.5496 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008919/0.4364, allocations: 0.7079 MB / 0.5503 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.4367, allocations: 104.5 kB / 0.5504 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005346/0.4372, allocations: 332.3 kB / 0.5507 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.4379, allocations: 446.9 kB / 0.5512 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.229e-05/0.438, allocations: 44.5 kB / 0.5512 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.4381, allocations: 47.09 kB / 0.5513 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.4384, allocations: 242.1 kB / 0.5515 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.4387, allocations: 239.1 kB / 0.5517 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007442/0.4395, allocations: 0.6175 MB / 0.5523 GB, free: 9.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4395, allocations: 1.125 kB / 0.5523 GB, free: 9.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4395, allocations: 4 kB / 0.5523 GB, free: 9.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.4395, allocations: 0 / 0.5523 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.002084/0.4416, allocations: 0.8871 MB / 0.5532 GB, free: 9.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.4416, allocations: 13.52 kB / 0.5532 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.4418, allocations: 54.8 kB / 0.5532 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.4432, allocations: 0.5501 MB / 0.5538 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.4432, allocations: 23.47 kB / 0.5538 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.4433, allocations: 39.69 kB / 0.5538 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.4443, allocations: 0.5533 MB / 0.5544 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4443, allocations: 12.94 kB / 0.5544 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.4444, allocations: 14.53 kB / 0.5544 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003267/0.4447, allocations: 87.95 kB / 0.5545 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006254/0.4453, allocations: 355.8 kB / 0.5548 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.4486, allocations: 1.877 MB / 0.5567 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.4495, allocations: 367.3 kB / 0.557 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/0.45, allocations: 293.6 kB / 0.5573 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.4501, allocations: 4 kB / 0.5573 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.4501, allocations: 42.44 kB / 0.5573 GB, free: 5.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.4501, allocations: 4 kB / 0.5573 GB, free: 5.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004553/0.4547, allocations: 1.945 MB / 0.5592 GB, free: 3.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.4547, allocations: 89.03 kB / 0.5593 GB, free: 3.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004774/0.4552, allocations: 373.6 kB / 0.5597 GB, free: 3.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.4552, allocations: 33.7 kB / 0.5597 GB, free: 3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.4555, allocations: 256.6 kB / 0.56 GB, free: 2.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.4556, allocations: 142.8 kB / 0.5601 GB, free: 2.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.4558, allocations: 98.14 kB / 0.5602 GB, free: 2.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.456, allocations: 358.7 kB / 0.5605 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.4564, allocations: 244.9 kB / 0.5608 GB, free: 1.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/0.4569, allocations: 362.1 kB / 0.5611 GB, free: 1.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008864/0.4577, allocations: 0.6156 MB / 0.5617 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4577, allocations: 0 / 0.5617 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00185/0.4596, allocations: 1.002 MB / 0.5627 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4596, allocations: 4 kB / 0.5627 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.4596, allocations: 7.938 kB / 0.5627 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4607, allocations: 413.5 kB / 0.5631 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.461, allocations: 75.91 kB / 0.5632 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006016/0.467, allocations: 4.855 MB / 0.5679 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/0.4674, allocations: 43.94 kB / 0.568 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.4675, allocations: 16 kB / 0.568 GB, free: 10.22 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.0003471/0.4678, allocations: 213.7 kB / 0.5682 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.4679, allocations: 39.77 kB / 0.5682 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.4695, allocations: 0.827 MB / 0.569 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4695, allocations: 4 kB / 0.569 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4695, allocations: 4 kB / 0.569 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4695, allocations: 0 / 0.569 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.4718, allocations: 1.297 MB / 0.5703 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4718, allocations: 0 / 0.5703 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.472, allocations: 35.97 kB / 0.5703 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.4731, allocations: 445.4 kB / 0.5708 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/0.4732, allocations: 35.91 kB / 0.5708 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006256/0.4795, allocations: 6.205 MB / 0.5768 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.4795, allocations: 0 / 0.5768 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.4815, allocations: 1.103 MB / 0.5779 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.4816, allocations: 43.72 kB / 0.578 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4818, allocations: 35.91 kB / 0.578 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.4821, allocations: 32.11 kB / 0.578 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4822, allocations: 43.86 kB / 0.5781 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.4822, allocations: 15.98 kB / 0.5781 GB, free: 15.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003483/0.4826, allocations: 255.2 kB / 0.5783 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4826, allocations: 0 / 0.5783 GB, free: 15.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008033/0.4834, allocations: 160 kB / 0.5785 GB, free: 14.87 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.0002045/0.4836, allocations: 116.9 kB / 0.5786 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.4855, allocations: 0.8721 MB / 0.5794 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4855, allocations: 0 / 0.5794 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.4871, allocations: 0.8567 MB / 0.5803 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/0.4879, allocations: 132.6 kB / 0.5804 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.4913, allocations: 1.897 MB / 0.5823 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.4917, allocations: 282.2 kB / 0.5825 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.4918, allocations: 39.44 kB / 0.5826 GB, free: 10.53 MB / 430.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4918, allocations: 0 / 0.5826 GB, free: 10.53 MB / 430.1 MB Notification: Performance of Templates: time 0.0192/0.511, allocations: 13.48 MB / 0.5957 GB, free: 13.06 MB / 446.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: 10.140684738755226] Failed to read output from testmodel.py, exit status != 0: 0.5220248200930655 0.536445434 0.09348672000000001 Calling exit ...