Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.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.001342/0.001342, allocations: 118.6 kB / 19.74 MB, free: 2.141 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.00152/0.00152, allocations: 224.1 kB / 23.05 MB, free: 4.941 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 / 256.8 MB, free: 8.02 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.05788/0.05788, allocations: 6.132 MB / 319.4 MB, free: 12.99 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.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 51.92 kB / 444.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1042, allocations: 55.02 MB / 499.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.BreakersWithLines): time 0.004679/0.1089, allocations: 2.949 MB / 0.4907 GB, free: 11.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1105, allocations: 0.8641 MB / 0.4915 GB, free: 10.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.1108, allocations: 8 kB / 0.4916 GB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.1112, allocations: 147.2 kB / 0.4917 GB, free: 10.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.1117, allocations: 143.1 kB / 0.4918 GB, free: 10.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.1131, allocations: 0.6653 MB / 0.4925 GB, free: 9.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005172/0.1136, allocations: 322.4 kB / 0.4928 GB, free: 9.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.1138, allocations: 104.5 kB / 0.4929 GB, free: 9.098 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.114, allocations: 139.5 kB / 0.493 GB, free: 8.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.1143, allocations: 199.2 kB / 0.4932 GB, free: 8.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.732e-05/0.1144, allocations: 28 kB / 0.4932 GB, free: 8.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.1148, allocations: 191.8 kB / 0.4934 GB, free: 8.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.1149, allocations: 71.75 kB / 0.4935 GB, free: 8.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.1151, allocations: 155.2 kB / 0.4936 GB, free: 8.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006773/0.1157, allocations: 478.2 kB / 0.4941 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1158, allocations: 4 kB / 0.4941 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1158, allocations: 0 / 0.4941 GB, free: 7.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.1158, allocations: 4 kB / 0.4941 GB, free: 7.852 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002684/0.1185, allocations: 0.8211 MB / 0.4949 GB, free: 6.996 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1185, allocations: 12.03 kB / 0.4949 GB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.882e-05/0.1186, allocations: 66.72 kB / 0.495 GB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.959e-05/0.1187, allocations: 40.7 kB / 0.495 GB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.119, allocations: 222.8 kB / 0.4952 GB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.1191, allocations: 80.62 kB / 0.4953 GB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.1192, allocations: 32.38 kB / 0.4953 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.1199, allocations: 414.1 kB / 0.4957 GB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1199, allocations: 0 / 0.4957 GB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.1199, allocations: 11.94 kB / 0.4957 GB, free: 6.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1199, allocations: 11.98 kB / 0.4958 GB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006829/0.1206, allocations: 410.5 kB / 0.4961 GB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.1227, allocations: 1.134 MB / 0.4972 GB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.1238, allocations: 486.7 kB / 0.4977 GB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.1241, allocations: 204.7 kB / 0.4979 GB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.237e-05/0.1242, allocations: 15.98 kB / 0.4979 GB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1242, allocations: 34.56 kB / 0.498 GB, free: 3.746 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.593e-06/0.1242, allocations: 4 kB / 0.498 GB, free: 3.742 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002827/0.127, allocations: 0.9444 MB / 0.4989 GB, free: 2.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1271, allocations: 55.41 kB / 0.4989 GB, free: 2.719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.1273, allocations: 207.1 kB / 0.4991 GB, free: 2.508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.1273, allocations: 33.7 kB / 0.4992 GB, free: 2.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1275, allocations: 164.9 kB / 0.4993 GB, free: 2.305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.1276, allocations: 154.6 kB / 0.4995 GB, free: 2.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.1277, allocations: 106.1 kB / 0.4996 GB, free: 2.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1279, allocations: 338.8 kB / 0.4999 GB, free: 1.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.1283, allocations: 216.9 kB / 0.5001 GB, free: 1.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.1287, allocations: 277.7 kB / 0.5004 GB, free: 1.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008145/0.1295, allocations: 0.5019 MB / 0.5009 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1295, allocations: 0 / 0.5009 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001882/0.1314, allocations: 0.7839 MB / 0.5016 GB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1314, allocations: 4 kB / 0.5016 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1315, allocations: 4 kB / 0.5016 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.1328, allocations: 309.4 kB / 0.5019 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.1332, allocations: 79.89 kB / 0.502 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005039/0.1382, allocations: 3.721 MB / 0.5056 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.1385, allocations: 39.69 kB / 0.5057 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.1386, allocations: 24.03 kB / 0.5057 GB, free: 11.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,88.9%), (3,3,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002142/0.1388, allocations: 157.7 kB / 0.5058 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.1389, allocations: 23.86 kB / 0.5059 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.1407, allocations: 0.743 MB / 0.5066 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.1407, allocations: 8 kB / 0.5066 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.1407, allocations: 4 kB / 0.5066 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.1407, allocations: 3.984 kB / 0.5066 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.1413, allocations: 492.4 kB / 0.5071 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1413, allocations: 0 / 0.5071 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.1415, allocations: 59.91 kB / 0.5071 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.1428, allocations: 301.4 kB / 0.5074 GB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.1429, allocations: 12 kB / 0.5074 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005142/0.148, allocations: 3.708 MB / 0.5111 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.148, allocations: 3.938 kB / 0.5111 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.1498, allocations: 0.767 MB / 0.5118 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/0.1499, allocations: 43.61 kB / 0.5119 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.1499, allocations: 12.25 kB / 0.5119 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.1501, allocations: 8 kB / 0.5119 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.1503, allocations: 44.36 kB / 0.5119 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.1503, allocations: 12 kB / 0.5119 GB, free: 4.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.1505, allocations: 156.2 kB / 0.5121 GB, free: 4.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1505, allocations: 0 / 0.5121 GB, free: 4.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000649/0.1511, allocations: 131.9 kB / 0.5122 GB, free: 4.496 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 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,88.9%), (3,3,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002171/0.1533, allocations: 1.331 MB / 0.5135 GB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.1553, allocations: 0.8422 MB / 0.5143 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1553, allocations: 3.938 kB / 0.5143 GB, free: 2.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.1565, allocations: 0.5819 MB / 0.5149 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1569, allocations: 22.81 kB / 0.5149 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2108/0.3677, allocations: 3.824 MB / 0.5186 GB, free: 28.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.3679, allocations: 0.7749 MB / 0.5194 GB, free: 27.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.3681, allocations: 49.25 kB / 0.5195 GB, free: 27.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3682, allocations: 95.3 kB / 0.5195 GB, free: 27.98 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3682, allocations: 0.5312 kB / 0.5195 GB, free: 27.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05947/0.4277, allocations: 9.213 MB / 0.5285 GB, free: 26.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.53, allocations: 5.312 kB / 0.5285 GB, free: 26.93 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.347339174943045] Failed to read output from testmodel.py, exit status != 0: 12.644746334990487 12.660390692 12.541942305 Calling exit ...