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.001267/0.001267, allocations: 113 kB / 17.17 MB, free: 5.887 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.001408/0.001408, allocations: 208 kB / 20.14 MB, free: 2.934 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.0409/0.0409, allocations: 6.129 MB / 315.7 MB, free: 1.148 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.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.001497/0.001497, allocations: 44.31 kB / 439.2 MB, free: 40.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08996, allocations: 54.99 MB / 494.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003837/0.09379, allocations: 3.511 MB / 497.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.09579, allocations: 1.023 MB / 498.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.09598, allocations: 8 kB / 498.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.09637, allocations: 183 kB / 499 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.09681, allocations: 234.5 kB / 499.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.0987, allocations: 1.295 MB / 0.4887 GB, free: 4.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006555/0.09936, allocations: 485.7 kB / 0.4892 GB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.09954, allocations: 116.4 kB / 0.4893 GB, free: 3.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.09968, allocations: 211.1 kB / 0.4895 GB, free: 3.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.09993, allocations: 267 kB / 0.4898 GB, free: 3.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.09997, allocations: 40 kB / 0.4898 GB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.1004, allocations: 311.8 kB / 0.4901 GB, free: 2.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.1005, allocations: 107.5 kB / 0.4902 GB, free: 2.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.1006, allocations: 222.9 kB / 0.4904 GB, free: 2.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006263/0.1013, allocations: 0.6928 MB / 0.4911 GB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1013, allocations: 3.938 kB / 0.4911 GB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1013, allocations: 3.938 kB / 0.4911 GB, free: 1.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.1013, allocations: 0 / 0.4911 GB, free: 1.789 MB / 350.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.005196/0.1065, allocations: 1.466 MB / 0.4925 GB, free: 272 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1065, allocations: 12.03 kB / 0.4926 GB, free: 260 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.352e-05/0.1066, allocations: 74.72 kB / 0.4926 GB, free: 176 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1067, allocations: 52.66 kB / 0.4927 GB, free: 124 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.1072, allocations: 355.5 kB / 0.493 GB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/0.1072, allocations: 59.27 kB / 0.4931 GB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.702e-05/0.1073, allocations: 40.38 kB / 0.4931 GB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.1083, allocations: 0.5921 MB / 0.4937 GB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1083, allocations: 3.938 kB / 0.4937 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.852e-05/0.1084, allocations: 23.98 kB / 0.4937 GB, free: 15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1084, allocations: 8 kB / 0.4937 GB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009675/0.1094, allocations: 0.5506 MB / 0.4943 GB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/0.1124, allocations: 1.764 MB / 0.496 GB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.1138, allocations: 0.7308 MB / 0.4967 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/0.1144, allocations: 334.5 kB / 0.497 GB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-05/0.1145, allocations: 24.52 kB / 0.497 GB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.1145, allocations: 43.06 kB / 0.4971 GB, free: 11.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.365e-06/0.1145, allocations: 0 / 0.4971 GB, free: 11.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=62): time 0.01636/0.1309, allocations: 3.025 MB / 0.5 GB, free: 8.355 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.1309, allocations: 89.67 kB / 0.5001 GB, free: 8.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.1313, allocations: 267 kB / 0.5004 GB, free: 7.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.1314, allocations: 41.7 kB / 0.5004 GB, free: 7.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1316, allocations: 181.7 kB / 0.5006 GB, free: 7.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.1318, allocations: 214.1 kB / 0.5008 GB, free: 7.539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.1321, allocations: 130.6 kB / 0.5009 GB, free: 7.406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1323, allocations: 346.8 kB / 0.5012 GB, free: 7.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.1329, allocations: 357.9 kB / 0.5016 GB, free: 6.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/0.1336, allocations: 420.6 kB / 0.502 GB, free: 6.293 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.1349, allocations: 0.7889 MB / 0.5028 GB, free: 5.504 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1349, allocations: 0 / 0.5028 GB, free: 5.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.007238/0.1421, allocations: 1.689 MB / 0.5044 GB, free: 3.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.1422, allocations: 4 kB / 0.5044 GB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1422, allocations: 4 kB / 0.5044 GB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007391/0.1496, allocations: 1.081 MB / 0.5055 GB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.15, allocations: 91.88 kB / 0.5056 GB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.1614, allocations: 5.334 MB / 0.5108 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.1619, allocations: 59.55 kB / 0.5108 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.162, allocations: 27.98 kB / 0.5109 GB, free: 13.07 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.0002578/0.1622, allocations: 174.3 kB / 0.511 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1623, allocations: 43.72 kB / 0.5111 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007164/0.1695, allocations: 1.676 MB / 0.5127 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.1695, allocations: 8 kB / 0.5127 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1695, allocations: 0 / 0.5127 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.1695, allocations: 3.984 kB / 0.5127 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007979/0.1775, allocations: 2.422 MB / 0.5151 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.1775, allocations: 7.984 kB / 0.5151 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.1778, allocations: 71.91 kB / 0.5151 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007367/0.1852, allocations: 1.063 MB / 0.5162 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.1853, allocations: 19.94 kB / 0.5162 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/0.1966, allocations: 5.251 MB / 0.5213 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.1966, allocations: 7.984 kB / 0.5213 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007063/0.2037, allocations: 1.682 MB / 0.523 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.2039, allocations: 128.6 kB / 0.5231 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.204, allocations: 12 kB / 0.5231 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/0.2045, allocations: 35.97 kB / 0.5232 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.2048, allocations: 56.52 kB / 0.5232 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.2048, allocations: 23.98 kB / 0.5232 GB, free: 116 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003055/0.2051, allocations: 197.9 kB / 0.5234 GB, free: 15.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2051, allocations: 0 / 0.5234 GB, free: 15.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008183/0.2059, allocations: 227.9 kB / 0.5236 GB, free: 15.7 MB / 398.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.007442/0.2134, allocations: 2.245 MB / 0.5258 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.2166, allocations: 1.196 MB / 0.527 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.2166, allocations: 4 kB / 0.527 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002059/0.2186, allocations: 0.7705 MB / 0.5278 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.2192, allocations: 52.09 kB / 0.5278 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/0.238, allocations: 6.45 MB / 0.5341 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.2385, allocations: 0.8298 MB / 0.5349 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002243/0.2387, allocations: 59.22 kB / 0.535 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.239, allocations: 143.4 kB / 0.5351 GB, free: 3.785 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.239, allocations: 0 / 0.5351 GB, free: 3.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05297/0.2919, allocations: 20.31 MB / 0.5549 GB, free: 15.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.79, allocations: 15.3 kB / 0.555 GB, free: 15.6 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.647328268998535] Failed to read output from testmodel.py, exit status != 0: 12.891393108002376 12.907296922 12.802836835 Calling exit ...