Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.001282/0.001282, 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.00153/0.00153, 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.475/1.475, 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.04214/0.04214, allocations: 6.128 MB / 319.4 MB, free: 12.98 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 47.94 kB / 444.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1164, allocations: 55.02 MB / 499.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.003481/0.1199, allocations: 2.253 MB / 0.49 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.1224, allocations: 1.727 MB / 0.4917 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1225, allocations: 4 kB / 0.4917 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004271/0.1229, allocations: 163.1 kB / 0.4919 GB, free: 10.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.1234, allocations: 210.7 kB / 0.4921 GB, free: 9.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.1257, allocations: 1.217 MB / 0.4933 GB, free: 8.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005401/0.1262, allocations: 406.1 kB / 0.4936 GB, free: 8.305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1264, allocations: 83.62 kB / 0.4937 GB, free: 8.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.1266, allocations: 171.4 kB / 0.4939 GB, free: 8.051 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.1269, allocations: 207.1 kB / 0.4941 GB, free: 7.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.1269, allocations: 31.94 kB / 0.4941 GB, free: 7.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.1274, allocations: 279.7 kB / 0.4944 GB, free: 7.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.1275, allocations: 79.7 kB / 0.4945 GB, free: 7.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.1277, allocations: 191 kB / 0.4946 GB, free: 7.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007573/0.1284, allocations: 0.5799 MB / 0.4952 GB, free: 6.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1285, allocations: 0 / 0.4952 GB, free: 6.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1285, allocations: 4 kB / 0.4952 GB, free: 6.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1285, allocations: 4 kB / 0.4952 GB, free: 6.688 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.005104/0.1336, allocations: 1.304 MB / 0.4965 GB, free: 5.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1336, allocations: 8.031 kB / 0.4965 GB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.592e-05/0.1337, allocations: 66.72 kB / 0.4966 GB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.1338, allocations: 44.66 kB / 0.4966 GB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.1342, allocations: 265.4 kB / 0.4969 GB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.1343, allocations: 29.03 kB / 0.4969 GB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.1343, allocations: 36.38 kB / 0.4969 GB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008038/0.1351, allocations: 478.4 kB / 0.4974 GB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1351, allocations: 3.938 kB / 0.4974 GB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.1352, allocations: 12 kB / 0.4974 GB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.1352, allocations: 4 kB / 0.4974 GB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006946/0.1359, allocations: 446.4 kB / 0.4978 GB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.1385, allocations: 1.363 MB / 0.4991 GB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009535/0.1394, allocations: 490.3 kB / 0.4996 GB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.1398, allocations: 252.8 kB / 0.4999 GB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.991e-05/0.1399, allocations: 11.98 kB / 0.4999 GB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.1399, allocations: 42.56 kB / 0.4999 GB, free: 1.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.1399, allocations: 0 / 0.4999 GB, free: 1.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.006743/0.1467, allocations: 1.774 MB / 0.5016 GB, free: 15.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1468, allocations: 114.8 kB / 0.5017 GB, free: 15.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.1471, allocations: 269.8 kB / 0.502 GB, free: 15.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/0.1472, allocations: 37.7 kB / 0.502 GB, free: 15.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1474, allocations: 161 kB / 0.5022 GB, free: 15.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.1475, allocations: 154.6 kB / 0.5023 GB, free: 15.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.1477, allocations: 110.3 kB / 0.5024 GB, free: 15.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.1479, allocations: 346.8 kB / 0.5028 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.1484, allocations: 297.2 kB / 0.5031 GB, free: 14.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/0.149, allocations: 357.6 kB / 0.5034 GB, free: 14.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.1501, allocations: 0.6547 MB / 0.504 GB, free: 13.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1501, allocations: 0 / 0.504 GB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003737/0.1538, allocations: 1.255 MB / 0.5053 GB, free: 12.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1538, allocations: 4 kB / 0.5053 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1539, allocations: 3.938 kB / 0.5053 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003678/0.1575, allocations: 0.7886 MB / 0.506 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.1579, allocations: 87.83 kB / 0.5061 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007766/0.1657, allocations: 4.075 MB / 0.5101 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.1662, allocations: 59.56 kB / 0.5102 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.1662, allocations: 19.98 kB / 0.5102 GB, free: 6.973 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.0002351/0.1665, allocations: 169.7 kB / 0.5103 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.409e-05/0.1666, allocations: 31.81 kB / 0.5104 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/0.1702, allocations: 1.202 MB / 0.5116 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.1702, allocations: 4 kB / 0.5116 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1702, allocations: 0 / 0.5116 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.1702, allocations: 3.984 kB / 0.5116 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.1709, allocations: 0.5395 MB / 0.5121 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1709, allocations: 0 / 0.5121 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.1711, allocations: 63.91 kB / 0.5121 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00359/0.1747, allocations: 0.7531 MB / 0.5129 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.884e-05/0.1748, allocations: 19.92 kB / 0.5129 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007665/0.1824, allocations: 4.021 MB / 0.5168 GB, free: 0 / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1824, allocations: 416 / 0.5168 GB, free: 0 / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1979/0.3803, allocations: 1.222 MB / 0.518 GB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3804, allocations: 39.45 kB / 0.5181 GB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.3805, allocations: 13.8 kB / 0.5181 GB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.3808, allocations: 29.95 kB / 0.5181 GB, free: 29.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.381, allocations: 39.02 kB / 0.5181 GB, free: 29.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.381, allocations: 18.22 kB / 0.5182 GB, free: 29.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.3812, allocations: 189.8 kB / 0.5183 GB, free: 29.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3812, allocations: 3.094 kB / 0.5183 GB, free: 29.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006199/0.3818, allocations: 176.5 kB / 0.5185 GB, free: 29.87 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 (36): * Single equations (assignments): 35 * 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.00364/0.3855, allocations: 1.784 MB / 0.5203 GB, free: 29.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.3881, allocations: 0.9899 MB / 0.5212 GB, free: 29.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.3881, allocations: 5.281 kB / 0.5212 GB, free: 29.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.3901, allocations: 0.6492 MB / 0.5219 GB, free: 28.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.3906, allocations: 40.48 kB / 0.5219 GB, free: 28.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.4015, allocations: 5.163 MB / 0.5269 GB, free: 27.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.4018, allocations: 0.7981 MB / 0.5277 GB, free: 26.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000204/0.402, allocations: 52.91 kB / 0.5278 GB, free: 26.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.4022, allocations: 121.9 kB / 0.5279 GB, free: 26.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4022, allocations: 0 / 0.5279 GB, free: 26.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0464/0.4486, allocations: 15.74 MB / 0.5433 GB, free: 21.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.51, allocations: 0 / 0.5433 GB, free: 21.06 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.224342085006356] Failed to read output from testmodel.py, exit status != 0: 13.63035725300142 13.642161505 13.510299032 Calling exit ...