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.001277/0.001277, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.0014/0.0014, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.387/1.387, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.1722/0.1722, allocations: 38.54 MB / 353.2 MB, free: 12.54 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.002136/0.002136, allocations: 67.89 kB / 493.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3113, allocations: 62.46 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006477/0.3178, allocations: 5.075 MB / 0.5482 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.32, allocations: 1.343 MB / 0.5495 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.3203, allocations: 25.56 kB / 0.5495 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.3207, allocations: 129.8 kB / 0.5496 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006676/0.3214, allocations: 327.7 kB / 0.55 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.3218, allocations: 161.9 kB / 0.5501 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007825/0.3226, allocations: 0.7037 MB / 0.5508 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.3228, allocations: 113.1 kB / 0.5509 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005203/0.3233, allocations: 323.6 kB / 0.5512 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006704/0.324, allocations: 466.1 kB / 0.5517 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.543e-05/0.324, allocations: 46.59 kB / 0.5517 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3242, allocations: 47.03 kB / 0.5517 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.3244, allocations: 250.3 kB / 0.552 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.3247, allocations: 281 kB / 0.5523 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000701/0.3254, allocations: 0.6062 MB / 0.5528 GB, free: 9.441 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3254, allocations: 0 / 0.5528 GB, free: 9.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3254, allocations: 0 / 0.5528 GB, free: 9.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3254, allocations: 0 / 0.5528 GB, free: 9.441 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.002004/0.3274, allocations: 0.8914 MB / 0.5537 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3275, allocations: 13.02 kB / 0.5537 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.3276, allocations: 54.27 kB / 0.5538 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.3289, allocations: 0.5511 MB / 0.5543 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.3289, allocations: 30.81 kB / 0.5543 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.329, allocations: 38.94 kB / 0.5544 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008391/0.3298, allocations: 0.5546 MB / 0.5549 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3298, allocations: 1.031 kB / 0.5549 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.3299, allocations: 15.36 kB / 0.5549 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002983/0.3302, allocations: 87.67 kB / 0.555 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/0.3307, allocations: 357.4 kB / 0.5554 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.3338, allocations: 2.02 MB / 0.5573 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008359/0.3346, allocations: 379.8 kB / 0.5577 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.3351, allocations: 289.5 kB / 0.558 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.3352, allocations: 11.88 kB / 0.558 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.3352, allocations: 34.56 kB / 0.558 GB, free: 5.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.734e-06/0.3352, allocations: 0 / 0.558 GB, free: 5.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004279/0.3395, allocations: 1.941 MB / 0.5599 GB, free: 3.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.3396, allocations: 81.11 kB / 0.56 GB, free: 2.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.34, allocations: 381.6 kB / 0.5604 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.34, allocations: 33.7 kB / 0.5604 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.3402, allocations: 256.7 kB / 0.5606 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.3404, allocations: 138.8 kB / 0.5608 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.3405, allocations: 98.14 kB / 0.5609 GB, free: 2.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3407, allocations: 362.7 kB / 0.5612 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.3411, allocations: 240.9 kB / 0.5614 GB, free: 1.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.3415, allocations: 366 kB / 0.5618 GB, free: 1.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.3423, allocations: 0.6157 MB / 0.5624 GB, free: 420 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3423, allocations: 4 kB / 0.5624 GB, free: 416 kB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001728/0.3441, allocations: 1.006 MB / 0.5634 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3441, allocations: 14.84 kB / 0.5634 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3441, allocations: 4 kB / 0.5634 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009845/0.3451, allocations: 413.5 kB / 0.5638 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.3454, allocations: 79.89 kB / 0.5639 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005639/0.351, allocations: 4.928 MB / 0.5687 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.3514, allocations: 43.94 kB / 0.5687 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.3514, allocations: 20.12 kB / 0.5687 GB, free: 9.668 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.0003434/0.3518, allocations: 201.7 kB / 0.5689 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.529e-05/0.3519, allocations: 39.72 kB / 0.569 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.3535, allocations: 0.8349 MB / 0.5698 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3535, allocations: 4 kB / 0.5698 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3535, allocations: 4 kB / 0.5698 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3535, allocations: 3.938 kB / 0.5698 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.3558, allocations: 1.394 MB / 0.5712 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3558, allocations: 0 / 0.5712 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.356, allocations: 35.92 kB / 0.5712 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.3572, allocations: 445.4 kB / 0.5716 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/0.3573, allocations: 39.91 kB / 0.5716 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005973/0.3633, allocations: 6.305 MB / 0.5778 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3633, allocations: 0 / 0.5778 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.3651, allocations: 1.11 MB / 0.5789 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.3653, allocations: 43.66 kB / 0.5789 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.592e-05/0.3653, allocations: 31.98 kB / 0.579 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.3656, allocations: 35.94 kB / 0.579 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/0.3657, allocations: 35.92 kB / 0.579 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.3658, allocations: 19.97 kB / 0.579 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003168/0.3661, allocations: 267.1 kB / 0.5793 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3661, allocations: 3.938 kB / 0.5793 GB, free: 14.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006793/0.3667, allocations: 156 kB / 0.5795 GB, free: 14.04 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.0001739/0.3669, allocations: 126 kB / 0.5796 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.3686, allocations: 0.8645 MB / 0.5804 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.3686, allocations: 4.188 kB / 0.5804 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.3701, allocations: 0.8563 MB / 0.5813 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007005/0.3708, allocations: 128.5 kB / 0.5814 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.3738, allocations: 1.901 MB / 0.5832 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005749/0.3744, allocations: 0.8896 MB / 0.5841 GB, free: 9.117 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.961e-05/0.3745, allocations: 31.44 kB / 0.5841 GB, free: 9.086 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3745, allocations: 0 / 0.5841 GB, free: 9.086 MB / 430.1 MB Notification: Performance of Templates: time 0.01855/0.393, allocations: 13.3 MB / 0.5971 GB, free: 11.79 MB / 446.1 MB " [Timeout remaining time 660] 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: 9.552267578896135] Failed to read output from testmodel.py, exit status != 0: 0.4024444790557027 0.41679127200000005 0.08819347000000001 Calling exit ...