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.001315/0.001315, allocations: 115.5 kB / 19.74 MB, free: 2.152 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.001469/0.001469, allocations: 222.5 kB / 23.05 MB, free: 4.996 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.06023/0.06023, allocations: 6.136 MB / 319.4 MB, free: 12.95 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.001556/0.001556, allocations: 51.92 kB / 444.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1209, allocations: 55.02 MB / 499.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.008646/0.1295, allocations: 4.514 MB / 0.4922 GB, free: 9.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003635/0.1331, allocations: 1.187 MB / 0.4934 GB, free: 8.523 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.1335, allocations: 8 kB / 0.4934 GB, free: 8.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00073/0.1342, allocations: 218.7 kB / 0.4936 GB, free: 8.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.1353, allocations: 349.8 kB / 0.4939 GB, free: 7.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003944/0.1392, allocations: 1.375 MB / 0.4953 GB, free: 6.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.1408, allocations: 0.7192 MB / 0.496 GB, free: 5.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004762/0.1413, allocations: 178.7 kB / 0.4962 GB, free: 5.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004988/0.1418, allocations: 306.9 kB / 0.4965 GB, free: 5.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007965/0.1426, allocations: 406.3 kB / 0.4968 GB, free: 4.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.1427, allocations: 60 kB / 0.4969 GB, free: 4.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.1437, allocations: 335.7 kB / 0.4972 GB, free: 4.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.1439, allocations: 147.4 kB / 0.4974 GB, free: 4.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005171/0.1444, allocations: 358.2 kB / 0.4977 GB, free: 4.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.1463, allocations: 0.9146 MB / 0.4986 GB, free: 3.172 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1463, allocations: 0 / 0.4986 GB, free: 3.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1463, allocations: 0 / 0.4986 GB, free: 3.172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.1463, allocations: 0 / 0.4986 GB, free: 3.172 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.01267/0.159, allocations: 1.963 MB / 0.5005 GB, free: 1.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.159, allocations: 16.03 kB / 0.5005 GB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.1592, allocations: 94.7 kB / 0.5006 GB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.1595, allocations: 80.47 kB / 0.5007 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009324/0.1604, allocations: 388.3 kB / 0.5011 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.1605, allocations: 75.58 kB / 0.5011 GB, free: 500 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.1607, allocations: 60.38 kB / 0.5012 GB, free: 440 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.1624, allocations: 0.8661 MB / 0.502 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1625, allocations: 0 / 0.502 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.1625, allocations: 20 kB / 0.5021 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.1625, allocations: 16 kB / 0.5021 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.1647, allocations: 0.8564 MB / 0.5029 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006782/0.1715, allocations: 2.61 MB / 0.5055 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002744/0.1742, allocations: 1.023 MB / 0.5065 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.1756, allocations: 0.5191 MB / 0.507 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.1758, allocations: 24.97 kB / 0.507 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.1758, allocations: 43.56 kB / 0.507 GB, free: 10.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.495e-06/0.1758, allocations: 4 kB / 0.507 GB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.04343/0.2192, allocations: 5.246 MB / 0.5122 GB, free: 5.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.2193, allocations: 86.11 kB / 0.5122 GB, free: 4.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/0.2199, allocations: 361.6 kB / 0.5126 GB, free: 4.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002163/0.2201, allocations: 45.7 kB / 0.5126 GB, free: 4.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.2203, allocations: 213.7 kB / 0.5128 GB, free: 4.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000353/0.2207, allocations: 325.1 kB / 0.5131 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/0.221, allocations: 178.6 kB / 0.5133 GB, free: 3.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.2212, allocations: 366.8 kB / 0.5137 GB, free: 3.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009368/0.2221, allocations: 0.5213 MB / 0.5142 GB, free: 2.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009797/0.2231, allocations: 0.602 MB / 0.5148 GB, free: 2.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.225, allocations: 1.177 MB / 0.5159 GB, free: 1.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.225, allocations: 0 / 0.5159 GB, free: 1.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.2078/0.4328, allocations: 2.655 MB / 0.5185 GB, free: 29.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.4329, allocations: 7.141 kB / 0.5185 GB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4329, allocations: 0 / 0.5185 GB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/0.4458, allocations: 1.959 MB / 0.5204 GB, free: 29.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.4464, allocations: 131.3 kB / 0.5205 GB, free: 29.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/0.464, allocations: 7.6 MB / 0.528 GB, free: 26.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.4652, allocations: 77.59 kB / 0.528 GB, free: 26.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.4653, allocations: 35.55 kB / 0.5281 GB, free: 26.54 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.0004408/0.4657, allocations: 198.6 kB / 0.5283 GB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.466, allocations: 61.39 kB / 0.5283 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/0.4832, allocations: 2.68 MB / 0.5309 GB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.794e-05/0.4833, allocations: 10.16 kB / 0.531 GB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4833, allocations: 5.25 kB / 0.531 GB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.935e-05/0.4833, allocations: 5.062 kB / 0.531 GB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/0.5017, allocations: 3.638 MB / 0.5345 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.5017, allocations: 4.109 kB / 0.5345 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.5021, allocations: 100.7 kB / 0.5346 GB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01204/0.5142, allocations: 1.873 MB / 0.5364 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002673/0.5144, allocations: 25.55 kB / 0.5365 GB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/0.5294, allocations: 7.497 MB / 0.5438 GB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5294, allocations: 0 / 0.5438 GB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.5401, allocations: 2.624 MB / 0.5464 GB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.5403, allocations: 65.66 kB / 0.5464 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.5405, allocations: 28.44 kB / 0.5464 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/0.5412, allocations: 50.36 kB / 0.5465 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003691/0.5415, allocations: 85.45 kB / 0.5466 GB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.493e-05/0.5416, allocations: 32.73 kB / 0.5466 GB, free: 17.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002794/0.5419, allocations: 251.9 kB / 0.5468 GB, free: 17.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5419, allocations: 0 / 0.5468 GB, free: 17.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001062/0.543, allocations: 345.1 kB / 0.5472 GB, free: 16.99 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.01093/0.5539, allocations: 3.191 MB / 0.5503 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003775/0.5577, allocations: 1.82 MB / 0.5521 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5577, allocations: 0 / 0.5521 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002599/0.5603, allocations: 1.205 MB / 0.5532 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.5608, allocations: 65.48 kB / 0.5533 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/0.5874, allocations: 9.451 MB / 0.5625 GB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.5877, allocations: 0.91 MB / 0.5634 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002887/0.588, allocations: 86.44 kB / 0.5635 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.5882, allocations: 219.3 kB / 0.5637 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5882, allocations: 0 / 0.5637 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07706/0.6653, allocations: 31.44 MB / 0.5944 GB, free: 1.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/14.87, allocations: 10.67 kB / 0.5944 GB, free: 1.586 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.76617416800582] Failed to read output from testmodel.py, exit status != 0: 15.002631896997627 15.032886006 14.880955039 Calling exit ...