Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.001192/0.001192, allocations: 79.7 kB / 20.66 MB, free: 3.879 MB / 18.57 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.0008788/0.0008788, allocations: 170 kB / 23.94 MB, free: 0.5977 MB / 18.57 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 0.8543/0.8543, allocations: 177.2 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2061/0.2061, allocations: 29.41 MB / 290.2 MB, free: 2.441 MB / 266.7 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.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 430.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.338e-05, allocations: 5.375 kB / 430.3 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.004786/0.004799, allocations: 7.176 MB / 437.5 MB, free: 6.422 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003933/0.008732, allocations: 4.4 MB / 441.9 MB, free: 2.004 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.009067, allocations: 19.88 kB / 441.9 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.01045, allocations: 1.065 MB / 442.9 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1566/0.167, allocations: 1.281 MB / 444.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.1677, allocations: 376.5 kB / 444.6 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009336/0.1687, allocations: 1.464 MB / 446 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004386/0.1691, allocations: 0.5138 MB / 446.6 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.1697, allocations: 0.8344 MB / 447.4 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.1701, allocations: 0.703 MB / 448.1 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.1702, allocations: 63.91 kB / 448.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009174/0.1711, allocations: 1.216 MB / 449.4 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.1713, allocations: 0.5014 MB / 449.9 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.1715, allocations: 325.9 kB / 450.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008694/0.1723, allocations: 1.616 MB / 451.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1724, allocations: 0 / 451.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1724, allocations: 0 / 451.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.1724, allocations: 3.75 kB / 451.8 MB, free: 43.19 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.0008161/0.1732, allocations: 1.11 MB / 452.9 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1732, allocations: 17.14 kB / 452.9 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.791e-05/0.1733, allocations: 133.1 kB / 453.1 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.1749, allocations: 419.9 kB / 453.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.1753, allocations: 450.9 kB / 453.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.1754, allocations: 56.3 kB / 454 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.1754, allocations: 78.77 kB / 454.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009476/0.1764, allocations: 1.225 MB / 455.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1764, allocations: 5.531 kB / 455.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.1765, allocations: 29.19 kB / 455.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-05/0.1765, allocations: 78.25 kB / 455.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1775, allocations: 1.303 MB / 456.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002707/0.1802, allocations: 3.402 MB / 460.1 MB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/0.1811, allocations: 1.008 MB / 461.1 MB, free: 39.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.1816, allocations: 0.5759 MB / 461.7 MB, free: 39.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.1816, allocations: 13.92 kB / 461.7 MB, free: 39.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1816, allocations: 50.72 kB / 461.7 MB, free: 39.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 2.104e-06/0.1817, allocations: 0 / 461.7 MB, free: 39.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.003436/0.1851, allocations: 3.061 MB / 464.8 MB, free: 38.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.1851, allocations: 90.95 kB / 464.9 MB, free: 38.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.1853, allocations: 386.4 kB / 465.3 MB, free: 37.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.1853, allocations: 41.02 kB / 465.3 MB, free: 37.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.1854, allocations: 328.1 kB / 465.6 MB, free: 37.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1855, allocations: 336.8 kB / 466 MB, free: 37.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1857, allocations: 165.8 kB / 466.1 MB, free: 37.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.253e-05/0.1857, allocations: 367.8 kB / 466.5 MB, free: 37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.1861, allocations: 466.9 kB / 466.9 MB, free: 36.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.1865, allocations: 0.5775 MB / 467.5 MB, free: 36.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00087/0.1874, allocations: 1.115 MB / 468.6 MB, free: 36.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1874, allocations: 4 kB / 468.6 MB, free: 36.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001372/0.1888, allocations: 1.474 MB / 470.1 MB, free: 35.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1888, allocations: 5.969 kB / 470.1 MB, free: 35.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1888, allocations: 5.344 kB / 470.1 MB, free: 35.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.1893, allocations: 331.1 kB / 470.4 MB, free: 35.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.1897, allocations: 186.9 kB / 470.6 MB, free: 35.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.1924, allocations: 3.9 MB / 474.5 MB, free: 33.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.1927, allocations: 50.2 kB / 474.6 MB, free: 33.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.1927, allocations: 32.5 kB / 474.6 MB, free: 33.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.1929, allocations: 309.4 kB / 474.9 MB, free: 32.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.193, allocations: 61.31 kB / 475 MB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.1943, allocations: 1.535 MB / 476.5 MB, free: 32.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1943, allocations: 12.38 kB / 476.5 MB, free: 32.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1943, allocations: 6.906 kB / 476.5 MB, free: 32.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.1943, allocations: 8 kB / 476.5 MB, free: 32.26 MB / 410.7 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.002823/0.1972, allocations: 2.756 MB / 479.3 MB, free: 31.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1972, allocations: 4.25 kB / 479.3 MB, free: 31.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.1975, allocations: 167.5 kB / 479.5 MB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.198, allocations: 286.5 kB / 479.7 MB, free: 31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.198, allocations: 24.73 kB / 479.8 MB, free: 30.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/0.2007, allocations: 3.69 MB / 483.4 MB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2007, allocations: 8.062 kB / 483.5 MB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.2022, allocations: 1.567 MB / 485 MB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.2022, allocations: 64.58 kB / 485.1 MB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.2023, allocations: 23.8 kB / 485.1 MB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.2025, allocations: 41.69 kB / 485.2 MB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.2026, allocations: 92.66 kB / 485.2 MB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/0.2027, allocations: 37.62 kB / 485.3 MB, free: 27.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001681/0.2028, allocations: 263.5 kB / 485.5 MB, free: 27.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2028, allocations: 3.938 kB / 485.5 MB, free: 27.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005753/0.2034, allocations: 312.9 kB / 485.8 MB, free: 27.69 MB / 410.7 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001469/0.2049, allocations: 2.127 MB / 488 MB, free: 26.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.2063, allocations: 1.331 MB / 489.3 MB, free: 25.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2063, allocations: 0.6562 kB / 489.3 MB, free: 25.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006855/0.207, allocations: 0.7902 MB / 490.1 MB, free: 25.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.2074, allocations: 108.9 kB / 490.2 MB, free: 25.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006672/0.2141, allocations: 7.641 MB / 497.8 MB, free: 21.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.2145, allocations: 489.9 kB / 498.3 MB, free: 21.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002855/0.2148, allocations: 186.6 kB / 498.5 MB, free: 21.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.215, allocations: 271.4 kB / 498.8 MB, free: 21.33 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.215, allocations: 0 / 498.8 MB, free: 21.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.243, allocations: 18.18 MB / 0.5048 GB, free: 10.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/7.601, allocations: 14.66 kB / 0.5048 GB, free: 10.13 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened_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_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.461828272324055] Failed to read output from testmodel.py, exit status != 0: 7.688618191052228 7.697920002 7.523829467 Calling exit ...