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.001279/0.001279, 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.001533/0.001533, allocations: 220.8 kB / 23.03 MB, free: 5.012 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8 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.03865/0.03865, allocations: 6.139 MB / 319.4 MB, free: 12.82 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.001598/0.001598, allocations: 47.92 kB / 444.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1299, allocations: 55.02 MB / 499.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.003071/0.133, allocations: 1.419 MB / 0.4891 GB, free: 12.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.1357, allocations: 1.544 MB / 0.4906 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1358, allocations: 4 kB / 0.4906 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.1362, allocations: 123.3 kB / 0.4908 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.1367, allocations: 151.1 kB / 0.4909 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.1389, allocations: 1.069 MB / 0.4919 GB, free: 9.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.1393, allocations: 238.9 kB / 0.4922 GB, free: 9.512 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.1395, allocations: 48.8 kB / 0.4922 GB, free: 9.461 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1396, allocations: 111.6 kB / 0.4923 GB, free: 9.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.1398, allocations: 103.5 kB / 0.4924 GB, free: 9.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.1399, allocations: 20 kB / 0.4924 GB, free: 9.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005522/0.1404, allocations: 251.7 kB / 0.4927 GB, free: 8.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.1405, allocations: 43.84 kB / 0.4927 GB, free: 8.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1406, allocations: 95.52 kB / 0.4928 GB, free: 8.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006614/0.1412, allocations: 434.6 kB / 0.4932 GB, free: 8.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1412, allocations: 3.938 kB / 0.4932 GB, free: 8.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1412, allocations: 4 kB / 0.4932 GB, free: 8.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1413, allocations: 0 / 0.4932 GB, free: 8.414 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.003275/0.1445, allocations: 0.8481 MB / 0.4941 GB, free: 7.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.1446, allocations: 12.03 kB / 0.4941 GB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.448e-05/0.1447, allocations: 50.73 kB / 0.4941 GB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.1447, allocations: 28.8 kB / 0.4942 GB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.1451, allocations: 203.8 kB / 0.4943 GB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.1452, allocations: 12.7 kB / 0.4944 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.1452, allocations: 20.38 kB / 0.4944 GB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.1458, allocations: 427.2 kB / 0.4948 GB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1458, allocations: 3.938 kB / 0.4948 GB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.1458, allocations: 4 kB / 0.4948 GB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1459, allocations: 4 kB / 0.4948 GB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005489/0.1464, allocations: 260.1 kB / 0.495 GB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.1487, allocations: 0.7257 MB / 0.4958 GB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009664/0.1496, allocations: 274.5 kB / 0.496 GB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.15, allocations: 140.8 kB / 0.4961 GB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.715e-05/0.1501, allocations: 7.938 kB / 0.4962 GB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.1501, allocations: 38.56 kB / 0.4962 GB, free: 5.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.445e-06/0.1501, allocations: 7.938 kB / 0.4962 GB, free: 5.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.005201/0.1553, allocations: 0.8691 MB / 0.497 GB, free: 4.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.1554, allocations: 88.98 kB / 0.4971 GB, free: 4.215 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.1558, allocations: 211.1 kB / 0.4973 GB, free: 3.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.1559, allocations: 29.7 kB / 0.4974 GB, free: 3.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.156, allocations: 136.8 kB / 0.4975 GB, free: 3.824 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.1561, allocations: 87.22 kB / 0.4976 GB, free: 3.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.1563, allocations: 69.64 kB / 0.4976 GB, free: 3.664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.1565, allocations: 334.8 kB / 0.498 GB, free: 3.328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.1567, allocations: 163.9 kB / 0.4981 GB, free: 3.168 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.1571, allocations: 219.1 kB / 0.4983 GB, free: 2.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006335/0.1578, allocations: 370.5 kB / 0.4987 GB, free: 2.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.1578, allocations: 4 kB / 0.4987 GB, free: 2.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001974/0.1597, allocations: 0.6849 MB / 0.4994 GB, free: 1.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1598, allocations: 4 kB / 0.4994 GB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1598, allocations: 0 / 0.4994 GB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/0.1616, allocations: 380.4 kB / 0.4997 GB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.1619, allocations: 47.97 kB / 0.4998 GB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005037/0.1669, allocations: 2.592 MB / 0.5023 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.1672, allocations: 27.91 kB / 0.5023 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.1672, allocations: 11.98 kB / 0.5023 GB, free: 14.71 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.0002091/0.1674, allocations: 145.8 kB / 0.5025 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.1675, allocations: 23.8 kB / 0.5025 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.1694, allocations: 0.6521 MB / 0.5031 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.1694, allocations: 7.938 kB / 0.5031 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.1694, allocations: 0 / 0.5031 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1694, allocations: 0 / 0.5031 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.1698, allocations: 296.6 kB / 0.5034 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1698, allocations: 0 / 0.5034 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.17, allocations: 39.98 kB / 0.5035 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.1717, allocations: 368.4 kB / 0.5038 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.1717, allocations: 7.938 kB / 0.5038 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00456/0.1762, allocations: 2.571 MB / 0.5063 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1762, allocations: 0 / 0.5063 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.1781, allocations: 0.7024 MB / 0.507 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.1782, allocations: 23.8 kB / 0.507 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.1782, allocations: 15.98 kB / 0.5071 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.1785, allocations: 12 kB / 0.5071 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.1785, allocations: 23.95 kB / 0.5071 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.1785, allocations: 8 kB / 0.5071 GB, free: 9.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.1787, allocations: 155.3 kB / 0.5072 GB, free: 9.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1787, allocations: 0 / 0.5072 GB, free: 9.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005506/0.1793, allocations: 103.9 kB / 0.5073 GB, free: 9.371 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.002231/0.1815, allocations: 1.252 MB / 0.5086 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.1833, allocations: 0.6155 MB / 0.5092 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1833, allocations: 0 / 0.5092 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.1846, allocations: 430.3 kB / 0.5096 GB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.185, allocations: 26.64 kB / 0.5096 GB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006471/0.1914, allocations: 3.367 MB / 0.5129 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.1916, allocations: 138.1 kB / 0.513 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.1918, allocations: 33.91 kB / 0.5131 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.1919, allocations: 71.41 kB / 0.5131 GB, free: 3.293 MB / 382.1 MB Notification: Performance of SimCode: time 1.774e-06/0.1919, allocations: 0 / 0.5131 GB, free: 3.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2423/0.4342, allocations: 9.514 MB / 0.5224 GB, free: 30.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.41, allocations: 14.39 kB / 0.5224 GB, free: 30.46 MB / 382.1 MB " [Timeout remaining time 646] (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.151748561300337] Failed to read output from testmodel.py, exit status != 0: 13.530947161838412 13.556274396 13.410670614 Calling exit ...