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.001817/0.001817, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002163/0.002163, allocations: 207.2 kB / 23.73 MB, free: 4.379 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1864/0.1864, allocations: 38.55 MB / 352.5 MB, free: 12.27 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.002087/0.002087, allocations: 74.23 kB / 492.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3456, allocations: 62.46 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007961/0.3535, allocations: 4.767 MB / 0.5466 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.3563, allocations: 1.247 MB / 0.5478 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003957/0.3567, allocations: 21.12 kB / 0.5478 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.3572, allocations: 113.2 kB / 0.5479 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000939/0.3582, allocations: 331.2 kB / 0.5483 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.3587, allocations: 162.7 kB / 0.5484 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009308/0.3596, allocations: 0.7121 MB / 0.5491 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.3599, allocations: 115.9 kB / 0.5492 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00057/0.3604, allocations: 324 kB / 0.5495 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007009/0.3611, allocations: 458.5 kB / 0.55 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.576e-05/0.3612, allocations: 50.12 kB / 0.55 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3614, allocations: 46.06 kB / 0.5501 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.3616, allocations: 242.7 kB / 0.5503 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.3619, allocations: 246.3 kB / 0.5505 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000753/0.3627, allocations: 0.6066 MB / 0.5511 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3627, allocations: 0 / 0.5511 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3627, allocations: 0 / 0.5511 GB, free: 9.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.3627, allocations: 1.156 kB / 0.5511 GB, free: 9.551 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.002014/0.3647, allocations: 0.8944 MB / 0.552 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3648, allocations: 13.67 kB / 0.552 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.892e-05/0.3649, allocations: 71.25 kB / 0.5521 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.365, allocations: 55.02 kB / 0.5521 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.3663, allocations: 0.5458 MB / 0.5527 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.3663, allocations: 27.66 kB / 0.5527 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.3664, allocations: 43.94 kB / 0.5527 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/0.3673, allocations: 0.5564 MB / 0.5533 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.3674, allocations: 5.062 kB / 0.5533 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.3674, allocations: 11.38 kB / 0.5533 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003287/0.3677, allocations: 87.44 kB / 0.5534 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005865/0.3683, allocations: 360.1 kB / 0.5537 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.3716, allocations: 1.934 MB / 0.5556 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008578/0.3725, allocations: 375.3 kB / 0.556 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005435/0.373, allocations: 285.5 kB / 0.5562 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.373, allocations: 0 / 0.5562 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.3731, allocations: 46.48 kB / 0.5563 GB, free: 5.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.3731, allocations: 0 / 0.5563 GB, free: 5.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004532/0.3776, allocations: 1.937 MB / 0.5582 GB, free: 3.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.3777, allocations: 81.11 kB / 0.5582 GB, free: 3.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005365/0.3782, allocations: 393.7 kB / 0.5586 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.3783, allocations: 33.7 kB / 0.5586 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.3785, allocations: 256.6 kB / 0.5589 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.3786, allocations: 138.8 kB / 0.559 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.3788, allocations: 102.1 kB / 0.5591 GB, free: 2.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3789, allocations: 354.7 kB / 0.5595 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.3793, allocations: 244.9 kB / 0.5597 GB, free: 1.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.3798, allocations: 366 kB / 0.56 GB, free: 1.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/0.3806, allocations: 0.6079 MB / 0.5606 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3806, allocations: 4 kB / 0.5606 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001809/0.3825, allocations: 1.014 MB / 0.5616 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3825, allocations: 8 kB / 0.5616 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3825, allocations: 4 kB / 0.5616 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.3835, allocations: 409.2 kB / 0.562 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.3838, allocations: 75.91 kB / 0.5621 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005801/0.3896, allocations: 4.909 MB / 0.5669 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.3901, allocations: 43.94 kB / 0.5669 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.3901, allocations: 20 kB / 0.567 GB, free: 9.945 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.00033/0.3904, allocations: 197.7 kB / 0.5671 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.3905, allocations: 47.72 kB / 0.5672 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.3921, allocations: 0.8271 MB / 0.568 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.3921, allocations: 4 kB / 0.568 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3921, allocations: 4 kB / 0.568 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3921, allocations: 3.984 kB / 0.568 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.3945, allocations: 1.343 MB / 0.5693 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.3945, allocations: 7.938 kB / 0.5693 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3947, allocations: 40.02 kB / 0.5694 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.3958, allocations: 445.3 kB / 0.5698 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/0.3959, allocations: 31.97 kB / 0.5698 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006166/0.4021, allocations: 6.281 MB / 0.576 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4021, allocations: 8.031 kB / 0.576 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.4041, allocations: 1.11 MB / 0.5771 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.4042, allocations: 39.72 kB / 0.5771 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/0.4043, allocations: 31.98 kB / 0.5771 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.4046, allocations: 35.94 kB / 0.5772 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4047, allocations: 35.92 kB / 0.5772 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.4048, allocations: 19.92 kB / 0.5772 GB, free: 14.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003602/0.4051, allocations: 267.1 kB / 0.5775 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4051, allocations: 4 kB / 0.5775 GB, free: 14.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007885/0.4059, allocations: 160 kB / 0.5776 GB, free: 14.38 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.002284/0.4082, allocations: 1.675 MB / 0.5793 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.4101, allocations: 0.8763 MB / 0.5801 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4101, allocations: 0 / 0.5801 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.4116, allocations: 0.8449 MB / 0.5809 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008434/0.4125, allocations: 132.2 kB / 0.5811 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009303/0.4218, allocations: 6.272 MB / 0.5872 GB, free: 4.246 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.4221, allocations: 278.3 kB / 0.5875 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.4224, allocations: 72.34 kB / 0.5875 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.4226, allocations: 159.4 kB / 0.5877 GB, free: 3.719 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4226, allocations: 0 / 0.5877 GB, free: 3.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0662/0.4888, allocations: 13.8 MB / 0.6011 GB, free: 6.145 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.35, allocations: 4 kB / 0.6012 GB, free: 6.141 MB / 446.1 MB " [Timeout remaining time 648] (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.864505856996402] Failed to read output from testmodel.py, exit status != 0: 12.469185842957813 12.486232221 12.120025546 Calling exit ...