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.001345/0.001345, allocations: 113.1 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.001428/0.001428, allocations: 216.5 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.1913/0.1913, allocations: 38.53 MB / 352.5 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: "" <> 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.002069/0.002069, allocations: 66.55 kB / 492.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3345, allocations: 62.46 MB / 0.542 GB, free: 472 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.009075/0.3436, allocations: 5.084 MB / 0.547 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.3469, allocations: 1.339 MB / 0.5483 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.3472, allocations: 25.47 kB / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005511/0.3477, allocations: 121.6 kB / 0.5484 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.3488, allocations: 331.7 kB / 0.5487 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.3496, allocations: 162.3 kB / 0.5489 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.3511, allocations: 0.7119 MB / 0.5496 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.3514, allocations: 111.9 kB / 0.5497 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006747/0.352, allocations: 324.2 kB / 0.55 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008233/0.3529, allocations: 466.5 kB / 0.5504 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.708e-05/0.353, allocations: 45.72 kB / 0.5505 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.3531, allocations: 51.78 kB / 0.5505 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.3533, allocations: 240.9 kB / 0.5508 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.3537, allocations: 282.3 kB / 0.551 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007515/0.3544, allocations: 0.6097 MB / 0.5516 GB, free: 9.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3544, allocations: 0 / 0.5516 GB, free: 9.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3544, allocations: 1.562 kB / 0.5516 GB, free: 9.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.3544, allocations: 0 / 0.5516 GB, free: 9.277 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.002058/0.3565, allocations: 0.885 MB / 0.5525 GB, free: 8.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3565, allocations: 12.92 kB / 0.5525 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.3567, allocations: 71.28 kB / 0.5526 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.3568, allocations: 58.88 kB / 0.5526 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.3581, allocations: 0.5504 MB / 0.5532 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.3581, allocations: 25.97 kB / 0.5532 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.555e-05/0.3582, allocations: 39.91 kB / 0.5532 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009223/0.3591, allocations: 0.5507 MB / 0.5538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3591, allocations: 2.062 kB / 0.5538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.3592, allocations: 19.45 kB / 0.5538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003241/0.3595, allocations: 86.36 kB / 0.5539 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.3601, allocations: 356.8 kB / 0.5542 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003384/0.3635, allocations: 2.032 MB / 0.5562 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009394/0.3644, allocations: 373.2 kB / 0.5566 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/0.365, allocations: 285.5 kB / 0.5568 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.365, allocations: 4 kB / 0.5568 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.3651, allocations: 38.56 kB / 0.5569 GB, free: 5.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.3651, allocations: 0 / 0.5569 GB, free: 5.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004893/0.3699, allocations: 1.937 MB / 0.5588 GB, free: 3.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.37, allocations: 85.11 kB / 0.5588 GB, free: 2.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.3705, allocations: 381.7 kB / 0.5592 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.3706, allocations: 33.7 kB / 0.5592 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.3708, allocations: 260.6 kB / 0.5595 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.3709, allocations: 138.8 kB / 0.5596 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.3711, allocations: 106.1 kB / 0.5597 GB, free: 2.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.3713, allocations: 362.7 kB / 0.5601 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.3717, allocations: 240.9 kB / 0.5603 GB, free: 1.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.3723, allocations: 358.1 kB / 0.5606 GB, free: 1.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009864/0.3733, allocations: 0.6157 MB / 0.5612 GB, free: 412 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3733, allocations: 3.938 kB / 0.5612 GB, free: 408 kB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001862/0.3752, allocations: 1.013 MB / 0.5622 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3752, allocations: 4 kB / 0.5622 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3752, allocations: 4.344 kB / 0.5622 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.3763, allocations: 409.3 kB / 0.5626 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.3766, allocations: 79.84 kB / 0.5627 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006277/0.3829, allocations: 4.933 MB / 0.5675 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.3833, allocations: 39.95 kB / 0.5676 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.3833, allocations: 16 kB / 0.5676 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.0003854/0.3837, allocations: 209.7 kB / 0.5678 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.112e-05/0.3838, allocations: 43.72 kB / 0.5678 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.3856, allocations: 0.8309 MB / 0.5686 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3856, allocations: 11.98 kB / 0.5686 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3856, allocations: 4 kB / 0.5686 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3856, allocations: 0 / 0.5686 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.3881, allocations: 1.39 MB / 0.57 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3881, allocations: 0 / 0.57 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.3883, allocations: 35.92 kB / 0.57 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.3896, allocations: 449.3 kB / 0.5705 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.3897, allocations: 35.97 kB / 0.5705 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006533/0.3962, allocations: 6.297 MB / 0.5766 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3962, allocations: 0 / 0.5766 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.3982, allocations: 1.11 MB / 0.5777 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3983, allocations: 47.7 kB / 0.5778 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.3984, allocations: 27.98 kB / 0.5778 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.3987, allocations: 35.94 kB / 0.5778 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.3988, allocations: 39.86 kB / 0.5779 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.3989, allocations: 23.86 kB / 0.5779 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003536/0.3992, allocations: 259.2 kB / 0.5781 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3992, allocations: 4 kB / 0.5781 GB, free: 14.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000775/0.4, allocations: 156 kB / 0.5783 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.002226/0.4022, allocations: 1.67 MB / 0.5799 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.4041, allocations: 0.8801 MB / 0.5808 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4041, allocations: 3.938 kB / 0.5808 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.4056, allocations: 0.8526 MB / 0.5816 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.4063, allocations: 124.3 kB / 0.5817 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009454/0.4157, allocations: 6.272 MB / 0.5879 GB, free: 3.898 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.4163, allocations: 0.8742 MB / 0.5887 GB, free: 2.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002411/0.4165, allocations: 76.33 kB / 0.5888 GB, free: 2.922 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.4167, allocations: 147.4 kB / 0.5889 GB, free: 2.777 MB / 430.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4167, allocations: 3.938 kB / 0.5889 GB, free: 2.773 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05247/0.4692, allocations: 12.95 MB / 0.6016 GB, free: 5.988 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.57, allocations: 12 kB / 0.6016 GB, free: 5.977 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: 16.04772154300008] Failed to read output from testmodel.py, exit status != 0: 12.686506639998697 12.716322596 12.356434099 Calling exit ...