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.001484/0.001484, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.002196/0.002196, allocations: 225.2 kB / 23.04 MB, free: 4.617 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.03634/0.03634, allocations: 6.136 MB / 319.3 MB, free: 12.84 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.001661/0.001661, allocations: 51.92 kB / 444.4 MB, free: 5.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.105, allocations: 55.02 MB / 499.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.003329/0.1083, allocations: 1.997 MB / 0.4897 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.1108, allocations: 1.657 MB / 0.4913 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.111, allocations: 11.94 kB / 0.4913 GB, free: 10.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.1114, allocations: 147.1 kB / 0.4915 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.1118, allocations: 214.7 kB / 0.4917 GB, free: 9.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.1142, allocations: 1.123 MB / 0.4928 GB, free: 8.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000711/0.1149, allocations: 402.1 kB / 0.4931 GB, free: 8.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.1151, allocations: 75.69 kB / 0.4932 GB, free: 8.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.1154, allocations: 171.3 kB / 0.4934 GB, free: 8.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.1157, allocations: 175.1 kB / 0.4935 GB, free: 8.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/0.1158, allocations: 36 kB / 0.4936 GB, free: 8.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006851/0.1165, allocations: 259.7 kB / 0.4938 GB, free: 7.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.264e-05/0.1166, allocations: 83.67 kB / 0.4939 GB, free: 7.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.1168, allocations: 159.2 kB / 0.4941 GB, free: 7.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009207/0.1177, allocations: 0.58 MB / 0.4946 GB, free: 6.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1177, allocations: 0 / 0.4946 GB, free: 6.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.64e-05/0.1177, allocations: 4 kB / 0.4946 GB, free: 6.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.1177, allocations: 0 / 0.4946 GB, free: 6.945 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.005408/0.1231, allocations: 1.304 MB / 0.4959 GB, free: 5.605 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.1232, allocations: 8.031 kB / 0.4959 GB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.371e-05/0.1233, allocations: 66.67 kB / 0.496 GB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.1234, allocations: 44.66 kB / 0.496 GB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.1239, allocations: 265.4 kB / 0.4963 GB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.1239, allocations: 29.03 kB / 0.4963 GB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.124, allocations: 28.38 kB / 0.4963 GB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009744/0.125, allocations: 0.6719 MB / 0.497 GB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.125, allocations: 7.875 kB / 0.497 GB, free: 4.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.125, allocations: 12 kB / 0.497 GB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.125, allocations: 8 kB / 0.497 GB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007096/0.1257, allocations: 442.5 kB / 0.4974 GB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.1282, allocations: 1.115 MB / 0.4985 GB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/0.1292, allocations: 494.3 kB / 0.499 GB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.1296, allocations: 244.8 kB / 0.4992 GB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-05/0.1297, allocations: 12 kB / 0.4992 GB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1297, allocations: 38.56 kB / 0.4993 GB, free: 1.996 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/0.1297, allocations: 0 / 0.4993 GB, free: 1.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.006802/0.1365, allocations: 1.778 MB / 0.501 GB, free: 212 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.1366, allocations: 114.8 kB / 0.5011 GB, free: 72 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.1369, allocations: 269.8 kB / 0.5014 GB, free: 15.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.137, allocations: 37.7 kB / 0.5014 GB, free: 15.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.1371, allocations: 161.1 kB / 0.5016 GB, free: 15.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.1372, allocations: 150.6 kB / 0.5017 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.1374, allocations: 110.3 kB / 0.5018 GB, free: 15.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1376, allocations: 342.8 kB / 0.5021 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.1381, allocations: 301.2 kB / 0.5024 GB, free: 14.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/0.1387, allocations: 405.1 kB / 0.5028 GB, free: 14.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.1397, allocations: 0.6586 MB / 0.5035 GB, free: 13.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1397, allocations: 0 / 0.5035 GB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003602/0.1433, allocations: 1.255 MB / 0.5047 GB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1433, allocations: 7.938 kB / 0.5047 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1433, allocations: 0 / 0.5047 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003636/0.147, allocations: 0.78 MB / 0.5054 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.1474, allocations: 91.83 kB / 0.5055 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007823/0.1552, allocations: 3.992 MB / 0.5094 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.1557, allocations: 51.62 kB / 0.5095 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.1557, allocations: 23.98 kB / 0.5095 GB, free: 7.293 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.0003052/0.156, allocations: 160.3 kB / 0.5097 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/0.1561, allocations: 31.81 kB / 0.5097 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/0.1597, allocations: 1.21 MB / 0.5109 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.1597, allocations: 8 kB / 0.5109 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1597, allocations: 3.984 kB / 0.5109 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.1597, allocations: 0 / 0.5109 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.1604, allocations: 432.7 kB / 0.5113 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1604, allocations: 4 kB / 0.5113 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.1606, allocations: 51.98 kB / 0.5113 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003551/0.1642, allocations: 0.7568 MB / 0.5121 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.1642, allocations: 16 kB / 0.5121 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007514/0.1717, allocations: 3.931 MB / 0.5159 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1717, allocations: 0 / 0.5159 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.206/0.3778, allocations: 1.219 MB / 0.5171 GB, free: 30.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.3779, allocations: 40.67 kB / 0.5172 GB, free: 30.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.921e-05/0.3779, allocations: 13.94 kB / 0.5172 GB, free: 30.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.3783, allocations: 26.45 kB / 0.5172 GB, free: 30.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.3785, allocations: 37.45 kB / 0.5172 GB, free: 30.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.3785, allocations: 19.8 kB / 0.5173 GB, free: 30.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.3787, allocations: 187.2 kB / 0.5174 GB, free: 29.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3787, allocations: 0 / 0.5174 GB, free: 29.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005768/0.3792, allocations: 179.1 kB / 0.5176 GB, free: 29.95 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.003359/0.3826, allocations: 1.779 MB / 0.5193 GB, free: 29.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002321/0.3849, allocations: 0.9989 MB / 0.5203 GB, free: 29.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3849, allocations: 5.938 kB / 0.5203 GB, free: 29.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.3866, allocations: 0.6481 MB / 0.521 GB, free: 28.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.387, allocations: 42.38 kB / 0.521 GB, free: 28.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00971/0.3967, allocations: 5.162 MB / 0.526 GB, free: 27.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.3969, allocations: 195.8 kB / 0.5262 GB, free: 27.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.3971, allocations: 53.89 kB / 0.5263 GB, free: 27.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.3973, allocations: 121.8 kB / 0.5264 GB, free: 27.26 MB / 382.1 MB Notification: Performance of SimCode: time 1.683e-06/0.3973, allocations: 0 / 0.5264 GB, free: 27.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.065/0.4623, allocations: 15.55 MB / 0.5416 GB, free: 21.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.49, allocations: 13.28 kB / 0.5416 GB, free: 21.73 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.18972845003009] Failed to read output from testmodel.py, exit status != 0: 13.613207767251879 13.634614702 13.512939613 Calling exit ...