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.001604/0.001604, 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.001963/0.001963, allocations: 219.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.626/1.626, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.03763/0.03763, allocations: 6.128 MB / 319.4 MB, free: 12.99 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.001498/0.001498, allocations: 51.91 kB / 444.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 55.03 MB / 499.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.00303/0.1106, allocations: 1.736 MB / 0.4895 GB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.1129, allocations: 1.637 MB / 0.4911 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.113, allocations: 8 kB / 0.4911 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.1134, allocations: 135.3 kB / 0.4913 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.1137, allocations: 159.1 kB / 0.4914 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.1158, allocations: 1.05 MB / 0.4924 GB, free: 9.562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004489/0.1162, allocations: 270.8 kB / 0.4927 GB, free: 9.297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.1164, allocations: 60.84 kB / 0.4927 GB, free: 9.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1165, allocations: 119.5 kB / 0.4929 GB, free: 9.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.1167, allocations: 135.4 kB / 0.493 GB, free: 8.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.1168, allocations: 24 kB / 0.493 GB, free: 8.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004896/0.1172, allocations: 243.8 kB / 0.4932 GB, free: 8.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.1173, allocations: 55.77 kB / 0.4933 GB, free: 8.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.1174, allocations: 135.3 kB / 0.4934 GB, free: 8.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006257/0.1181, allocations: 466.3 kB / 0.4939 GB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1181, allocations: 0 / 0.4939 GB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1181, allocations: 0 / 0.4939 GB, free: 8.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1181, allocations: 4 kB / 0.4939 GB, free: 8.074 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.00422/0.1223, allocations: 1.047 MB / 0.4949 GB, free: 6.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1223, allocations: 8.031 kB / 0.4949 GB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.731e-05/0.1224, allocations: 58.72 kB / 0.495 GB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.1225, allocations: 32.75 kB / 0.495 GB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.1228, allocations: 217.9 kB / 0.4952 GB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.1229, allocations: 20.75 kB / 0.4952 GB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.1229, allocations: 24.38 kB / 0.4952 GB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/0.1235, allocations: 351.7 kB / 0.4956 GB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1235, allocations: 3.938 kB / 0.4956 GB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.1236, allocations: 8 kB / 0.4956 GB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1236, allocations: 4 kB / 0.4956 GB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.1241, allocations: 307.3 kB / 0.4959 GB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.1259, allocations: 0.9167 MB / 0.4968 GB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/0.1267, allocations: 350.7 kB / 0.4971 GB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.127, allocations: 152.8 kB / 0.4973 GB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008246/0.1278, allocations: 0.5903 MB / 0.4978 GB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.085e-05/0.1279, allocations: 46.73 kB / 0.4979 GB, free: 3.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.1279, allocations: 0 / 0.4979 GB, free: 3.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003711/0.1316, allocations: 0.9789 MB / 0.4988 GB, free: 2.812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/0.1317, allocations: 114.8 kB / 0.499 GB, free: 2.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.1319, allocations: 232.8 kB / 0.4992 GB, free: 2.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.132, allocations: 29.7 kB / 0.4992 GB, free: 2.406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1321, allocations: 148.8 kB / 0.4993 GB, free: 2.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.057e-05/0.1322, allocations: 99.16 kB / 0.4994 GB, free: 2.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.1323, allocations: 86.11 kB / 0.4995 GB, free: 2.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1325, allocations: 330.8 kB / 0.4998 GB, free: 1.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.1328, allocations: 196.8 kB / 0.5 GB, free: 1.539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.1332, allocations: 271.1 kB / 0.5003 GB, free: 1.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007315/0.1339, allocations: 476.9 kB / 0.5007 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1339, allocations: 3.938 kB / 0.5007 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002268/0.1362, allocations: 0.8145 MB / 0.5015 GB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.1362, allocations: 14.97 kB / 0.5015 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.1362, allocations: 0 / 0.5015 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/0.1384, allocations: 409.3 kB / 0.5019 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.1387, allocations: 75.89 kB / 0.502 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005539/0.1443, allocations: 3.816 MB / 0.5057 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.1446, allocations: 47.8 kB / 0.5058 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.1447, allocations: 15.98 kB / 0.5058 GB, free: 11.34 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.0002326/0.1449, allocations: 157.7 kB / 0.5059 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.145, allocations: 19.86 kB / 0.506 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.1471, allocations: 0.7407 MB / 0.5067 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1471, allocations: 4 kB / 0.5067 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1471, allocations: 0 / 0.5067 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1471, allocations: 0 / 0.5067 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.1476, allocations: 400.1 kB / 0.5071 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1476, allocations: 0 / 0.5071 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.1478, allocations: 43.92 kB / 0.5071 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.1497, allocations: 405.3 kB / 0.5075 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.1497, allocations: 8 kB / 0.5075 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005109/0.1548, allocations: 3.809 MB / 0.5112 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1548, allocations: 0 / 0.5112 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.1569, allocations: 0.7668 MB / 0.512 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.157, allocations: 39.66 kB / 0.512 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.1571, allocations: 8 kB / 0.512 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.1573, allocations: 15.98 kB / 0.512 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.1574, allocations: 23.95 kB / 0.5121 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.1574, allocations: 8 kB / 0.5121 GB, free: 4.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.1576, allocations: 164.4 kB / 0.5122 GB, free: 4.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1576, allocations: 0 / 0.5122 GB, free: 4.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005691/0.1582, allocations: 124 kB / 0.5123 GB, free: 4.301 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.002561/0.1607, allocations: 1.327 MB / 0.5136 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.1625, allocations: 0.7315 MB / 0.5144 GB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.1625, allocations: 4 kB / 0.5144 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.1637, allocations: 0.5053 MB / 0.5149 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.164, allocations: 20.44 kB / 0.5149 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2208/0.3848, allocations: 3.718 MB / 0.5185 GB, free: 28.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.385, allocations: 0.7616 MB / 0.5193 GB, free: 28.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.3851, allocations: 32.62 kB / 0.5193 GB, free: 28.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3853, allocations: 86.2 kB / 0.5194 GB, free: 28.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3853, allocations: 2.625 kB / 0.5194 GB, free: 28.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04906/0.4343, allocations: 9.448 MB / 0.5286 GB, free: 27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.07, allocations: 3.984 kB / 0.5286 GB, free: 27 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.924183987001015] Failed to read output from testmodel.py, exit status != 0: 12.186398016994644 12.205239273 12.084642144 Calling exit ...