Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001777/0.001777, allocations: 113.4 kB / 20.43 MB, free: 1.457 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.002029/0.002029, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.1896/0.1896, allocations: 38.52 MB / 352.4 MB, free: 12.53 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.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_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.002043/0.002043, allocations: 75.89 kB / 492.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3397, allocations: 62.46 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007642/0.3473, allocations: 5.355 MB / 0.5472 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00427/0.3516, allocations: 1.81 MB / 0.549 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/0.352, allocations: 22.81 kB / 0.549 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.3539, allocations: 460 kB / 0.5495 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.3551, allocations: 302.2 kB / 0.5497 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.3567, allocations: 368.4 kB / 0.5501 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.3584, allocations: 0.7814 MB / 0.5509 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000838/0.3593, allocations: 311.5 kB / 0.5512 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009687/0.3603, allocations: 355.3 kB / 0.5515 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.3614, allocations: 494.5 kB / 0.552 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.3615, allocations: 50.66 kB / 0.552 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006335/0.3622, allocations: 196.6 kB / 0.5522 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004326/0.3626, allocations: 290.4 kB / 0.5525 GB, free: 8.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005987/0.3632, allocations: 334.9 kB / 0.5528 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.3649, allocations: 0.8223 MB / 0.5536 GB, free: 7.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3649, allocations: 0 / 0.5536 GB, free: 7.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3649, allocations: 1.5 kB / 0.5536 GB, free: 7.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.095e-05/0.365, allocations: 0 / 0.5536 GB, free: 7.773 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002833/0.3678, allocations: 0.8566 MB / 0.5544 GB, free: 7.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.3679, allocations: 12.64 kB / 0.5545 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002015/0.3681, allocations: 100.2 kB / 0.5545 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/0.3702, allocations: 170.3 kB / 0.5547 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.3721, allocations: 484.3 kB / 0.5552 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/0.3721, allocations: 34.44 kB / 0.5552 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006586/0.3728, allocations: 136.7 kB / 0.5553 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.3751, allocations: 0.8598 MB / 0.5562 GB, free: 5.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.3751, allocations: 3.938 kB / 0.5562 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.3752, allocations: 23.98 kB / 0.5562 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007902/0.376, allocations: 72.92 kB / 0.5563 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.3781, allocations: 0.6205 MB / 0.5569 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00784/0.3859, allocations: 3.724 MB / 0.5605 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.3877, allocations: 0.5227 MB / 0.561 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008591/0.3886, allocations: 318.8 kB / 0.5613 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.684e-05/0.3887, allocations: 8.375 kB / 0.5613 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.3887, allocations: 39 kB / 0.5614 GB, free: 316 kB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 4.138e-06/0.3887, allocations: 3.938 kB / 0.5614 GB, free: 312 kB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.005861/0.3946, allocations: 1.774 MB / 0.5631 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.3947, allocations: 81.55 kB / 0.5632 GB, free: 14.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/0.3955, allocations: 421.8 kB / 0.5636 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/0.3956, allocations: 33.7 kB / 0.5636 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.396, allocations: 336.6 kB / 0.5639 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.3963, allocations: 206.3 kB / 0.5641 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004119/0.3968, allocations: 154.2 kB / 0.5643 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002911/0.397, allocations: 374.8 kB / 0.5646 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.3981, allocations: 373.5 kB / 0.565 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.3995, allocations: 0.5979 MB / 0.5656 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/0.4022, allocations: 1.066 MB / 0.5666 GB, free: 10.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4022, allocations: 0 / 0.5666 GB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.008363/0.4106, allocations: 1.97 MB / 0.5685 GB, free: 8.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.4106, allocations: 8 kB / 0.5686 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.4107, allocations: 11.94 kB / 0.5686 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004452/0.4151, allocations: 0.9696 MB / 0.5695 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008773/0.416, allocations: 123.8 kB / 0.5696 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/0.4359, allocations: 7.991 MB / 0.5774 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009747/0.4368, allocations: 31.98 kB / 0.5775 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.437, allocations: 40.08 kB / 0.5775 GB, free: 15.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006417/0.4376, allocations: 244.4 kB / 0.5777 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.4378, allocations: 51.67 kB / 0.5778 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.44, allocations: 0.7256 MB / 0.5785 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.4401, allocations: 12.06 kB / 0.5785 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4401, allocations: 0 / 0.5785 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.4401, allocations: 3.984 kB / 0.5785 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/0.4449, allocations: 1.492 MB / 0.58 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.4449, allocations: 4 kB / 0.58 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/0.4468, allocations: 191.8 kB / 0.5802 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.4468, allocations: 0 / 0.5802 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.447, allocations: 31.92 kB / 0.5802 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/0.447, allocations: 4.094 kB / 0.5802 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.447, allocations: 7.984 kB / 0.5802 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.4496, allocations: 0.9974 MB / 0.5812 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.4498, allocations: 51.66 kB / 0.5812 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.45, allocations: 35.92 kB / 0.5813 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/0.4506, allocations: 23.97 kB / 0.5813 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.4507, allocations: 32.38 kB / 0.5813 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.219e-05/0.4508, allocations: 19.98 kB / 0.5813 GB, free: 11.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005806/0.4514, allocations: 279.1 kB / 0.5816 GB, free: 10.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4514, allocations: 0 / 0.5816 GB, free: 10.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001637/0.453, allocations: 212 kB / 0.5818 GB, free: 10.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003171/0.4562, allocations: 1.569 MB / 0.5833 GB, free: 9.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004492/0.4607, allocations: 1.428 MB / 0.5847 GB, free: 7.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.4607, allocations: 0 / 0.5847 GB, free: 7.691 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008608/0.4616, allocations: 294.3 kB / 0.585 GB, free: 7.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4627, allocations: 132.4 kB / 0.5851 GB, free: 7.285 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02842/0.4911, allocations: 9.694 MB / 0.5946 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.4922, allocations: 0.9843 MB / 0.5956 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008602/0.4931, allocations: 196.6 kB / 0.5957 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.4935, allocations: 235.3 kB / 0.596 GB, free: 11.83 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4935, allocations: 0 / 0.596 GB, free: 11.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07326/0.5668, allocations: 18.41 MB / 0.6139 GB, free: 9.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.26, allocations: 0 / 0.6139 GB, free: 9.57 MB / 462.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.810119770998426] Failed to read output from testmodel.py, exit status != 0: 13.389863372998661 13.41759019 13.04793577 Calling exit ...