Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.001358/0.001358, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001548/0.001548, allocations: 221.3 kB / 23.03 MB, free: 5.016 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.945 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.04311/0.04311, allocations: 6.135 MB / 319.4 MB, free: 12.74 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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 43.92 kB / 444.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1076, allocations: 55.03 MB / 499.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002993/0.1106, allocations: 1.556 MB / 0.4893 GB, free: 12.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.113, allocations: 1.571 MB / 0.4908 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1131, allocations: 4 kB / 0.4908 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.1135, allocations: 135.3 kB / 0.4909 GB, free: 10.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004148/0.1139, allocations: 155.1 kB / 0.4911 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.1159, allocations: 0.9671 MB / 0.492 GB, free: 9.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.1163, allocations: 278.6 kB / 0.4923 GB, free: 9.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1164, allocations: 48.92 kB / 0.4923 GB, free: 9.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1165, allocations: 111.6 kB / 0.4924 GB, free: 9.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.1167, allocations: 127.3 kB / 0.4926 GB, free: 8.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.1168, allocations: 20 kB / 0.4926 GB, free: 8.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/0.1173, allocations: 235.8 kB / 0.4928 GB, free: 8.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.1173, allocations: 51.78 kB / 0.4929 GB, free: 8.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1174, allocations: 107.5 kB / 0.493 GB, free: 8.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.1181, allocations: 462.4 kB / 0.4934 GB, free: 8.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1181, allocations: 0 / 0.4934 GB, free: 8.125 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1181, allocations: 0 / 0.4934 GB, free: 8.125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1181, allocations: 0 / 0.4934 GB, free: 8.125 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.004185/0.1223, allocations: 1.051 MB / 0.4944 GB, free: 7.035 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1223, allocations: 12.03 kB / 0.4944 GB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.565e-05/0.1224, allocations: 54.73 kB / 0.4945 GB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.1225, allocations: 32.75 kB / 0.4945 GB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.1228, allocations: 209.9 kB / 0.4947 GB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1228, allocations: 20.75 kB / 0.4947 GB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.1229, allocations: 24.38 kB / 0.4948 GB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006961/0.1236, allocations: 484.2 kB / 0.4952 GB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1236, allocations: 3.938 kB / 0.4952 GB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.1236, allocations: 8 kB / 0.4952 GB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1236, allocations: 11.94 kB / 0.4952 GB, free: 6.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.1242, allocations: 299.3 kB / 0.4955 GB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.1259, allocations: 0.8115 MB / 0.4963 GB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008601/0.1268, allocations: 350.7 kB / 0.4967 GB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.1271, allocations: 152.8 kB / 0.4968 GB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008302/0.1279, allocations: 0.5162 MB / 0.4973 GB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1279, allocations: 38.8 kB / 0.4973 GB, free: 3.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.1279, allocations: 0 / 0.4973 GB, free: 3.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003704/0.1316, allocations: 0.9829 MB / 0.4983 GB, free: 2.891 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.1317, allocations: 106.8 kB / 0.4984 GB, free: 2.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.132, allocations: 232.8 kB / 0.4986 GB, free: 2.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.132, allocations: 33.7 kB / 0.4987 GB, free: 2.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1321, allocations: 144.8 kB / 0.4988 GB, free: 2.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.29e-05/0.1322, allocations: 107.1 kB / 0.4989 GB, free: 2.234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.1324, allocations: 86.06 kB / 0.499 GB, free: 2.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1326, allocations: 334.8 kB / 0.4993 GB, free: 1.805 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.1329, allocations: 196.8 kB / 0.4995 GB, free: 1.613 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.1333, allocations: 326.5 kB / 0.4998 GB, free: 1.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007503/0.1341, allocations: 476.9 kB / 0.5003 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1341, allocations: 0 / 0.5003 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002202/0.1363, allocations: 0.8107 MB / 0.501 GB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1363, allocations: 4 kB / 0.5011 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1363, allocations: 4 kB / 0.5011 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002078/0.1384, allocations: 413.3 kB / 0.5014 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.1387, allocations: 67.91 kB / 0.5015 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.1443, allocations: 3.774 MB / 0.5052 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.1447, allocations: 43.67 kB / 0.5052 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.1448, allocations: 24.14 kB / 0.5053 GB, free: 11.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * 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 {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.1449, allocations: 149.7 kB / 0.5054 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.145, allocations: 27.81 kB / 0.5054 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.1471, allocations: 0.733 MB / 0.5061 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1471, allocations: 4 kB / 0.5062 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1471, allocations: 4 kB / 0.5062 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1471, allocations: 3.984 kB / 0.5062 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.1476, allocations: 324.3 kB / 0.5065 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1476, allocations: 0 / 0.5065 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.1478, allocations: 47.91 kB / 0.5065 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/0.1498, allocations: 405.3 kB / 0.5069 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.1498, allocations: 11.98 kB / 0.5069 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005184/0.155, allocations: 3.746 MB / 0.5106 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.155, allocations: 0 / 0.5106 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.157, allocations: 0.763 MB / 0.5113 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.1571, allocations: 39.61 kB / 0.5114 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.1571, allocations: 12 kB / 0.5114 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.1574, allocations: 15.98 kB / 0.5114 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.1575, allocations: 23.95 kB / 0.5114 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.1575, allocations: 12 kB / 0.5114 GB, free: 4.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.1577, allocations: 164.5 kB / 0.5116 GB, free: 4.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1577, allocations: 3.938 kB / 0.5116 GB, free: 4.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005091/0.1582, allocations: 119.9 kB / 0.5117 GB, free: 4.488 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 (25): * Single equations (assignments): 23 * 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 {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002371/0.1606, allocations: 1.335 MB / 0.513 GB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.1622, allocations: 0.7238 MB / 0.5137 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1622, allocations: 0 / 0.5137 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.1633, allocations: 0.5013 MB / 0.5142 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.1636, allocations: 24.42 kB / 0.5142 GB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1835/0.3471, allocations: 3.712 MB / 0.5178 GB, free: 28.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.3472, allocations: 153.5 kB / 0.518 GB, free: 28.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.3474, allocations: 39.08 kB / 0.518 GB, free: 28.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3475, allocations: 84.61 kB / 0.5181 GB, free: 28.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3475, allocations: 0 / 0.5181 GB, free: 28.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04785/0.3953, allocations: 10.1 MB / 0.528 GB, free: 26.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.45, allocations: 14.33 kB / 0.528 GB, free: 26.97 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo_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_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.321682634297758] Failed to read output from testmodel.py, exit status != 0: 12.562026935163885 12.58055583 12.459177557 Calling exit ...