Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.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.001317/0.001317, allocations: 108.3 kB / 19.74 MB, free: 1.906 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.00191/0.00191, allocations: 220.8 kB / 23.04 MB, free: 4.984 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.0425/0.0425, allocations: 6.14 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.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 55.91 kB / 444.4 MB, free: 5.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1137, allocations: 55.03 MB / 499.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.004847/0.1186, allocations: 3.215 MB / 0.4909 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1205, allocations: 0.9456 MB / 0.4918 GB, free: 9.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.1206, allocations: 8 kB / 0.4918 GB, free: 9.789 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.121, allocations: 171 kB / 0.492 GB, free: 9.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000546/0.1216, allocations: 242.5 kB / 0.4922 GB, free: 9.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.124, allocations: 1.203 MB / 0.4934 GB, free: 8.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006426/0.1246, allocations: 481.7 kB / 0.4939 GB, free: 7.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.1249, allocations: 112.8 kB / 0.494 GB, free: 7.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.1251, allocations: 203.3 kB / 0.4942 GB, free: 7.391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.1254, allocations: 242.9 kB / 0.4944 GB, free: 7.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.721e-05/0.1255, allocations: 40 kB / 0.4944 GB, free: 7.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005594/0.1261, allocations: 291.7 kB / 0.4947 GB, free: 6.828 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/0.1262, allocations: 103.6 kB / 0.4948 GB, free: 6.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.1264, allocations: 199 kB / 0.495 GB, free: 6.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.1272, allocations: 0.6773 MB / 0.4957 GB, free: 5.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1272, allocations: 4 kB / 0.4957 GB, free: 5.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1272, allocations: 0 / 0.4957 GB, free: 5.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1272, allocations: 0 / 0.4957 GB, free: 5.848 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00549/0.1327, allocations: 1.402 MB / 0.497 GB, free: 4.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1328, allocations: 8.031 kB / 0.497 GB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.1329, allocations: 78.72 kB / 0.4971 GB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.133, allocations: 48.66 kB / 0.4972 GB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.1335, allocations: 297.2 kB / 0.4974 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-05/0.1335, allocations: 59.27 kB / 0.4975 GB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.1336, allocations: 44.38 kB / 0.4975 GB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.1347, allocations: 0.793 MB / 0.4983 GB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1347, allocations: 4 kB / 0.4983 GB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.1348, allocations: 20 kB / 0.4983 GB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.1348, allocations: 8 kB / 0.4983 GB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009358/0.1357, allocations: 0.5623 MB / 0.4989 GB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002731/0.1385, allocations: 1.367 MB / 0.5002 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.1397, allocations: 0.6668 MB / 0.5009 GB, free: 312 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/0.1403, allocations: 338.3 kB / 0.5012 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/0.1404, allocations: 20.38 kB / 0.5012 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.1404, allocations: 43.06 kB / 0.5013 GB, free: 15.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.894e-06/0.1404, allocations: 0 / 0.5013 GB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=62): time 0.01554/0.1559, allocations: 2.967 MB / 0.5042 GB, free: 12.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.156, allocations: 85.61 kB / 0.5042 GB, free: 12.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.1564, allocations: 272.1 kB / 0.5045 GB, free: 12.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.361e-05/0.1565, allocations: 45.64 kB / 0.5045 GB, free: 12.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.1566, allocations: 169.7 kB / 0.5047 GB, free: 12.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.1568, allocations: 222.1 kB / 0.5049 GB, free: 12.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.157, allocations: 126.7 kB / 0.505 GB, free: 11.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1572, allocations: 350.8 kB / 0.5054 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006143/0.1578, allocations: 361.9 kB / 0.5057 GB, free: 11.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000678/0.1585, allocations: 454.2 kB / 0.5062 GB, free: 10.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.1598, allocations: 0.7967 MB / 0.5069 GB, free: 10.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1599, allocations: 0 / 0.5069 GB, free: 10.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.007088/0.1669, allocations: 1.7 MB / 0.5086 GB, free: 8.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.167, allocations: 4 kB / 0.5086 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.167, allocations: 4 kB / 0.5086 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00723/0.1742, allocations: 1.082 MB / 0.5097 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.1746, allocations: 87.89 kB / 0.5097 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.1856, allocations: 5.083 MB / 0.5147 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.1861, allocations: 63.73 kB / 0.5148 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.1862, allocations: 27.92 kB / 0.5148 GB, free: 1.844 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 (56): * Single equations (assignments): 55 * 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 {(9,19)} Notification: Performance of prepare postOptimizeDAE: time 0.000251/0.1865, allocations: 170.1 kB / 0.515 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.1866, allocations: 47.66 kB / 0.515 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1992/0.3857, allocations: 1.691 MB / 0.5166 GB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.3857, allocations: 6.281 kB / 0.5167 GB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.3857, allocations: 1.625 kB / 0.5167 GB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.3858, allocations: 4.406 kB / 0.5167 GB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007411/0.3932, allocations: 2.262 MB / 0.5189 GB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.3932, allocations: 0.75 kB / 0.5189 GB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.3934, allocations: 79.81 kB / 0.5189 GB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006853/0.4003, allocations: 1.051 MB / 0.52 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.4004, allocations: 23.48 kB / 0.52 GB, free: 29.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009823/0.4102, allocations: 5.014 MB / 0.5249 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4102, allocations: 1.5 kB / 0.5249 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006599/0.4168, allocations: 1.695 MB / 0.5265 GB, free: 26.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.4169, allocations: 54.39 kB / 0.5266 GB, free: 26.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.421e-05/0.417, allocations: 12.69 kB / 0.5266 GB, free: 26.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.4174, allocations: 36.62 kB / 0.5266 GB, free: 26.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.4176, allocations: 58.03 kB / 0.5267 GB, free: 26.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.4177, allocations: 19.97 kB / 0.5267 GB, free: 26.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.4179, allocations: 195.2 kB / 0.5269 GB, free: 26.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4179, allocations: 0 / 0.5269 GB, free: 26.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007096/0.4186, allocations: 230 kB / 0.5271 GB, free: 26.56 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 (45): * Single equations (assignments): 44 * 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 {(8,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006804/0.4254, allocations: 2.258 MB / 0.5293 GB, free: 25.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00255/0.428, allocations: 1.205 MB / 0.5305 GB, free: 24.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.428, allocations: 1.375 kB / 0.5305 GB, free: 24.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.4298, allocations: 0.7726 MB / 0.5313 GB, free: 24.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.4302, allocations: 44.92 kB / 0.5313 GB, free: 24.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/0.4471, allocations: 6.474 MB / 0.5376 GB, free: 21.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.4473, allocations: 227.5 kB / 0.5378 GB, free: 21.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.4475, allocations: 64.2 kB / 0.5379 GB, free: 21.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.4477, allocations: 141.8 kB / 0.538 GB, free: 21.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4477, allocations: 3.719 kB / 0.538 GB, free: 21.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06743/0.5152, allocations: 19.82 MB / 0.5574 GB, free: 7.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.83, allocations: 0 / 0.5574 GB, free: 7.027 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1_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_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.615622259210795] Failed to read output from testmodel.py, exit status != 0: 13.956172902602702 13.982772291 13.85026601 Calling exit ...