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.00169/0.00169, allocations: 115.5 kB / 19.74 MB, free: 2.152 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.002107/0.002107, allocations: 221.2 kB / 23.05 MB, free: 4.996 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.04176/0.04176, allocations: 6.143 MB / 319.4 MB, free: 13.01 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.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.001535/0.001535, allocations: 51.92 kB / 444.5 MB, free: 5.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1077, allocations: 55.02 MB / 499.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002929/0.1106, allocations: 1.576 MB / 0.4894 GB, free: 12.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.113, allocations: 1.61 MB / 0.4909 GB, free: 11.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1131, allocations: 4 kB / 0.4909 GB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.1135, allocations: 131.3 kB / 0.4911 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.1139, allocations: 143.1 kB / 0.4912 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.1162, allocations: 1.177 MB / 0.4923 GB, free: 9.695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.1167, allocations: 242.8 kB / 0.4926 GB, free: 9.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1168, allocations: 52.8 kB / 0.4926 GB, free: 9.402 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1169, allocations: 99.64 kB / 0.4927 GB, free: 9.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.1172, allocations: 123.5 kB / 0.4928 GB, free: 9.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.1172, allocations: 20 kB / 0.4929 GB, free: 9.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005173/0.1177, allocations: 263.8 kB / 0.4931 GB, free: 8.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.1178, allocations: 51.77 kB / 0.4932 GB, free: 8.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1179, allocations: 115.4 kB / 0.4933 GB, free: 8.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006309/0.1185, allocations: 430.6 kB / 0.4937 GB, free: 8.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1185, allocations: 4 kB / 0.4937 GB, free: 8.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1185, allocations: 0 / 0.4937 GB, free: 8.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.1185, allocations: 3.938 kB / 0.4937 GB, free: 8.312 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003166/0.1217, allocations: 0.8521 MB / 0.4945 GB, free: 7.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.1218, allocations: 8.031 kB / 0.4945 GB, free: 7.414 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.962e-05/0.1218, allocations: 46.73 kB / 0.4946 GB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.1219, allocations: 28.8 kB / 0.4946 GB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1223, allocations: 199.8 kB / 0.4948 GB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.1223, allocations: 20.7 kB / 0.4948 GB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.1223, allocations: 20.38 kB / 0.4948 GB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.1228, allocations: 298.6 kB / 0.4951 GB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1228, allocations: 3.938 kB / 0.4951 GB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.1229, allocations: 4 kB / 0.4951 GB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1229, allocations: 4 kB / 0.4951 GB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.1233, allocations: 260.2 kB / 0.4954 GB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.125, allocations: 0.9079 MB / 0.4963 GB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006486/0.1256, allocations: 290.5 kB / 0.4965 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.1258, allocations: 140.8 kB / 0.4967 GB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.1259, allocations: 8 kB / 0.4967 GB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1259, allocations: 30.56 kB / 0.4967 GB, free: 5.047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.402e-06/0.1259, allocations: 0 / 0.4967 GB, free: 5.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003423/0.1294, allocations: 0.8807 MB / 0.4976 GB, free: 4.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.295e-05/0.1294, allocations: 85.05 kB / 0.4977 GB, free: 4.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.1297, allocations: 203.1 kB / 0.4978 GB, free: 3.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.1298, allocations: 37.7 kB / 0.4979 GB, free: 3.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1299, allocations: 132.9 kB / 0.498 GB, free: 3.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.533e-05/0.13, allocations: 91.22 kB / 0.4981 GB, free: 3.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.1301, allocations: 61.69 kB / 0.4982 GB, free: 3.512 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.1303, allocations: 330.8 kB / 0.4985 GB, free: 3.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.1306, allocations: 168 kB / 0.4986 GB, free: 3.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.1309, allocations: 197.4 kB / 0.4988 GB, free: 2.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.1315, allocations: 370.5 kB / 0.4992 GB, free: 2.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1315, allocations: 3.938 kB / 0.4992 GB, free: 2.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001934/0.1334, allocations: 0.6887 MB / 0.4998 GB, free: 1.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.1334, allocations: 4 kB / 0.4999 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1334, allocations: 4 kB / 0.4999 GB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/0.1353, allocations: 376.4 kB / 0.5002 GB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.1356, allocations: 55.91 kB / 0.5003 GB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004802/0.1404, allocations: 2.642 MB / 0.5028 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.1406, allocations: 27.84 kB / 0.5029 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.1407, allocations: 15.98 kB / 0.5029 GB, free: 14.52 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 (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.0001602/0.1408, allocations: 133.8 kB / 0.503 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.1409, allocations: 27.78 kB / 0.503 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.1428, allocations: 0.6482 MB / 0.5037 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.1428, allocations: 4 kB / 0.5037 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1428, allocations: 0 / 0.5037 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1428, allocations: 3.984 kB / 0.5037 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.1433, allocations: 364.4 kB / 0.504 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1433, allocations: 0 / 0.504 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.1434, allocations: 35.98 kB / 0.5041 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/0.1453, allocations: 376.3 kB / 0.5044 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.1453, allocations: 11.94 kB / 0.5044 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004546/0.1498, allocations: 2.623 MB / 0.507 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1498, allocations: 0 / 0.507 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.1517, allocations: 0.6948 MB / 0.5077 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.1518, allocations: 27.78 kB / 0.5077 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.1518, allocations: 4 kB / 0.5077 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.1521, allocations: 15.98 kB / 0.5077 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.1522, allocations: 20.09 kB / 0.5077 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.1522, allocations: 19.98 kB / 0.5078 GB, free: 9.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1524, allocations: 147.3 kB / 0.5079 GB, free: 9.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1524, allocations: 0 / 0.5079 GB, free: 9.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004602/0.1528, allocations: 103.9 kB / 0.508 GB, free: 9.078 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 (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.002195/0.155, allocations: 1.244 MB / 0.5092 GB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.1568, allocations: 0.6233 MB / 0.5098 GB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1568, allocations: 0 / 0.5098 GB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.158, allocations: 430.3 kB / 0.5102 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.1584, allocations: 23.98 kB / 0.5103 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006634/0.165, allocations: 3.377 MB / 0.5136 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.1655, allocations: 0.7485 MB / 0.5143 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.1656, allocations: 33.92 kB / 0.5143 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.1658, allocations: 67.41 kB / 0.5144 GB, free: 2.383 MB / 382.1 MB Notification: Performance of SimCode: time 1.703e-06/0.1658, allocations: 0 / 0.5144 GB, free: 2.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2406/0.4064, allocations: 9.082 MB / 0.5233 GB, free: 29.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.26, allocations: 2.109 kB / 0.5233 GB, free: 29.88 MB / 382.1 MB " [Timeout remaining time 647] (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: 16.07227628799592] Failed to read output from testmodel.py, exit status != 0: 13.386483934002172 13.411384603 13.287634883 Calling exit ...