Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.001355/0.001355, allocations: 110.2 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.001416/0.001416, allocations: 216 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.587/1.587, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.04406/0.04406, allocations: 6.135 MB / 315.7 MB, free: 1.121 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.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 47.86 kB / 439.2 MB, free: 40.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/0.09921, allocations: 54.98 MB / 494.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002328/0.1015, allocations: 1.572 MB / 495.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1034, allocations: 1.61 MB / 497.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1035, allocations: 4 kB / 497.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.1039, allocations: 127.4 kB / 497.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.1042, allocations: 143.1 kB / 497.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1059, allocations: 1.171 MB / 498.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.1062, allocations: 238.8 kB / 499.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.1063, allocations: 56.59 kB / 499.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.567e-05/0.1064, allocations: 99.62 kB / 499.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1066, allocations: 123.5 kB / 499.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.1066, allocations: 16 kB / 499.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.107, allocations: 263.8 kB / 499.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.107, allocations: 51.77 kB / 499.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.1071, allocations: 115.5 kB / 499.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.1076, allocations: 434.5 kB / 0.4885 GB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1076, allocations: 0 / 0.4885 GB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1076, allocations: 0 / 0.4885 GB, free: 4.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1076, allocations: 4 kB / 0.4885 GB, free: 4.426 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003053/0.1106, allocations: 0.9234 MB / 0.4894 GB, free: 3.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.1107, allocations: 8.031 kB / 0.4894 GB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.568e-05/0.1107, allocations: 54.73 kB / 0.4894 GB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.1108, allocations: 28.8 kB / 0.4895 GB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1111, allocations: 256.8 kB / 0.4897 GB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1111, allocations: 16.7 kB / 0.4897 GB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.1111, allocations: 16.38 kB / 0.4897 GB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.1115, allocations: 294.7 kB / 0.49 GB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1116, allocations: 3.938 kB / 0.49 GB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.1116, allocations: 4 kB / 0.49 GB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1116, allocations: 7.984 kB / 0.49 GB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.1119, allocations: 252.2 kB / 0.4903 GB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.1132, allocations: 0.9284 MB / 0.4912 GB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/0.1137, allocations: 281 kB / 0.4915 GB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.1139, allocations: 138.6 kB / 0.4916 GB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.537e-05/0.114, allocations: 4 kB / 0.4916 GB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.114, allocations: 42.5 kB / 0.4916 GB, free: 0.9883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.114, allocations: 4 kB / 0.4916 GB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003104/0.1171, allocations: 0.9489 MB / 0.4926 GB, free: 8 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.1172, allocations: 89.05 kB / 0.4927 GB, free: 15.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.1175, allocations: 201.6 kB / 0.4928 GB, free: 15.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.1175, allocations: 33.7 kB / 0.4929 GB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1176, allocations: 128.9 kB / 0.493 GB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.803e-05/0.1177, allocations: 87.23 kB / 0.4931 GB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.1179, allocations: 73.62 kB / 0.4932 GB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1181, allocations: 326.8 kB / 0.4935 GB, free: 15.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.1183, allocations: 159.9 kB / 0.4936 GB, free: 14.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.1186, allocations: 203.2 kB / 0.4938 GB, free: 14.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006337/0.1193, allocations: 373.1 kB / 0.4942 GB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1193, allocations: 3.938 kB / 0.4942 GB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002024/0.1213, allocations: 0.6807 MB / 0.4948 GB, free: 13.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1213, allocations: 4 kB / 0.4948 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1213, allocations: 0 / 0.4948 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/0.1233, allocations: 380.4 kB / 0.4952 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.1236, allocations: 51.91 kB / 0.4953 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005156/0.1287, allocations: 2.751 MB / 0.4979 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.129, allocations: 27.84 kB / 0.498 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.1291, allocations: 12 kB / 0.498 GB, free: 10.25 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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001825/0.1293, allocations: 138.3 kB / 0.4981 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/0.1293, allocations: 35.78 kB / 0.4981 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.1314, allocations: 0.6364 MB / 0.4988 GB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.1314, allocations: 4 kB / 0.4988 GB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.1314, allocations: 4 kB / 0.4988 GB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1314, allocations: 0 / 0.4988 GB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.1319, allocations: 393.4 kB / 0.4991 GB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1319, allocations: 4 kB / 0.4991 GB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.132, allocations: 35.92 kB / 0.4992 GB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.1339, allocations: 376.4 kB / 0.4995 GB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.1339, allocations: 11.94 kB / 0.4996 GB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00483/0.1388, allocations: 2.712 MB / 0.5022 GB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1388, allocations: 3.984 kB / 0.5022 GB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.1408, allocations: 0.6909 MB / 0.5029 GB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1409, allocations: 108.9 kB / 0.503 GB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.1409, allocations: 4 kB / 0.503 GB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.1412, allocations: 15.94 kB / 0.503 GB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.1413, allocations: 19.97 kB / 0.503 GB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.1413, allocations: 11.98 kB / 0.503 GB, free: 4.816 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.1415, allocations: 151.2 kB / 0.5032 GB, free: 4.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1415, allocations: 0 / 0.5032 GB, free: 4.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000482/0.142, allocations: 99.95 kB / 0.5033 GB, free: 4.57 MB / 366.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 (22): * Single equations (assignments): 21 * 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002319/0.1443, allocations: 1.252 MB / 0.5045 GB, free: 3.289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.1462, allocations: 0.6128 MB / 0.5051 GB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1462, allocations: 0 / 0.5051 GB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.1475, allocations: 434.3 kB / 0.5055 GB, free: 2.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.1478, allocations: 32.11 kB / 0.5055 GB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/0.1545, allocations: 3.343 MB / 0.5088 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.155, allocations: 0.7522 MB / 0.5095 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.1551, allocations: 29.91 kB / 0.5096 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.1552, allocations: 67.41 kB / 0.5096 GB, free: 13.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1552, allocations: 0 / 0.5096 GB, free: 13.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.1953, allocations: 8.853 MB / 0.5183 GB, free: 5.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.12, allocations: 9.531 kB / 0.5183 GB, free: 5.172 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad_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_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.063790500993491] Failed to read output from testmodel.py, exit status != 0: 12.221478196006501 12.237083618 12.126421822 Calling exit ...