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.001322/0.001322, allocations: 110.9 kB / 17.17 MB, free: 5.855 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.001363/0.001363, allocations: 211.2 kB / 20.14 MB, free: 2.898 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.0619/0.0619, allocations: 6.139 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.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.001484/0.001484, allocations: 55.23 kB / 439.2 MB, free: 40.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.101, allocations: 54.98 MB / 494.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002341/0.1034, allocations: 1.77 MB / 496 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.105, allocations: 1.625 MB / 497.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.1051, allocations: 4 kB / 497.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1054, allocations: 131.3 kB / 497.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.1056, allocations: 139.1 kB / 497.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009226/0.1066, allocations: 0.6458 MB / 498.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.1068, allocations: 298.5 kB / 498.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.107, allocations: 77.92 kB / 498.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.188e-05/0.1071, allocations: 127.5 kB / 499 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1072, allocations: 151.4 kB / 499.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.1072, allocations: 24 kB / 499.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.1075, allocations: 191.8 kB / 499.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.1076, allocations: 55.77 kB / 499.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.431e-05/0.1076, allocations: 147.2 kB / 499.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.108, allocations: 438.4 kB / 0.4883 GB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.108, allocations: 0 / 0.4883 GB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.108, allocations: 0 / 0.4883 GB, free: 4.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.108, allocations: 0 / 0.4883 GB, free: 4.672 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002862/0.1109, allocations: 0.9704 MB / 0.4892 GB, free: 3.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1109, allocations: 12.03 kB / 0.4892 GB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.111, allocations: 58.73 kB / 0.4893 GB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.1111, allocations: 24.8 kB / 0.4893 GB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1113, allocations: 278.7 kB / 0.4896 GB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1113, allocations: 16.81 kB / 0.4896 GB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.1114, allocations: 28.31 kB / 0.4896 GB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.1118, allocations: 347.8 kB / 0.49 GB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1118, allocations: 7.875 kB / 0.49 GB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.1119, allocations: 8 kB / 0.49 GB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1119, allocations: 4 kB / 0.49 GB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.1123, allocations: 337.6 kB / 0.4903 GB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.1136, allocations: 1.013 MB / 0.4913 GB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.114, allocations: 370.5 kB / 0.4917 GB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.1143, allocations: 208.8 kB / 0.4919 GB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-05/0.1143, allocations: 11.98 kB / 0.4919 GB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1144, allocations: 43.09 kB / 0.4919 GB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.432e-06/0.1144, allocations: 0 / 0.4919 GB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002337/0.1167, allocations: 1.053 MB / 0.4929 GB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.1167, allocations: 59.39 kB / 0.493 GB, free: 15.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.117, allocations: 223 kB / 0.4932 GB, free: 15.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.117, allocations: 41.64 kB / 0.4932 GB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1171, allocations: 136.8 kB / 0.4934 GB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1172, allocations: 130.9 kB / 0.4935 GB, free: 15.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.1174, allocations: 90.11 kB / 0.4936 GB, free: 14.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1176, allocations: 338.8 kB / 0.4939 GB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.1179, allocations: 236.8 kB / 0.4941 GB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.1183, allocations: 239.9 kB / 0.4944 GB, free: 14.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007888/0.1191, allocations: 0.5015 MB / 0.4949 GB, free: 13.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1191, allocations: 0 / 0.4949 GB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001545/0.1206, allocations: 0.7287 MB / 0.4956 GB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1207, allocations: 4 kB / 0.4956 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1207, allocations: 0 / 0.4956 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007007/0.1214, allocations: 150.5 kB / 0.4957 GB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.1218, allocations: 87.83 kB / 0.4958 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00479/0.1266, allocations: 4.621 MB / 0.5003 GB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.127, allocations: 31.67 kB / 0.5003 GB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.127, allocations: 19.94 kB / 0.5004 GB, free: 7.574 MB / 366.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.0002558/0.1273, allocations: 150.3 kB / 0.5005 GB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.1273, allocations: 27.95 kB / 0.5005 GB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.1288, allocations: 0.5857 MB / 0.5011 GB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1288, allocations: 4 kB / 0.5011 GB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1288, allocations: 0 / 0.5011 GB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.1288, allocations: 11.98 kB / 0.5011 GB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006095/0.1294, allocations: 469 kB / 0.5016 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1294, allocations: 0 / 0.5016 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.1296, allocations: 43.97 kB / 0.5016 GB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006535/0.1303, allocations: 162.4 kB / 0.5018 GB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.1303, allocations: 4 kB / 0.5018 GB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005241/0.1356, allocations: 4.607 MB / 0.5063 GB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1356, allocations: 0 / 0.5063 GB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.1368, allocations: 0.6272 MB / 0.5069 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.1369, allocations: 108.9 kB / 0.507 GB, free: 248 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.1369, allocations: 4 kB / 0.507 GB, free: 244 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.1372, allocations: 11.98 kB / 0.507 GB, free: 232 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.1373, allocations: 23.97 kB / 0.507 GB, free: 208 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.1373, allocations: 4 kB / 0.507 GB, free: 204 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.1375, allocations: 172 kB / 0.5072 GB, free: 32 kB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1375, allocations: 0 / 0.5072 GB, free: 32 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000639/0.1381, allocations: 119.9 kB / 0.5073 GB, free: 15.91 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.001787/0.1399, allocations: 1.191 MB / 0.5085 GB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.1416, allocations: 0.8342 MB / 0.5093 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1416, allocations: 0 / 0.5093 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.1427, allocations: 0.5662 MB / 0.5098 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.143, allocations: 32.59 kB / 0.5099 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005816/0.1489, allocations: 3.588 MB / 0.5134 GB, free: 9.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.1493, allocations: 0.7572 MB / 0.5141 GB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.1495, allocations: 34.25 kB / 0.5141 GB, free: 8.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.1496, allocations: 79.41 kB / 0.5142 GB, free: 8.598 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.1496, allocations: 0 / 0.5142 GB, free: 8.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03935/0.189, allocations: 7.515 MB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.38, allocations: 4.953 kB / 0.5216 GB, free: 1.195 MB / 382.1 MB " [Timeout remaining time 650] (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: 13.226941829998395] Failed to read output from testmodel.py, exit status != 0: 10.470824190997519 10.499192306 10.386480217 Calling exit ...