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.001373/0.001373, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001456/0.001456, allocations: 218.2 kB / 23.73 MB, free: 4.16 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.188/0.188, allocations: 38.56 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) [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.002215/0.002215, allocations: 71.91 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3263, allocations: 62.46 MB / 0.5419 GB, free: 280 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006518/0.3328, allocations: 4.767 MB / 0.5466 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.3352, allocations: 1.239 MB / 0.5478 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.3355, allocations: 21.47 kB / 0.5478 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.3359, allocations: 113.7 kB / 0.5479 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007296/0.3367, allocations: 342.7 kB / 0.5483 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.3371, allocations: 150.6 kB / 0.5484 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008149/0.3379, allocations: 0.7117 MB / 0.5491 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.3381, allocations: 108.5 kB / 0.5492 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004869/0.3386, allocations: 331.3 kB / 0.5495 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006546/0.3392, allocations: 454.1 kB / 0.5499 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.701e-05/0.3393, allocations: 45.41 kB / 0.55 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.3394, allocations: 47.09 kB / 0.55 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.3397, allocations: 238.7 kB / 0.5503 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.34, allocations: 245.8 kB / 0.5505 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006584/0.3406, allocations: 0.6081 MB / 0.5511 GB, free: 9.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3406, allocations: 0 / 0.5511 GB, free: 9.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3406, allocations: 0 / 0.5511 GB, free: 9.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3407, allocations: 0 / 0.5511 GB, free: 9.613 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.00197/0.3426, allocations: 0.8987 MB / 0.552 GB, free: 8.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3427, allocations: 17.52 kB / 0.552 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.489e-05/0.3428, allocations: 70.84 kB / 0.5521 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.3429, allocations: 55.55 kB / 0.5521 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.3442, allocations: 0.5423 MB / 0.5526 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.3442, allocations: 26.75 kB / 0.5527 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.3443, allocations: 43.58 kB / 0.5527 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/0.3452, allocations: 0.5457 MB / 0.5532 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3452, allocations: 5.438 kB / 0.5532 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.505e-05/0.3452, allocations: 14.56 kB / 0.5533 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003315/0.3456, allocations: 87.52 kB / 0.5533 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.3462, allocations: 356.7 kB / 0.5537 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.3492, allocations: 1.936 MB / 0.5556 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.3501, allocations: 367.3 kB / 0.5559 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.3506, allocations: 289.5 kB / 0.5562 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.3506, allocations: 11.94 kB / 0.5562 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.3507, allocations: 38.56 kB / 0.5562 GB, free: 5.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.3507, allocations: 0 / 0.5562 GB, free: 5.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004374/0.3551, allocations: 1.945 MB / 0.5581 GB, free: 3.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3551, allocations: 81.11 kB / 0.5582 GB, free: 3.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/0.3555, allocations: 381.6 kB / 0.5586 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.3556, allocations: 33.7 kB / 0.5586 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.3558, allocations: 252.6 kB / 0.5589 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.3559, allocations: 142.8 kB / 0.559 GB, free: 2.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.356, allocations: 98.14 kB / 0.5591 GB, free: 2.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3562, allocations: 370.8 kB / 0.5594 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.3566, allocations: 240.9 kB / 0.5597 GB, free: 1.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.3571, allocations: 362 kB / 0.56 GB, free: 1.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008628/0.3579, allocations: 0.6157 MB / 0.5606 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3579, allocations: 0 / 0.5606 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001797/0.3597, allocations: 1.002 MB / 0.5616 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3597, allocations: 15.92 kB / 0.5616 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.3597, allocations: 4 kB / 0.5616 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.3608, allocations: 401.5 kB / 0.562 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.361, allocations: 83.89 kB / 0.5621 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005576/0.3666, allocations: 4.909 MB / 0.5669 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.367, allocations: 43.94 kB / 0.5669 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.3671, allocations: 24.12 kB / 0.5669 GB, free: 10.01 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.0002791/0.3673, allocations: 197.7 kB / 0.5671 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.05e-05/0.3674, allocations: 47.66 kB / 0.5672 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.369, allocations: 0.8309 MB / 0.568 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.369, allocations: 4 kB / 0.568 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.369, allocations: 0 / 0.568 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.369, allocations: 7.984 kB / 0.568 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.3714, allocations: 1.343 MB / 0.5693 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3714, allocations: 0 / 0.5693 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.3716, allocations: 39.91 kB / 0.5693 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.3727, allocations: 445.4 kB / 0.5698 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.3728, allocations: 35.97 kB / 0.5698 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005925/0.3787, allocations: 6.285 MB / 0.5759 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3787, allocations: 0 / 0.5759 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.3806, allocations: 1.11 MB / 0.577 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.3808, allocations: 47.86 kB / 0.5771 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.509e-05/0.3809, allocations: 31.98 kB / 0.5771 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.3812, allocations: 39.94 kB / 0.5771 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.3813, allocations: 35.92 kB / 0.5772 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.3813, allocations: 15.92 kB / 0.5772 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003183/0.3816, allocations: 263.2 kB / 0.5774 GB, free: 14.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3816, allocations: 3.938 kB / 0.5774 GB, free: 14.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006974/0.3823, allocations: 160 kB / 0.5776 GB, free: 14.45 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.002137/0.3845, allocations: 1.675 MB / 0.5792 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.3862, allocations: 0.8719 MB / 0.5801 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3862, allocations: 0.875 kB / 0.5801 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.3877, allocations: 0.8524 MB / 0.5809 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.3885, allocations: 125.4 kB / 0.581 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009478/0.3979, allocations: 6.268 MB / 0.5872 GB, free: 4.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.3983, allocations: 282.3 kB / 0.5874 GB, free: 4.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003094/0.3986, allocations: 80.33 kB / 0.5875 GB, free: 3.938 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.3989, allocations: 147.4 kB / 0.5876 GB, free: 3.793 MB / 430.1 MB Notification: Performance of SimCode: time 1.643e-06/0.3989, allocations: 0 / 0.5876 GB, free: 3.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07711/0.476, allocations: 13.65 MB / 0.601 GB, free: 6.359 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.48, allocations: 3.938 kB / 0.601 GB, free: 6.355 MB / 446.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.998107818886638] Failed to read output from testmodel.py, exit status != 0: 12.604257842991501 12.631133406 12.285682893 Calling exit ...