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.001304/0.001304, allocations: 100.4 kB / 19.74 MB, free: 2.027 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.001496/0.001496, allocations: 216.9 kB / 23.03 MB, free: 4.883 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.04156/0.04156, allocations: 6.151 MB / 319.4 MB, free: 12.76 MB / 254.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.001835/0.001835, allocations: 47.92 kB / 444.4 MB, free: 5.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1018, allocations: 55.04 MB / 499.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.005893/0.1077, allocations: 4.024 MB / 0.4917 GB, free: 9.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.1104, allocations: 1.121 MB / 0.4928 GB, free: 8.809 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.1106, allocations: 8 kB / 0.4928 GB, free: 8.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005556/0.1112, allocations: 214.6 kB / 0.493 GB, free: 8.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008419/0.112, allocations: 349.8 kB / 0.4933 GB, free: 8.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.1146, allocations: 1.268 MB / 0.4946 GB, free: 6.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009202/0.1155, allocations: 0.7115 MB / 0.4953 GB, free: 6.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.1159, allocations: 154.7 kB / 0.4954 GB, free: 6.098 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.1162, allocations: 318.8 kB / 0.4957 GB, free: 5.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004915/0.1167, allocations: 358.3 kB / 0.4961 GB, free: 5.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.561e-05/0.1168, allocations: 60 kB / 0.4961 GB, free: 5.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.1174, allocations: 315.8 kB / 0.4964 GB, free: 5.066 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.1175, allocations: 151.4 kB / 0.4966 GB, free: 4.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.1178, allocations: 286.6 kB / 0.4968 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.119, allocations: 0.9223 MB / 0.4977 GB, free: 3.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.119, allocations: 4 kB / 0.4977 GB, free: 3.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.119, allocations: 4 kB / 0.4977 GB, free: 3.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.119, allocations: 0 / 0.4977 GB, free: 3.703 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.008404/0.1274, allocations: 1.959 MB / 0.4997 GB, free: 1.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.1274, allocations: 15.97 kB / 0.4997 GB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.1276, allocations: 94.7 kB / 0.4998 GB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.1277, allocations: 80.47 kB / 0.4998 GB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.1284, allocations: 388.4 kB / 0.5002 GB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.391e-05/0.1285, allocations: 71.58 kB / 0.5003 GB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.1287, allocations: 60.38 kB / 0.5003 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.1304, allocations: 1.225 MB / 0.5015 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1304, allocations: 0 / 0.5015 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/0.1305, allocations: 24 kB / 0.5016 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1305, allocations: 12 kB / 0.5016 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.1319, allocations: 0.8524 MB / 0.5024 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004108/0.136, allocations: 1.967 MB / 0.5043 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.1379, allocations: 1.011 MB / 0.5053 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008074/0.1387, allocations: 0.5114 MB / 0.5058 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-05/0.1388, allocations: 16.98 kB / 0.5058 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.1388, allocations: 47.56 kB / 0.5059 GB, free: 11.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.625e-06/0.1388, allocations: 0 / 0.5059 GB, free: 11.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.03079/0.1696, allocations: 5.25 MB / 0.511 GB, free: 5.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.1697, allocations: 86.11 kB / 0.5111 GB, free: 5.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.1702, allocations: 361.6 kB / 0.5114 GB, free: 5.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.1703, allocations: 49.7 kB / 0.5115 GB, free: 5.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1705, allocations: 209.7 kB / 0.5117 GB, free: 5.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.1708, allocations: 329.1 kB / 0.512 GB, free: 4.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.1711, allocations: 174.6 kB / 0.5121 GB, free: 4.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1713, allocations: 362.8 kB / 0.5125 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008775/0.1721, allocations: 0.5252 MB / 0.513 GB, free: 3.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009671/0.1731, allocations: 0.6232 MB / 0.5136 GB, free: 3.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.175, allocations: 1.177 MB / 0.5148 GB, free: 1.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.175, allocations: 4 kB / 0.5148 GB, free: 1.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.215/0.39, allocations: 2.65 MB / 0.5174 GB, free: 29.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.39, allocations: 8.938 kB / 0.5174 GB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.39, allocations: 1.5 kB / 0.5174 GB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0121/0.4021, allocations: 1.953 MB / 0.5193 GB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.4026, allocations: 133.1 kB / 0.5194 GB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01595/0.4186, allocations: 7.37 MB / 0.5266 GB, free: 26.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007205/0.4193, allocations: 85.7 kB / 0.5267 GB, free: 26.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.4194, allocations: 33.53 kB / 0.5267 GB, free: 26.6 MB / 382.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.0002778/0.4197, allocations: 200 kB / 0.5269 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.4198, allocations: 61.56 kB / 0.527 GB, free: 26.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01751/0.4373, allocations: 2.678 MB / 0.5296 GB, free: 25.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/0.4373, allocations: 10.41 kB / 0.5296 GB, free: 25.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4373, allocations: 2.078 kB / 0.5296 GB, free: 25.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.511e-05/0.4374, allocations: 5.25 kB / 0.5296 GB, free: 25.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.451, allocations: 3.431 MB / 0.5329 GB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.4511, allocations: 0 / 0.5329 GB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.4515, allocations: 102.1 kB / 0.533 GB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01312/0.4646, allocations: 1.875 MB / 0.5349 GB, free: 23.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/0.4648, allocations: 22.22 kB / 0.5349 GB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01514/0.4799, allocations: 7.271 MB / 0.542 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4799, allocations: 1.75 kB / 0.542 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/0.4908, allocations: 2.627 MB / 0.5446 GB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.491, allocations: 77.95 kB / 0.5446 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.4911, allocations: 19.94 kB / 0.5447 GB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/0.4918, allocations: 47.25 kB / 0.5447 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/0.4922, allocations: 88.72 kB / 0.5448 GB, free: 18.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.4923, allocations: 37.11 kB / 0.5448 GB, free: 18.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.4925, allocations: 244.5 kB / 0.5451 GB, free: 18.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4925, allocations: 0 / 0.5451 GB, free: 18.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001185/0.4937, allocations: 343.5 kB / 0.5454 GB, free: 17.98 MB / 382.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.01074/0.5044, allocations: 3.187 MB / 0.5485 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003883/0.5083, allocations: 1.815 MB / 0.5503 GB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.5083, allocations: 0 / 0.5503 GB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002844/0.5112, allocations: 1.21 MB / 0.5514 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/0.5118, allocations: 65.42 kB / 0.5515 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03055/0.5424, allocations: 9.459 MB / 0.5607 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.5427, allocations: 311.9 kB / 0.561 GB, free: 2.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002962/0.543, allocations: 98.39 kB / 0.5611 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.5432, allocations: 215.4 kB / 0.5613 GB, free: 2.621 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5432, allocations: 0 / 0.5613 GB, free: 2.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07184/0.615, allocations: 30.12 MB / 0.5908 GB, free: 4.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.43, allocations: 15.88 kB / 0.5908 GB, free: 4.727 MB / 414.1 MB " [Timeout remaining time 645] (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: 17.174980116076767] Failed to read output from testmodel.py, exit status != 0: 14.564174831844866 14.590890749 14.467284699 Calling exit ...