Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 115.3 kB / 19.74 MB, free: 2.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 192.3 kB / 23.03 MB, free: 4.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 251.8 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06218/0.06218, allocations: 8.242 MB / 315.3 MB, free: 396 kB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 71.88 kB / 439.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1426, allocations: 54.39 MB / 494.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.004239/0.1468, allocations: 1.858 MB / 496 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.1498, allocations: 1.567 MB / 497.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.1501, allocations: 4 kB / 497.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006544/0.1507, allocations: 135.3 kB / 497.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006255/0.1514, allocations: 143.1 kB / 497.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.1533, allocations: 0.8034 MB / 498.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006658/0.1539, allocations: 310.5 kB / 498.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.1542, allocations: 81.97 kB / 499 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.1545, allocations: 119.6 kB / 499.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.1548, allocations: 159.4 kB / 499.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.1548, allocations: 28 kB / 499.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.1553, allocations: 179.8 kB / 499.5 MB, free: 352 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.1554, allocations: 59.77 kB / 499.5 MB, free: 292 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.1556, allocations: 143.3 kB / 499.7 MB, free: 148 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000768/0.1564, allocations: 430.5 kB / 0.4884 GB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1564, allocations: 0 / 0.4884 GB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1564, allocations: 0 / 0.4884 GB, free: 15.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.1564, allocations: 0 / 0.4884 GB, free: 15.72 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003241/0.1596, allocations: 0.8951 MB / 0.4893 GB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.1597, allocations: 19.83 kB / 0.4893 GB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1598, allocations: 36.75 kB / 0.4893 GB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.1602, allocations: 213.9 kB / 0.4895 GB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.1602, allocations: 20.81 kB / 0.4895 GB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.1603, allocations: 28.31 kB / 0.4896 GB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006511/0.1609, allocations: 351.7 kB / 0.4899 GB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.161, allocations: 192 / 0.4899 GB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.161, allocations: 15.94 kB / 0.4899 GB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.161, allocations: 4 kB / 0.4899 GB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000582/0.1616, allocations: 345.6 kB / 0.4902 GB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.1637, allocations: 0.997 MB / 0.4912 GB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007762/0.1644, allocations: 374.4 kB / 0.4916 GB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.1648, allocations: 212.8 kB / 0.4918 GB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.999e-05/0.1648, allocations: 4 kB / 0.4918 GB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.1649, allocations: 43.09 kB / 0.4918 GB, free: 12.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.1649, allocations: 4 kB / 0.4918 GB, free: 12.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.0028/0.1677, allocations: 0.8353 MB / 0.4926 GB, free: 11.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1677, allocations: 55.41 kB / 0.4927 GB, free: 11.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.168, allocations: 231.1 kB / 0.4929 GB, free: 10.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.1681, allocations: 29.7 kB / 0.4929 GB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.1682, allocations: 152.7 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.1684, allocations: 119 kB / 0.4932 GB, free: 10.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.1685, allocations: 86.06 kB / 0.4933 GB, free: 10.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1687, allocations: 346.8 kB / 0.4936 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.1693, allocations: 236.8 kB / 0.4938 GB, free: 9.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.1697, allocations: 247.8 kB / 0.4941 GB, free: 9.691 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.1708, allocations: 0.5093 MB / 0.4946 GB, free: 9.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1708, allocations: 0 / 0.4946 GB, free: 9.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001606/0.1724, allocations: 0.7366 MB / 0.4953 GB, free: 8.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.1724, allocations: 4 kB / 0.4953 GB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1724, allocations: 0 / 0.4953 GB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000733/0.1732, allocations: 158.5 kB / 0.4955 GB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.1736, allocations: 83.88 kB / 0.4955 GB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005297/0.1789, allocations: 4.298 MB / 0.4997 GB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.1792, allocations: 39.7 kB / 0.4998 GB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.1793, allocations: 23.92 kB / 0.4998 GB, free: 3.48 MB / 366.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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002596/0.1796, allocations: 145.7 kB / 0.4999 GB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.278e-05/0.1796, allocations: 31.81 kB / 0.5 GB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.1811, allocations: 0.604 MB / 0.5005 GB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.1811, allocations: 4 kB / 0.5006 GB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1811, allocations: 0 / 0.5006 GB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1811, allocations: 0 / 0.5006 GB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007617/0.1819, allocations: 432.2 kB / 0.501 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1819, allocations: 0 / 0.501 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.1822, allocations: 55.91 kB / 0.501 GB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00065/0.1828, allocations: 154.5 kB / 0.5012 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.1828, allocations: 7.984 kB / 0.5012 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005246/0.1881, allocations: 4.295 MB / 0.5054 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1881, allocations: 0 / 0.5054 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.1895, allocations: 0.6392 MB / 0.506 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.1895, allocations: 23.8 kB / 0.506 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.1896, allocations: 15.98 kB / 0.506 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1898, allocations: 8 kB / 0.506 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.1899, allocations: 23.95 kB / 0.5061 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.1899, allocations: 8 kB / 0.5061 GB, free: 12.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002512/0.1902, allocations: 164.3 kB / 0.5062 GB, free: 12.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1902, allocations: 0 / 0.5062 GB, free: 12.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006159/0.1908, allocations: 123.9 kB / 0.5063 GB, free: 12.31 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002813/0.1911, allocations: 131.1 kB / 0.5065 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.1929, allocations: 0.8381 MB / 0.5073 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1929, allocations: 4 kB / 0.5073 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.1941, allocations: 0.578 MB / 0.5079 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1944, allocations: 16.67 kB / 0.5079 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1957, allocations: 0.5776 MB / 0.5084 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.1963, allocations: 0.7572 MB / 0.5092 GB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.1964, allocations: 34.25 kB / 0.5092 GB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/0.1965, allocations: 23.44 kB / 0.5092 GB, free: 9.215 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1965, allocations: 0 / 0.5092 GB, free: 9.215 MB / 382.1 MB Notification: Performance of Templates: time 0.01135/0.2079, allocations: 5.024 MB / 0.5141 GB, free: 4.207 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.159363446757197] Failed to read output from testmodel.py, exit status != 0: 0.21675935853272676 0.49134012 0.33201706099999995 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe99d03d7b0>