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.001673/0.001673, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001987/0.001987, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.536/1.536, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.289/0.289, allocations: 38.51 MB / 348.7 MB, free: 2.59 MB / 270.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.002795/0.002795, allocations: 63.91 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1432, allocations: 62.42 MB / 0.5367 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009847/0.153, allocations: 7.528 MB / 0.544 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007387/0.1604, allocations: 4.51 MB / 0.5484 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.1611, allocations: 15.94 kB / 0.5485 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002962/0.164, allocations: 1.039 MB / 0.5495 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.1675, allocations: 1.289 MB / 0.5507 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.1686, allocations: 347 kB / 0.5511 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.1706, allocations: 1.395 MB / 0.5524 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.1716, allocations: 0.6369 MB / 0.553 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.173, allocations: 0.6576 MB / 0.5537 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.1741, allocations: 0.8061 MB / 0.5545 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.1743, allocations: 76 kB / 0.5545 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.1772, allocations: 1.594 MB / 0.5561 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007743/0.178, allocations: 0.6195 MB / 0.5567 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007392/0.1787, allocations: 0.5599 MB / 0.5572 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003701/0.1824, allocations: 1.888 MB / 0.5591 GB, free: 0.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1825, allocations: 4 kB / 0.5591 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1825, allocations: 0 / 0.5591 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.287e-05/0.1825, allocations: 0 / 0.5591 GB, free: 0.4961 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.002663/0.1851, allocations: 1.367 MB / 0.5604 GB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1852, allocations: 8.031 kB / 0.5604 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.1854, allocations: 164.8 kB / 0.5606 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004256/0.1897, allocations: 0.5463 MB / 0.5611 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.1909, allocations: 0.564 MB / 0.5617 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.986e-05/0.1909, allocations: 66.36 kB / 0.5617 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.1911, allocations: 92.36 kB / 0.5618 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.1938, allocations: 1.497 MB / 0.5633 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.1938, allocations: 0 / 0.5633 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.194, allocations: 43.97 kB / 0.5633 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.1941, allocations: 98.02 kB / 0.5634 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/0.1968, allocations: 1.546 MB / 0.5649 GB, free: 10.36 MB / 430.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.009319/0.2061, allocations: 4.909 MB / 0.5697 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.208, allocations: 1.086 MB / 0.5708 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.2092, allocations: 0.6865 MB / 0.5715 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-05/0.2093, allocations: 20.98 kB / 0.5715 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.061e-05/0.2093, allocations: 39.56 kB / 0.5715 GB, free: 3.371 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.527e-06/0.2094, allocations: 0 / 0.5715 GB, free: 3.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.008979/0.2183, allocations: 3.683 MB / 0.5751 GB, free: 15.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.2184, allocations: 90.09 kB / 0.5752 GB, free: 15.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006058/0.219, allocations: 477.8 kB / 0.5757 GB, free: 15.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.251e-05/0.2191, allocations: 45.7 kB / 0.5757 GB, free: 15.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.2194, allocations: 432.7 kB / 0.5761 GB, free: 14.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004641/0.2199, allocations: 392.6 kB / 0.5765 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/0.2203, allocations: 202.9 kB / 0.5767 GB, free: 13.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.2205, allocations: 378.8 kB / 0.577 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009141/0.2214, allocations: 0.5374 MB / 0.5776 GB, free: 13.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.2225, allocations: 0.7578 MB / 0.5783 GB, free: 12.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/0.2248, allocations: 1.408 MB / 0.5797 GB, free: 10.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.2248, allocations: 4 kB / 0.5797 GB, free: 10.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003508/0.2283, allocations: 1.79 MB / 0.5814 GB, free: 8.938 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.2283, allocations: 11.94 kB / 0.5814 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.713e-05/0.2284, allocations: 8 kB / 0.5815 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.2296, allocations: 405.8 kB / 0.5818 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009842/0.2306, allocations: 235.6 kB / 0.5821 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008664/0.2393, allocations: 6.078 MB / 0.588 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/0.2401, allocations: 67.95 kB / 0.5881 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/0.2402, allocations: 47.98 kB / 0.5881 GB, free: 1.793 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.0005915/0.2408, allocations: 369.3 kB / 0.5885 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.241, allocations: 75.53 kB / 0.5885 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2804/0.5214, allocations: 1.785 MB / 0.5903 GB, free: 50.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/0.5214, allocations: 12.91 kB / 0.5903 GB, free: 50.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.5214, allocations: 7.719 kB / 0.5903 GB, free: 50.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.313e-05/0.5214, allocations: 10.03 kB / 0.5903 GB, free: 50.02 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.006804/0.5282, allocations: 3.454 MB / 0.5937 GB, free: 49.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.5282, allocations: 7.797 kB / 0.5937 GB, free: 49.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008207/0.5291, allocations: 189 kB / 0.5939 GB, free: 49.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.5301, allocations: 343.9 kB / 0.5942 GB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.5302, allocations: 29.94 kB / 0.5942 GB, free: 49.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007519/0.5377, allocations: 5.788 MB / 0.5999 GB, free: 45.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.5377, allocations: 3.938 kB / 0.5999 GB, free: 45.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.5418, allocations: 1.818 MB / 0.6017 GB, free: 44.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.5422, allocations: 167.7 kB / 0.6018 GB, free: 44.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.5423, allocations: 22.66 kB / 0.6018 GB, free: 44.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/0.5429, allocations: 50.78 kB / 0.6019 GB, free: 44.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/0.5433, allocations: 93.72 kB / 0.602 GB, free: 44.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.5434, allocations: 37.31 kB / 0.602 GB, free: 44.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000529/0.5439, allocations: 328.4 kB / 0.6023 GB, free: 44.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5439, allocations: 1.422 kB / 0.6023 GB, free: 44.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001782/0.5457, allocations: 396.8 kB / 0.6027 GB, free: 44.05 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.003907/0.5496, allocations: 2.388 MB / 0.605 GB, free: 42.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003109/0.5527, allocations: 1.678 MB / 0.6067 GB, free: 41.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.5527, allocations: 0 / 0.6067 GB, free: 41.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001866/0.5546, allocations: 1.029 MB / 0.6077 GB, free: 41.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.5557, allocations: 120.9 kB / 0.6078 GB, free: 41.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.5683, allocations: 9.135 MB / 0.6167 GB, free: 36.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.5689, allocations: 1.176 MB / 0.6179 GB, free: 36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004815/0.5694, allocations: 239.3 kB / 0.6181 GB, free: 35.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.5698, allocations: 339.3 kB / 0.6184 GB, free: 35.73 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5698, allocations: 0 / 0.6184 GB, free: 35.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0478/0.6176, allocations: 20.92 MB / 0.6388 GB, free: 16.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.1, allocations: 3.984 kB / 0.6389 GB, free: 16.64 MB / 446.1 MB " [Timeout remaining time 648] (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.328004064998822] Failed to read output from testmodel.py, exit status != 0: 12.203016321000177 12.220496425 12.034605623 Calling exit ...