Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.001371/0.001371, 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.001522/0.001522, allocations: 221.7 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.941 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.03814/0.03814, allocations: 6.131 MB / 319.4 MB, free: 12.77 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 51.92 kB / 444.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/0.1006, allocations: 55.02 MB / 499.4 MB, free: 12 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.003804/0.1044, allocations: 2.343 MB / 0.49 GB, free: 9.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.107, allocations: 1.617 MB / 0.4916 GB, free: 8.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.1071, allocations: 8 kB / 0.4916 GB, free: 8.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.1076, allocations: 167 kB / 0.4918 GB, free: 7.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005266/0.1081, allocations: 222.6 kB / 0.492 GB, free: 7.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.1105, allocations: 1.124 MB / 0.4931 GB, free: 6.504 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007432/0.1112, allocations: 449.9 kB / 0.4935 GB, free: 6.062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.1115, allocations: 102.4 kB / 0.4936 GB, free: 5.961 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.1117, allocations: 191.3 kB / 0.4938 GB, free: 5.773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.112, allocations: 203 kB / 0.494 GB, free: 5.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.377e-05/0.1121, allocations: 36 kB / 0.494 GB, free: 5.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006759/0.1128, allocations: 267.7 kB / 0.4943 GB, free: 5.277 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.1129, allocations: 95.62 kB / 0.4944 GB, free: 5.184 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.113, allocations: 175.2 kB / 0.4945 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00095/0.114, allocations: 0.6421 MB / 0.4952 GB, free: 4.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.114, allocations: 4 kB / 0.4952 GB, free: 4.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.114, allocations: 4 kB / 0.4952 GB, free: 4.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.114, allocations: 0 / 0.4952 GB, free: 4.359 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005348/0.1194, allocations: 1.339 MB / 0.4965 GB, free: 2.984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.1194, allocations: 12.03 kB / 0.4965 GB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.1195, allocations: 74.72 kB / 0.4966 GB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.1196, allocations: 48.66 kB / 0.4966 GB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.1201, allocations: 273.3 kB / 0.4969 GB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.1201, allocations: 33.03 kB / 0.4969 GB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.1202, allocations: 40.38 kB / 0.4969 GB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/0.1212, allocations: 0.7265 MB / 0.4977 GB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1212, allocations: 3.938 kB / 0.4977 GB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.668e-05/0.1212, allocations: 16 kB / 0.4977 GB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1212, allocations: 8 kB / 0.4977 GB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.122, allocations: 458.4 kB / 0.4981 GB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.1245, allocations: 1.19 MB / 0.4993 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009543/0.1255, allocations: 474.4 kB / 0.4997 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003895/0.1259, allocations: 236.8 kB / 0.5 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/0.1259, allocations: 15.98 kB / 0.5 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.126, allocations: 46.44 kB / 0.5 GB, free: 15.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/0.126, allocations: 0 / 0.5 GB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.00774/0.1337, allocations: 1.84 MB / 0.5018 GB, free: 13.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.1338, allocations: 110.8 kB / 0.5019 GB, free: 13.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.1342, allocations: 273.7 kB / 0.5022 GB, free: 12.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.1343, allocations: 37.7 kB / 0.5022 GB, free: 12.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1345, allocations: 184.9 kB / 0.5024 GB, free: 12.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.1346, allocations: 150.7 kB / 0.5025 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.1349, allocations: 110.3 kB / 0.5026 GB, free: 12.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.135, allocations: 338.8 kB / 0.503 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/0.1355, allocations: 293.2 kB / 0.5032 GB, free: 11.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.1361, allocations: 389.1 kB / 0.5036 GB, free: 11.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.1372, allocations: 0.639 MB / 0.5042 GB, free: 10.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.1372, allocations: 0 / 0.5042 GB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003679/0.1409, allocations: 1.227 MB / 0.5054 GB, free: 9.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.141, allocations: 8 kB / 0.5054 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.141, allocations: 3.984 kB / 0.5054 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003771/0.1447, allocations: 0.7694 MB / 0.5062 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.1452, allocations: 83.89 kB / 0.5063 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00792/0.1531, allocations: 3.821 MB / 0.51 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.1536, allocations: 55.62 kB / 0.5101 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/0.1536, allocations: 19.98 kB / 0.5101 GB, free: 4.676 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002544/0.1539, allocations: 169.7 kB / 0.5102 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.154, allocations: 35.77 kB / 0.5103 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.1577, allocations: 1.156 MB / 0.5114 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.1578, allocations: 4 kB / 0.5114 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1578, allocations: 4 kB / 0.5114 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.1578, allocations: 7.984 kB / 0.5114 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004542/0.1623, allocations: 1.607 MB / 0.513 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.403e-06/0.1623, allocations: 3.938 kB / 0.513 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.1626, allocations: 55.98 kB / 0.513 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003654/0.1662, allocations: 0.7413 MB / 0.5138 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.444e-05/0.1663, allocations: 12 kB / 0.5138 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2003/0.3666, allocations: 3.773 MB / 0.5175 GB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3666, allocations: 1.031 kB / 0.5175 GB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/0.37, allocations: 1.172 MB / 0.5186 GB, free: 27.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.3701, allocations: 40.06 kB / 0.5187 GB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.261e-05/0.3701, allocations: 9.156 kB / 0.5187 GB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.3705, allocations: 26.25 kB / 0.5187 GB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3706, allocations: 38.14 kB / 0.5187 GB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.3707, allocations: 15.25 kB / 0.5187 GB, free: 27.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.3708, allocations: 193.5 kB / 0.5189 GB, free: 27.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3708, allocations: 0 / 0.5189 GB, free: 27.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006188/0.3714, allocations: 191.7 kB / 0.5191 GB, free: 27.53 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 (35): * Single equations (assignments): 34 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003203/0.3746, allocations: 1.739 MB / 0.5208 GB, free: 26.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002315/0.377, allocations: 0.9614 MB / 0.5217 GB, free: 26.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.377, allocations: 0 / 0.5217 GB, free: 26.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.3786, allocations: 0.6372 MB / 0.5224 GB, free: 26.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.379, allocations: 36.66 kB / 0.5224 GB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009392/0.3884, allocations: 5.107 MB / 0.5274 GB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.3886, allocations: 209.7 kB / 0.5276 GB, free: 23.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.3888, allocations: 56.34 kB / 0.5276 GB, free: 23.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.389, allocations: 138.6 kB / 0.5278 GB, free: 23.35 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.389, allocations: 0 / 0.5278 GB, free: 23.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05016/0.4391, allocations: 15.28 MB / 0.5427 GB, free: 18.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.62, allocations: 15.7 kB / 0.5427 GB, free: 18.2 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.336486333981156] Failed to read output from testmodel.py, exit status != 0: 13.74638011213392 13.764557416 13.647322753 Calling exit ...