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.00193/0.00193, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002275/0.002275, allocations: 206.4 kB / 23.72 MB, free: 4.414 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.793 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.1858/0.1858, allocations: 38.56 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.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.003523/0.003523, allocations: 71.89 kB / 492.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3112, allocations: 62.46 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008317/0.3196, allocations: 7.048 MB / 0.5488 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00618/0.3257, allocations: 4.164 MB / 0.5529 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000358/0.3261, allocations: 16.56 kB / 0.5529 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002632/0.3287, allocations: 1.016 MB / 0.5539 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.3318, allocations: 1.301 MB / 0.5552 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3329, allocations: 345.7 kB / 0.5555 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.3346, allocations: 1.397 MB / 0.5569 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009136/0.3356, allocations: 0.5861 MB / 0.5574 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.3366, allocations: 0.6537 MB / 0.5581 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009916/0.3376, allocations: 0.767 MB / 0.5588 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.3377, allocations: 80 kB / 0.5589 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.3405, allocations: 1.41 MB / 0.5603 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006258/0.3411, allocations: 0.6039 MB / 0.5609 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005488/0.3417, allocations: 489.9 kB / 0.5613 GB, free: 336 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.3446, allocations: 1.9 MB / 0.5632 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3446, allocations: 0 / 0.5632 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3446, allocations: 0 / 0.5632 GB, free: 14.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.3446, allocations: 4 kB / 0.5632 GB, free: 14.42 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.002052/0.3466, allocations: 1.284 MB / 0.5645 GB, free: 13.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3467, allocations: 11.98 kB / 0.5645 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.3469, allocations: 160.8 kB / 0.5646 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003824/0.3507, allocations: 0.5463 MB / 0.5652 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.3517, allocations: 0.5114 MB / 0.5657 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.3518, allocations: 70.36 kB / 0.5657 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.352, allocations: 80.38 kB / 0.5658 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.3544, allocations: 1.508 MB / 0.5673 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.3544, allocations: 0 / 0.5673 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.3545, allocations: 39.97 kB / 0.5673 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.3547, allocations: 102 kB / 0.5674 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.3573, allocations: 1.538 MB / 0.5689 GB, free: 8.453 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.008143/0.3654, allocations: 4.35 MB / 0.5732 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.3673, allocations: 1.087 MB / 0.5742 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.3683, allocations: 0.6904 MB / 0.5749 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.09e-05/0.3684, allocations: 13 kB / 0.5749 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.3684, allocations: 43.56 kB / 0.5749 GB, free: 2.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.707e-06/0.3684, allocations: 3.938 kB / 0.5749 GB, free: 2.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.007879/0.3763, allocations: 3.529 MB / 0.5784 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.3764, allocations: 90.11 kB / 0.5785 GB, free: 14.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.3769, allocations: 481.7 kB / 0.5789 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/0.377, allocations: 41.7 kB / 0.579 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.3773, allocations: 444.6 kB / 0.5794 GB, free: 13.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.3776, allocations: 384.7 kB / 0.5798 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.378, allocations: 198.9 kB / 0.58 GB, free: 12.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3781, allocations: 382.8 kB / 0.5803 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000855/0.379, allocations: 0.5413 MB / 0.5809 GB, free: 11.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.38, allocations: 0.7539 MB / 0.5816 GB, free: 11.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/0.382, allocations: 1.404 MB / 0.583 GB, free: 9.656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.382, allocations: 0 / 0.583 GB, free: 9.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003119/0.3851, allocations: 1.79 MB / 0.5847 GB, free: 7.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3851, allocations: 8 kB / 0.5847 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.3851, allocations: 8 kB / 0.5847 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.3863, allocations: 413.7 kB / 0.5851 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009192/0.3872, allocations: 231.6 kB / 0.5853 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/0.3947, allocations: 5.695 MB / 0.5909 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.3955, allocations: 71.92 kB / 0.591 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/0.3956, allocations: 40 kB / 0.591 GB, free: 1.172 MB / 430.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.0005434/0.3961, allocations: 366.5 kB / 0.5914 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.3963, allocations: 83.47 kB / 0.5914 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.3995, allocations: 1.783 MB / 0.5932 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.3995, allocations: 16 kB / 0.5932 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.3995, allocations: 11.94 kB / 0.5932 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.3995, allocations: 7.969 kB / 0.5932 GB, free: 14.89 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.006053/0.4056, allocations: 3.184 MB / 0.5963 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.4056, allocations: 4 kB / 0.5963 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000776/0.4064, allocations: 196.1 kB / 0.5965 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009457/0.4073, allocations: 349.5 kB / 0.5968 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.911e-05/0.4074, allocations: 31.92 kB / 0.5969 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006994/0.4144, allocations: 5.455 MB / 0.6022 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.4144, allocations: 11.92 kB / 0.6022 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.4174, allocations: 1.817 MB / 0.604 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.4176, allocations: 91.44 kB / 0.6041 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.4177, allocations: 24 kB / 0.6041 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/0.4182, allocations: 51.89 kB / 0.6041 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.4184, allocations: 96.75 kB / 0.6042 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/0.4185, allocations: 40 kB / 0.6043 GB, free: 3.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003917/0.4189, allocations: 327.1 kB / 0.6046 GB, free: 2.824 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4189, allocations: 0 / 0.6046 GB, free: 2.824 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001171/0.4201, allocations: 399.9 kB / 0.605 GB, free: 2.434 MB / 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.003359/0.4234, allocations: 2.384 MB / 0.6073 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002838/0.4263, allocations: 1.673 MB / 0.6089 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.4263, allocations: 0 / 0.6089 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.4279, allocations: 1.038 MB / 0.6099 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.4288, allocations: 126.8 kB / 0.6101 GB, free: 13.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.4431, allocations: 9.128 MB / 0.619 GB, free: 3.594 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/0.4439, allocations: 0.5794 MB / 0.6195 GB, free: 2.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006325/0.4446, allocations: 233.4 kB / 0.6198 GB, free: 2.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/0.4451, allocations: 343.3 kB / 0.6201 GB, free: 2.418 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4451, allocations: 0 / 0.6201 GB, free: 2.418 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06247/0.5076, allocations: 21.94 MB / 0.6415 GB, free: 12.65 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.61, allocations: 17.08 kB / 0.6415 GB, free: 12.64 MB / 494.1 MB " [Timeout remaining time 647] (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: 15.619369692634791] Failed to read output from testmodel.py, exit status != 0: 12.738254692871124 12.765394657 12.415180112 Calling exit ...