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.001299/0.001299, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001441/0.001441, allocations: 209.6 kB / 23.73 MB, free: 4.523 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1859/0.1859, allocations: 38.55 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.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.002019/0.002019, allocations: 71.89 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3024, allocations: 62.47 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007037/0.3094, allocations: 5.003 MB / 0.5468 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003241/0.3127, allocations: 1.671 MB / 0.5485 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.313, allocations: 25.56 kB / 0.5485 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.3145, allocations: 432.9 kB / 0.5489 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008707/0.3153, allocations: 307.9 kB / 0.5492 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.3165, allocations: 369.9 kB / 0.5495 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009723/0.3174, allocations: 0.7676 MB / 0.5503 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004978/0.3179, allocations: 312.9 kB / 0.5506 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005611/0.3185, allocations: 362.9 kB / 0.5509 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007147/0.3192, allocations: 494.6 kB / 0.5514 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.3193, allocations: 50.19 kB / 0.5515 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.3198, allocations: 182.9 kB / 0.5516 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003346/0.3201, allocations: 295 kB / 0.5519 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003676/0.3205, allocations: 283 kB / 0.5522 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009768/0.3215, allocations: 0.8299 MB / 0.553 GB, free: 8.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3215, allocations: 0 / 0.553 GB, free: 8.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3215, allocations: 0 / 0.553 GB, free: 8.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3215, allocations: 0.9375 kB / 0.553 GB, free: 8.188 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.001773/0.3232, allocations: 0.857 MB / 0.5538 GB, free: 7.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3233, allocations: 17.11 kB / 0.5538 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.3234, allocations: 96.23 kB / 0.5539 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.3245, allocations: 170.1 kB / 0.5541 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3256, allocations: 480.4 kB / 0.5546 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.3257, allocations: 43.52 kB / 0.5546 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003498/0.326, allocations: 129.3 kB / 0.5547 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.3274, allocations: 0.8602 MB / 0.5556 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.3274, allocations: 7.938 kB / 0.5556 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.3274, allocations: 20 kB / 0.5556 GB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004528/0.3279, allocations: 68.94 kB / 0.5557 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.3289, allocations: 0.6166 MB / 0.5563 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005124/0.3341, allocations: 3.591 MB / 0.5598 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.3352, allocations: 0.5242 MB / 0.5603 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/0.3357, allocations: 311 kB / 0.5606 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-05/0.3357, allocations: 8.375 kB / 0.5606 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.804e-05/0.3358, allocations: 42.98 kB / 0.5606 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/0.3358, allocations: 0 / 0.5606 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003164/0.339, allocations: 1.77 MB / 0.5623 GB, free: 14.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.3391, allocations: 85.55 kB / 0.5624 GB, free: 14.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.3395, allocations: 429.7 kB / 0.5628 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.3396, allocations: 41.83 kB / 0.5629 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.3398, allocations: 336.5 kB / 0.5632 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.34, allocations: 206.3 kB / 0.5634 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.3403, allocations: 150.3 kB / 0.5635 GB, free: 13.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3404, allocations: 370.7 kB / 0.5639 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/0.341, allocations: 377.5 kB / 0.5643 GB, free: 12.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007429/0.3418, allocations: 0.6018 MB / 0.5648 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.3432, allocations: 1.066 MB / 0.5659 GB, free: 11.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3432, allocations: 0 / 0.5659 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004642/0.3479, allocations: 1.97 MB / 0.5678 GB, free: 9.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.3479, allocations: 12.64 kB / 0.5678 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.3479, allocations: 11.94 kB / 0.5678 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.3504, allocations: 0.9562 MB / 0.5688 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.3509, allocations: 115.8 kB / 0.5689 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.3628, allocations: 7.919 MB / 0.5766 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/0.3635, allocations: 39.97 kB / 0.5766 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.509e-05/0.3636, allocations: 36.02 kB / 0.5767 GB, free: 15.78 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.0003995/0.364, allocations: 249.6 kB / 0.5769 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3641, allocations: 55.66 kB / 0.577 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.3653, allocations: 0.7139 MB / 0.5777 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.3653, allocations: 15.92 kB / 0.5777 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3653, allocations: 0 / 0.5777 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3653, allocations: 0 / 0.5777 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.3681, allocations: 1.43 MB / 0.5791 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3681, allocations: 0 / 0.5791 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.3692, allocations: 191.9 kB / 0.5793 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.3692, allocations: 0 / 0.5793 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.413e-05/0.3693, allocations: 35.91 kB / 0.5793 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.3693, allocations: 4 kB / 0.5793 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.3693, allocations: 7.875 kB / 0.5793 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.3708, allocations: 0.9956 MB / 0.5803 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.371, allocations: 51.66 kB / 0.5803 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.3711, allocations: 31.92 kB / 0.5804 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.3715, allocations: 24.03 kB / 0.5804 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.3716, allocations: 40.31 kB / 0.5804 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.3716, allocations: 20 kB / 0.5804 GB, free: 11.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003697/0.372, allocations: 283.1 kB / 0.5807 GB, free: 11.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.372, allocations: 0 / 0.5807 GB, free: 11.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001047/0.373, allocations: 212 kB / 0.5809 GB, free: 11.34 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.001946/0.375, allocations: 1.562 MB / 0.5824 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.3778, allocations: 1.418 MB / 0.5838 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3778, allocations: 128 / 0.5838 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.3783, allocations: 302.3 kB / 0.5841 GB, free: 8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/0.3791, allocations: 127.2 kB / 0.5842 GB, free: 7.887 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/0.3963, allocations: 9.691 MB / 0.5937 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.3967, allocations: 382.6 kB / 0.5941 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000527/0.3973, allocations: 204.6 kB / 0.5943 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/0.3976, allocations: 231.4 kB / 0.5945 GB, free: 13.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3976, allocations: 4 kB / 0.5945 GB, free: 13.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05607/0.4537, allocations: 19.01 MB / 0.613 GB, free: 10.24 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.56, allocations: 0 / 0.613 GB, free: 10.24 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: 18.970818967965897] Failed to read output from testmodel.py, exit status != 0: 12.682670704030897 12.697930386 12.373306819 Calling exit ...