Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.001856/0.001856, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.002532/0.002532, allocations: 219.3 kB / 23.03 MB, free: 4.621 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.04392/0.04392, allocations: 6.137 MB / 319.4 MB, free: 12.75 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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 47.92 kB / 444.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1082, allocations: 55.02 MB / 499.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.003498/0.1117, allocations: 1.6 MB / 0.4893 GB, free: 12.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.1144, allocations: 1.548 MB / 0.4908 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.1148, allocations: 4 kB / 0.4908 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.1154, allocations: 131.3 kB / 0.4909 GB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005527/0.1159, allocations: 143.1 kB / 0.4911 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1174, allocations: 0.5913 MB / 0.4917 GB, free: 9.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000523/0.1179, allocations: 294.6 kB / 0.4919 GB, free: 9.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.1181, allocations: 77.92 kB / 0.492 GB, free: 9.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.1183, allocations: 119.6 kB / 0.4921 GB, free: 9.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1185, allocations: 139.3 kB / 0.4923 GB, free: 9.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.1186, allocations: 24 kB / 0.4923 GB, free: 9.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.119, allocations: 171.9 kB / 0.4924 GB, free: 9.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.1191, allocations: 63.7 kB / 0.4925 GB, free: 9.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1192, allocations: 119.4 kB / 0.4926 GB, free: 8.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006609/0.1198, allocations: 438.4 kB / 0.493 GB, free: 8.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1198, allocations: 4 kB / 0.493 GB, free: 8.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1199, allocations: 0 / 0.493 GB, free: 8.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1199, allocations: 0 / 0.493 GB, free: 8.508 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003266/0.1231, allocations: 0.8951 MB / 0.4939 GB, free: 7.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1232, allocations: 8.031 kB / 0.4939 GB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.3e-05/0.1233, allocations: 54.73 kB / 0.494 GB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/0.1233, allocations: 36.75 kB / 0.494 GB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.1237, allocations: 222.6 kB / 0.4942 GB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1237, allocations: 20.75 kB / 0.4942 GB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.1237, allocations: 28.38 kB / 0.4943 GB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.1244, allocations: 424.9 kB / 0.4947 GB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1244, allocations: 3.938 kB / 0.4947 GB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1244, allocations: 8 kB / 0.4947 GB, free: 6.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1244, allocations: 4 kB / 0.4947 GB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005321/0.125, allocations: 341.6 kB / 0.495 GB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.1267, allocations: 0.884 MB / 0.4959 GB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.1273, allocations: 376.7 kB / 0.4962 GB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.1276, allocations: 204.8 kB / 0.4964 GB, free: 4.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.672e-05/0.1277, allocations: 11.98 kB / 0.4964 GB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.1277, allocations: 51.02 kB / 0.4965 GB, free: 4.816 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.1277, allocations: 0 / 0.4965 GB, free: 4.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002459/0.1302, allocations: 0.8371 MB / 0.4973 GB, free: 3.965 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1302, allocations: 55.41 kB / 0.4974 GB, free: 3.898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.1305, allocations: 238.9 kB / 0.4976 GB, free: 3.656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.1305, allocations: 33.7 kB / 0.4976 GB, free: 3.617 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1307, allocations: 144.8 kB / 0.4978 GB, free: 3.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.1308, allocations: 126.9 kB / 0.4979 GB, free: 3.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.1309, allocations: 86.11 kB / 0.498 GB, free: 3.254 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1311, allocations: 330.8 kB / 0.4983 GB, free: 2.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.1315, allocations: 240.8 kB / 0.4985 GB, free: 2.684 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.1319, allocations: 243.9 kB / 0.4987 GB, free: 2.449 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008513/0.1327, allocations: 0.5172 MB / 0.4992 GB, free: 1.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1327, allocations: 0 / 0.4992 GB, free: 1.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001468/0.1342, allocations: 0.7287 MB / 0.5 GB, free: 1.184 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1342, allocations: 8 kB / 0.5 GB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1342, allocations: 0 / 0.5 GB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006653/0.1349, allocations: 158.4 kB / 0.5001 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.1353, allocations: 83.89 kB / 0.5002 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/0.1398, allocations: 4.285 MB / 0.5044 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.1401, allocations: 35.7 kB / 0.5044 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.1401, allocations: 15.98 kB / 0.5044 GB, free: 12.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.1403, allocations: 153.9 kB / 0.5046 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.1404, allocations: 23.86 kB / 0.5046 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.1417, allocations: 0.6001 MB / 0.5052 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.1417, allocations: 7.984 kB / 0.5052 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1417, allocations: 4 kB / 0.5052 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.1417, allocations: 0 / 0.5052 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.1422, allocations: 368.3 kB / 0.5055 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1422, allocations: 0 / 0.5055 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.1425, allocations: 43.92 kB / 0.5056 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006201/0.1431, allocations: 158.4 kB / 0.5057 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.1431, allocations: 4 kB / 0.5057 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004415/0.1475, allocations: 4.276 MB / 0.5099 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1475, allocations: 4.062 kB / 0.5099 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.1487, allocations: 0.6235 MB / 0.5105 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.1488, allocations: 43.61 kB / 0.5106 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.1488, allocations: 8 kB / 0.5106 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.1491, allocations: 4 kB / 0.5106 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.1491, allocations: 27.95 kB / 0.5106 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.1492, allocations: 8 kB / 0.5106 GB, free: 5.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.1493, allocations: 168.1 kB / 0.5108 GB, free: 5.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1493, allocations: 0 / 0.5108 GB, free: 5.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000528/0.1499, allocations: 119.9 kB / 0.5109 GB, free: 5.18 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001562/0.1514, allocations: 1.191 MB / 0.5121 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.1532, allocations: 0.8386 MB / 0.5129 GB, free: 3.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.1532, allocations: 4 kB / 0.5129 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.1543, allocations: 0.5818 MB / 0.5134 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1546, allocations: 20.61 kB / 0.5135 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2172/0.3718, allocations: 3.602 MB / 0.517 GB, free: 28.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.372, allocations: 151.8 kB / 0.5171 GB, free: 28.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.3721, allocations: 32 kB / 0.5172 GB, free: 28.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.3722, allocations: 84.72 kB / 0.5172 GB, free: 28.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.422e-06/0.3722, allocations: 0.5 kB / 0.5172 GB, free: 28.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04687/0.4191, allocations: 8.259 MB / 0.5253 GB, free: 27.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.32, allocations: 9.062 kB / 0.5253 GB, free: 27.62 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource_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_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.022121441084892] Failed to read output from testmodel.py, exit status != 0: 12.441255715675652 12.466320091 12.342129032999999 Calling exit ...