Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.001469/0.001469, 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.00181/0.00181, 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2044/0.2044, 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.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.002074/0.002074, allocations: 67.91 kB / 492.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3135, allocations: 62.47 MB / 0.542 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009773/0.3233, allocations: 7.62 MB / 0.5495 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007403/0.3307, allocations: 4.532 MB / 0.5539 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.3311, allocations: 16.44 kB / 0.5539 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.3338, allocations: 1.079 MB / 0.555 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.337, allocations: 1.295 MB / 0.5562 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.3379, allocations: 345.2 kB / 0.5565 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001623/0.3396, allocations: 1.398 MB / 0.5579 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008777/0.3404, allocations: 0.5875 MB / 0.5585 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.3415, allocations: 0.6538 MB / 0.5591 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.3425, allocations: 0.8022 MB / 0.5599 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.3426, allocations: 80 kB / 0.56 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.3455, allocations: 1.656 MB / 0.5616 GB, free: 412 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006151/0.3461, allocations: 0.6234 MB / 0.5622 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006136/0.3467, allocations: 0.556 MB / 0.5628 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.3496, allocations: 1.896 MB / 0.5646 GB, free: 13.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3496, allocations: 0 / 0.5646 GB, free: 13.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3496, allocations: 0 / 0.5646 GB, free: 13.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.3496, allocations: 0 / 0.5646 GB, free: 13.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002102/0.3517, allocations: 1.29 MB / 0.5659 GB, free: 11.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3518, allocations: 15.98 kB / 0.5659 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/0.3519, allocations: 160.8 kB / 0.566 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003878/0.3558, allocations: 0.5463 MB / 0.5666 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.3569, allocations: 0.5076 MB / 0.5671 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.357, allocations: 66.36 kB / 0.5671 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.3572, allocations: 92.36 kB / 0.5672 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.3595, allocations: 1.501 MB / 0.5687 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.3596, allocations: 0 / 0.5687 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.3597, allocations: 35.98 kB / 0.5687 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/0.3598, allocations: 106 kB / 0.5688 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.3625, allocations: 1.55 MB / 0.5703 GB, free: 7.336 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008592/0.3711, allocations: 4.837 MB / 0.575 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.3729, allocations: 1.09 MB / 0.5761 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.374, allocations: 0.6943 MB / 0.5768 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-05/0.374, allocations: 16.98 kB / 0.5768 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.3741, allocations: 47.69 kB / 0.5769 GB, free: 428 kB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.347e-06/0.3741, allocations: 0 / 0.5769 GB, free: 428 kB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.008119/0.3822, allocations: 3.521 MB / 0.5803 GB, free: 12.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.3823, allocations: 90.11 kB / 0.5804 GB, free: 12.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.3829, allocations: 477.8 kB / 0.5808 GB, free: 12.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/0.3829, allocations: 41.7 kB / 0.5809 GB, free: 12.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.3832, allocations: 436.7 kB / 0.5813 GB, free: 11.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.3836, allocations: 396.6 kB / 0.5817 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/0.3839, allocations: 194.9 kB / 0.5819 GB, free: 11.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.3842, allocations: 386.7 kB / 0.5822 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008734/0.385, allocations: 0.5374 MB / 0.5827 GB, free: 10.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.3861, allocations: 0.754 MB / 0.5835 GB, free: 9.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.3881, allocations: 1.408 MB / 0.5849 GB, free: 7.988 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3881, allocations: 0 / 0.5849 GB, free: 7.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003309/0.3914, allocations: 1.786 MB / 0.5866 GB, free: 6.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.3915, allocations: 10.81 kB / 0.5866 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.3915, allocations: 7.984 kB / 0.5866 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.3926, allocations: 405.9 kB / 0.587 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008894/0.3935, allocations: 239.6 kB / 0.5872 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007762/0.4013, allocations: 5.857 MB / 0.593 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008417/0.4021, allocations: 71.94 kB / 0.593 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.4022, allocations: 51.98 kB / 0.5931 GB, free: 15.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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 {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006949/0.4029, allocations: 361.4 kB / 0.5934 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.4031, allocations: 75.53 kB / 0.5935 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/0.4067, allocations: 1.791 MB / 0.5952 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.4067, allocations: 12 kB / 0.5953 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.4067, allocations: 7.938 kB / 0.5953 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.4067, allocations: 11.97 kB / 0.5953 GB, free: 13.03 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006527/0.4132, allocations: 3.429 MB / 0.5986 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.4132, allocations: 4 kB / 0.5986 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007412/0.414, allocations: 187.7 kB / 0.5988 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000966/0.4149, allocations: 353.6 kB / 0.5991 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/0.415, allocations: 31.94 kB / 0.5992 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007244/0.4223, allocations: 5.579 MB / 0.6046 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/0.4223, allocations: 11.92 kB / 0.6046 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/0.4255, allocations: 1.81 MB / 0.6064 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.4257, allocations: 87.45 kB / 0.6065 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.4258, allocations: 24 kB / 0.6065 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005578/0.4264, allocations: 55.89 kB / 0.6066 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.4265, allocations: 96.75 kB / 0.6066 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.67e-05/0.4266, allocations: 36 kB / 0.6067 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000418/0.427, allocations: 327.1 kB / 0.607 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.427, allocations: 0 / 0.607 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001205/0.4282, allocations: 399.9 kB / 0.6074 GB, free: 188 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,7,100.0%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003416/0.4316, allocations: 2.384 MB / 0.6097 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002905/0.4345, allocations: 1.677 MB / 0.6113 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4346, allocations: 4 kB / 0.6113 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.4362, allocations: 1.018 MB / 0.6123 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008078/0.437, allocations: 133.7 kB / 0.6125 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.4517, allocations: 9.125 MB / 0.6214 GB, free: 1.359 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.4528, allocations: 1.182 MB / 0.6225 GB, free: 152 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006602/0.4535, allocations: 233.4 kB / 0.6228 GB, free: 15.92 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/0.454, allocations: 347.3 kB / 0.6231 GB, free: 15.58 MB / 478.1 MB Notification: Performance of SimCode: time 1.553e-06/0.454, allocations: 0 / 0.6231 GB, free: 15.58 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0849/0.5389, allocations: 21.9 MB / 0.6445 GB, free: 9.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.58, allocations: 19.02 kB / 0.6445 GB, free: 9.773 MB / 494.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_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_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.571314715998597] Failed to read output from testmodel.py, exit status != 0: 13.704599327000324 13.731240559 13.376742661 Calling exit ...