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.001732/0.001732, allocations: 111.7 kB / 19.74 MB, free: 2.164 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.002186/0.002186, allocations: 222.7 kB / 23.05 MB, free: 5 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.04491/0.04491, allocations: 6.131 MB / 319.4 MB, free: 12.96 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.001526/0.001526, allocations: 51.92 kB / 444.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1338, allocations: 55.02 MB / 499.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.003321/0.1371, allocations: 1.587 MB / 0.4894 GB, free: 12.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.1399, allocations: 1.614 MB / 0.4909 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.1402, allocations: 8 kB / 0.4909 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004926/0.1407, allocations: 123.3 kB / 0.4911 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005664/0.1412, allocations: 147.1 kB / 0.4912 GB, free: 10.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.1436, allocations: 1.163 MB / 0.4923 GB, free: 9.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004798/0.1441, allocations: 242.8 kB / 0.4926 GB, free: 9.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1443, allocations: 56.78 kB / 0.4926 GB, free: 9.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.1444, allocations: 99.62 kB / 0.4927 GB, free: 9.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.1447, allocations: 123.5 kB / 0.4928 GB, free: 9.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.1447, allocations: 20 kB / 0.4929 GB, free: 9.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007031/0.1454, allocations: 267.7 kB / 0.4931 GB, free: 8.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.1455, allocations: 51.78 kB / 0.4932 GB, free: 8.766 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.1456, allocations: 115.4 kB / 0.4933 GB, free: 8.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009343/0.1466, allocations: 434.6 kB / 0.4937 GB, free: 8.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1466, allocations: 0 / 0.4937 GB, free: 8.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1466, allocations: 0 / 0.4937 GB, free: 8.227 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.1466, allocations: 0 / 0.4937 GB, free: 8.227 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.003489/0.1501, allocations: 0.852 MB / 0.4945 GB, free: 7.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.1501, allocations: 16.03 kB / 0.4945 GB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.1503, allocations: 50.73 kB / 0.4946 GB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.769e-05/0.1504, allocations: 24.8 kB / 0.4946 GB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.1507, allocations: 203.8 kB / 0.4948 GB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.1508, allocations: 12.7 kB / 0.4948 GB, free: 7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.1508, allocations: 24.31 kB / 0.4948 GB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.1513, allocations: 286.7 kB / 0.4951 GB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1513, allocations: 3.938 kB / 0.4951 GB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.1514, allocations: 12 kB / 0.4951 GB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1514, allocations: 8 kB / 0.4951 GB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.1518, allocations: 256.2 kB / 0.4954 GB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.1534, allocations: 0.908 MB / 0.4963 GB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/0.1541, allocations: 282.4 kB / 0.4965 GB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.1543, allocations: 140.8 kB / 0.4967 GB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-05/0.1544, allocations: 11.97 kB / 0.4967 GB, free: 5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.1544, allocations: 42.56 kB / 0.4967 GB, free: 4.949 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.1544, allocations: 3.938 kB / 0.4967 GB, free: 4.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003336/0.1577, allocations: 0.873 MB / 0.4976 GB, free: 4.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.1578, allocations: 81.05 kB / 0.4977 GB, free: 3.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.1581, allocations: 203.1 kB / 0.4978 GB, free: 3.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.1581, allocations: 33.7 kB / 0.4979 GB, free: 3.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1582, allocations: 132.9 kB / 0.498 GB, free: 3.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.316e-05/0.1583, allocations: 91.2 kB / 0.4981 GB, free: 3.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.1585, allocations: 61.69 kB / 0.4981 GB, free: 3.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1586, allocations: 330.8 kB / 0.4985 GB, free: 3.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.1589, allocations: 167.9 kB / 0.4986 GB, free: 2.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.1592, allocations: 201.3 kB / 0.4988 GB, free: 2.727 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00059/0.1598, allocations: 370.4 kB / 0.4992 GB, free: 2.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1598, allocations: 0 / 0.4992 GB, free: 2.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002016/0.1618, allocations: 0.6848 MB / 0.4998 GB, free: 1.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1619, allocations: 8 kB / 0.4998 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1619, allocations: 3.984 kB / 0.4999 GB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.1638, allocations: 372.5 kB / 0.5002 GB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.164, allocations: 55.91 kB / 0.5003 GB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00535/0.1694, allocations: 2.659 MB / 0.5029 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.1697, allocations: 27.84 kB / 0.5029 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.1697, allocations: 12 kB / 0.5029 GB, free: 14.43 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.0002058/0.17, allocations: 141.8 kB / 0.503 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.17, allocations: 27.78 kB / 0.5031 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.172, allocations: 0.6365 MB / 0.5037 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.172, allocations: 4 kB / 0.5037 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.172, allocations: 0 / 0.5037 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.172, allocations: 0 / 0.5037 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.1725, allocations: 368.3 kB / 0.504 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1725, allocations: 0 / 0.504 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1727, allocations: 35.92 kB / 0.5041 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/0.1744, allocations: 380.5 kB / 0.5044 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.1745, allocations: 11.94 kB / 0.5044 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004911/0.1794, allocations: 2.612 MB / 0.507 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1794, allocations: 0 / 0.507 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.1814, allocations: 0.6987 MB / 0.5077 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1815, allocations: 23.8 kB / 0.5077 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.1816, allocations: 7.938 kB / 0.5077 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.1818, allocations: 19.98 kB / 0.5077 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.1819, allocations: 19.95 kB / 0.5077 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.1819, allocations: 12 kB / 0.5078 GB, free: 9.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.1821, allocations: 155.3 kB / 0.5079 GB, free: 9.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1821, allocations: 3.938 kB / 0.5079 GB, free: 9.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005528/0.1827, allocations: 103.9 kB / 0.508 GB, free: 8.984 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.002537/0.1852, allocations: 1.244 MB / 0.5092 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.1872, allocations: 0.6154 MB / 0.5098 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1872, allocations: 0 / 0.5098 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.1885, allocations: 438.3 kB / 0.5102 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1889, allocations: 20 kB / 0.5103 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006994/0.1959, allocations: 3.371 MB / 0.5136 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.1964, allocations: 0.7523 MB / 0.5143 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.1965, allocations: 33.91 kB / 0.5143 GB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1967, allocations: 67.41 kB / 0.5144 GB, free: 2.289 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.1967, allocations: 0 / 0.5144 GB, free: 2.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2835/0.4802, allocations: 9.082 MB / 0.5233 GB, free: 29.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.26, allocations: 11 kB / 0.5233 GB, free: 29.91 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.059480210067704] Failed to read output from testmodel.py, exit status != 0: 13.383751873159781 13.413014034 13.260318272 Calling exit ...