Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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.001718/0.001718, allocations: 111.7 kB / 17.17 MB, free: 6.043 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.002274/0.002274, allocations: 208.2 kB / 20.14 MB, free: 3.09 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04091/0.04091, allocations: 6.135 MB / 315.7 MB, free: 1.211 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 57.23 kB / 439.3 MB, free: 40.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09928, allocations: 54.98 MB / 494.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.00411/0.1034, allocations: 4.483 MB / 498.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.1055, allocations: 1.195 MB / 499.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/0.1058, allocations: 12 kB / 499.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.1063, allocations: 218.6 kB / 0.4884 GB, free: 4.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006751/0.1069, allocations: 345.8 kB / 0.4887 GB, free: 4.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.1089, allocations: 1.381 MB / 0.4901 GB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005967/0.1095, allocations: 0.7115 MB / 0.4908 GB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.1098, allocations: 170.2 kB / 0.4909 GB, free: 1.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.11, allocations: 314.8 kB / 0.4912 GB, free: 1.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.1103, allocations: 402.4 kB / 0.4916 GB, free: 1.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.043e-05/0.1104, allocations: 60 kB / 0.4917 GB, free: 1.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.1108, allocations: 331.8 kB / 0.492 GB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.042e-05/0.1109, allocations: 155.3 kB / 0.4922 GB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.1111, allocations: 350.3 kB / 0.4925 GB, free: 368 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1122, allocations: 0.9184 MB / 0.4934 GB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1122, allocations: 0 / 0.4934 GB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1122, allocations: 4 kB / 0.4934 GB, free: 15.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.1122, allocations: 0 / 0.4934 GB, free: 15.43 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.008773/0.1209, allocations: 2.034 MB / 0.4954 GB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.121, allocations: 8.031 kB / 0.4954 GB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.1211, allocations: 106.6 kB / 0.4955 GB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.1213, allocations: 80.47 kB / 0.4956 GB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007338/0.1221, allocations: 446.2 kB / 0.496 GB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.1222, allocations: 75.58 kB / 0.4961 GB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.1223, allocations: 60.38 kB / 0.4961 GB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.1238, allocations: 0.8543 MB / 0.4969 GB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1238, allocations: 0 / 0.4969 GB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.1239, allocations: 20 kB / 0.497 GB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.1239, allocations: 16 kB / 0.497 GB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.1254, allocations: 0.8251 MB / 0.4978 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004716/0.1301, allocations: 2.645 MB / 0.5004 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.1325, allocations: 1.456 MB / 0.5018 GB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000828/0.1333, allocations: 0.4997 MB / 0.5023 GB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.1334, allocations: 28.89 kB / 0.5023 GB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.1335, allocations: 47.56 kB / 0.5024 GB, free: 5.852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.026e-06/0.1335, allocations: 0 / 0.5024 GB, free: 5.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.03168/0.1651, allocations: 5.303 MB / 0.5075 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/0.1652, allocations: 90.09 kB / 0.5076 GB, free: 416 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.1658, allocations: 353.6 kB / 0.508 GB, free: 56 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.166, allocations: 45.7 kB / 0.508 GB, free: 4 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.1662, allocations: 221.7 kB / 0.5082 GB, free: 15.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.1665, allocations: 321.2 kB / 0.5085 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.1669, allocations: 174.6 kB / 0.5087 GB, free: 15.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.1671, allocations: 362.8 kB / 0.509 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009433/0.1681, allocations: 0.5251 MB / 0.5095 GB, free: 14.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009705/0.169, allocations: 0.5864 MB / 0.5101 GB, free: 13.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.1711, allocations: 1.165 MB / 0.5113 GB, free: 12.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1711, allocations: 0 / 0.5113 GB, free: 12.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01251/0.1836, allocations: 2.643 MB / 0.5138 GB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.1836, allocations: 8 kB / 0.5138 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1836, allocations: 0 / 0.5138 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/0.1971, allocations: 1.951 MB / 0.5157 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/0.1977, allocations: 135.8 kB / 0.5159 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/0.2161, allocations: 7.703 MB / 0.5234 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008548/0.217, allocations: 91.41 kB / 0.5235 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/0.217, allocations: 32 kB / 0.5235 GB, free: 15.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0003877/0.2174, allocations: 206.2 kB / 0.5237 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.2176, allocations: 59.62 kB / 0.5238 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.23, allocations: 2.655 MB / 0.5264 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.23, allocations: 15.94 kB / 0.5264 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.23, allocations: 0 / 0.5264 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/0.23, allocations: 7.969 kB / 0.5264 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.2435, allocations: 3.656 MB / 0.53 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.2435, allocations: 0 / 0.53 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.2439, allocations: 99.89 kB / 0.5301 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01294/0.2569, allocations: 1.866 MB / 0.5319 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.2571, allocations: 19.98 kB / 0.5319 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/0.2749, allocations: 7.609 MB / 0.5393 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2749, allocations: 0 / 0.5393 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/0.2871, allocations: 2.605 MB / 0.5419 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.2873, allocations: 148.4 kB / 0.542 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.2874, allocations: 19.98 kB / 0.542 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006793/0.2881, allocations: 51.91 kB / 0.5421 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003598/0.2885, allocations: 88.88 kB / 0.5422 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-05/0.2886, allocations: 35.98 kB / 0.5422 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003554/0.2889, allocations: 243.2 kB / 0.5424 GB, free: 12.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2889, allocations: 0 / 0.5424 GB, free: 12.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001058/0.29, allocations: 347.8 kB / 0.5428 GB, free: 11.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01238/0.3024, allocations: 3.182 MB / 0.5459 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005114/0.3075, allocations: 1.798 MB / 0.5476 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3075, allocations: 0 / 0.5476 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003359/0.3108, allocations: 1.206 MB / 0.5488 GB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.3115, allocations: 61.55 kB / 0.5489 GB, free: 5.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03094/0.3424, allocations: 9.412 MB / 0.5581 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/0.3432, allocations: 0.91 MB / 0.5589 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003666/0.3436, allocations: 84.69 kB / 0.559 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.3439, allocations: 223.3 kB / 0.5592 GB, free: 10.91 MB / 430.1 MB Notification: Performance of SimCode: time 1.844e-06/0.3439, allocations: 0 / 0.5592 GB, free: 10.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3149/0.6588, allocations: 30.44 MB / 0.589 GB, free: 95.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.71, allocations: 5.344 kB / 0.589 GB, free: 95.82 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.646787145000417] Failed to read output from testmodel.py, exit status != 0: 13.815378620987758 13.83589597 13.720564318 Calling exit ...