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.001373/0.001373, allocations: 110.2 kB / 19.74 MB, free: 1.996 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.001462/0.001462, allocations: 223.5 kB / 23.06 MB, free: 4.992 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.04205/0.04205, allocations: 6.13 MB / 319.4 MB, free: 12.94 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.001446/0.001446, allocations: 47.92 kB / 444.5 MB, free: 5.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1133, allocations: 55.02 MB / 499.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.004733/0.118, allocations: 3.541 MB / 0.4913 GB, free: 10.67 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1198, allocations: 1.027 MB / 0.4923 GB, free: 9.637 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.12, allocations: 8 kB / 0.4923 GB, free: 9.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.1204, allocations: 167 kB / 0.4925 GB, free: 9.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.121, allocations: 242.5 kB / 0.4927 GB, free: 9.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.1234, allocations: 1.3 MB / 0.494 GB, free: 7.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000734/0.1241, allocations: 485.7 kB / 0.4944 GB, free: 7.445 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.1244, allocations: 116.8 kB / 0.4945 GB, free: 7.324 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.1246, allocations: 207.2 kB / 0.4947 GB, free: 7.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003828/0.125, allocations: 274.9 kB / 0.495 GB, free: 6.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.337e-05/0.1251, allocations: 40 kB / 0.495 GB, free: 6.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006078/0.1257, allocations: 315.8 kB / 0.4953 GB, free: 6.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.222e-05/0.1258, allocations: 95.61 kB / 0.4954 GB, free: 6.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.126, allocations: 230.8 kB / 0.4956 GB, free: 6.184 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008897/0.1269, allocations: 0.6889 MB / 0.4963 GB, free: 5.492 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1269, allocations: 0 / 0.4963 GB, free: 5.492 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1269, allocations: 4 kB / 0.4963 GB, free: 5.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1269, allocations: 0 / 0.4963 GB, free: 5.488 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.005624/0.1325, allocations: 1.398 MB / 0.4977 GB, free: 4.055 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.1326, allocations: 12.03 kB / 0.4977 GB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.1327, allocations: 74.72 kB / 0.4978 GB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.1328, allocations: 56.64 kB / 0.4978 GB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.1333, allocations: 297.3 kB / 0.4981 GB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.1334, allocations: 55.27 kB / 0.4982 GB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.737e-05/0.1335, allocations: 44.38 kB / 0.4982 GB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.1346, allocations: 0.596 MB / 0.4988 GB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1346, allocations: 0 / 0.4988 GB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.1347, allocations: 20 kB / 0.4988 GB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1347, allocations: 8 kB / 0.4988 GB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009753/0.1356, allocations: 0.5662 MB / 0.4994 GB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.1388, allocations: 1.743 MB / 0.5011 GB, free: 460 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.1401, allocations: 0.6668 MB / 0.5017 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.1406, allocations: 342.2 kB / 0.502 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.809e-05/0.1407, allocations: 16.42 kB / 0.5021 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.1408, allocations: 43.06 kB / 0.5021 GB, free: 15.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.184e-06/0.1408, allocations: 0 / 0.5021 GB, free: 15.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=62): time 0.016/0.1568, allocations: 2.967 MB / 0.505 GB, free: 12.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.1569, allocations: 93.55 kB / 0.5051 GB, free: 12.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.1572, allocations: 276.1 kB / 0.5053 GB, free: 11.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.29e-05/0.1573, allocations: 41.7 kB / 0.5054 GB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.1574, allocations: 165.7 kB / 0.5055 GB, free: 11.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.1577, allocations: 218.1 kB / 0.5058 GB, free: 11.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.1579, allocations: 130.6 kB / 0.5059 GB, free: 11.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1581, allocations: 346.8 kB / 0.5062 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/0.1587, allocations: 365.9 kB / 0.5066 GB, free: 10.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000678/0.1594, allocations: 428.6 kB / 0.507 GB, free: 10.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.1607, allocations: 0.7928 MB / 0.5077 GB, free: 9.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1607, allocations: 0 / 0.5077 GB, free: 9.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00883/0.1695, allocations: 1.708 MB / 0.5094 GB, free: 7.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.1695, allocations: 4 kB / 0.5094 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.1695, allocations: 4 kB / 0.5094 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01162/0.1812, allocations: 1.082 MB / 0.5105 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.1818, allocations: 91.83 kB / 0.5106 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.1943, allocations: 5.218 MB / 0.5157 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007403/0.195, allocations: 63.73 kB / 0.5157 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.1951, allocations: 31.92 kB / 0.5157 GB, free: 1.18 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.000395/0.1955, allocations: 174.1 kB / 0.5159 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.1957, allocations: 43.72 kB / 0.516 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2075/0.4032, allocations: 1.683 MB / 0.5176 GB, free: 29.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.4032, allocations: 12.72 kB / 0.5176 GB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4032, allocations: 0 / 0.5176 GB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.4032, allocations: 4.734 kB / 0.5176 GB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007798/0.411, allocations: 2.4 MB / 0.52 GB, free: 29.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.411, allocations: 1.938 kB / 0.52 GB, free: 29.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.4113, allocations: 75.36 kB / 0.52 GB, free: 29.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006883/0.4181, allocations: 1.06 MB / 0.5211 GB, free: 29.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.4182, allocations: 13.22 kB / 0.5211 GB, free: 29.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.4284, allocations: 5.162 MB / 0.5261 GB, free: 27.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4284, allocations: 0 / 0.5261 GB, free: 27.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006854/0.4352, allocations: 1.691 MB / 0.5278 GB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.4354, allocations: 56.77 kB / 0.5278 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/0.4355, allocations: 18.73 kB / 0.5278 GB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.4359, allocations: 28.36 kB / 0.5279 GB, free: 26.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.4362, allocations: 62.92 kB / 0.5279 GB, free: 26.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/0.4362, allocations: 24.17 kB / 0.528 GB, free: 26.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.4364, allocations: 191.2 kB / 0.5281 GB, free: 26.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4364, allocations: 5.219 kB / 0.5281 GB, free: 26.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008556/0.4373, allocations: 224.3 kB / 0.5284 GB, free: 26.66 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.006892/0.4442, allocations: 2.26 MB / 0.5306 GB, free: 25.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002823/0.447, allocations: 1.202 MB / 0.5317 GB, free: 24.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.447, allocations: 1.344 kB / 0.5317 GB, free: 24.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.4489, allocations: 0.7656 MB / 0.5325 GB, free: 24.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.4494, allocations: 50.75 kB / 0.5325 GB, free: 24.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/0.4683, allocations: 6.476 MB / 0.5389 GB, free: 21.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.4688, allocations: 0.8348 MB / 0.5397 GB, free: 20.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.4691, allocations: 64.39 kB / 0.5397 GB, free: 20.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.4693, allocations: 141 kB / 0.5399 GB, free: 20.56 MB / 382.1 MB Notification: Performance of SimCode: time 1.492e-06/0.4693, allocations: 0 / 0.5399 GB, free: 20.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04797/0.5172, allocations: 20.98 MB / 0.5604 GB, free: 4.562 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.87, allocations: 11.67 kB / 0.5604 GB, free: 4.555 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.68448472899763] Failed to read output from testmodel.py, exit status != 0: 14.002071928000078 14.02018016 13.889889103 Calling exit ...