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.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.001427/0.001427, 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.001708/0.001708, allocations: 224 kB / 23.03 MB, free: 4.625 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.57/1.57, 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.04218/0.04218, allocations: 6.151 MB / 319.4 MB, free: 12.73 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: 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.002616/0.002616, allocations: 47.92 kB / 444.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.143, allocations: 55.03 MB / 499.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.00312/0.1461, allocations: 1.586 MB / 0.4898 GB, free: 11.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.1484, allocations: 1.548 MB / 0.4913 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.1485, allocations: 4 kB / 0.4913 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.1489, allocations: 135.3 kB / 0.4914 GB, free: 10.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.1492, allocations: 131.2 kB / 0.4915 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.1504, allocations: 0.603 MB / 0.4921 GB, free: 9.438 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004072/0.1508, allocations: 286.6 kB / 0.4924 GB, free: 9.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.151, allocations: 81.91 kB / 0.4925 GB, free: 9.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1512, allocations: 123.5 kB / 0.4926 GB, free: 8.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.1514, allocations: 139.4 kB / 0.4927 GB, free: 8.816 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.1514, allocations: 24 kB / 0.4928 GB, free: 8.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.1517, allocations: 167.9 kB / 0.4929 GB, free: 8.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.1518, allocations: 71.7 kB / 0.493 GB, free: 8.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1519, allocations: 115.4 kB / 0.4931 GB, free: 8.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00056/0.1525, allocations: 434.4 kB / 0.4935 GB, free: 8.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1525, allocations: 0 / 0.4935 GB, free: 8.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1525, allocations: 0 / 0.4935 GB, free: 8.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1525, allocations: 4 kB / 0.4935 GB, free: 8.016 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.003224/0.1557, allocations: 0.8951 MB / 0.4944 GB, free: 7.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1558, allocations: 12.03 kB / 0.4944 GB, free: 7.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.742e-05/0.1559, allocations: 32.75 kB / 0.4944 GB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.1562, allocations: 206.7 kB / 0.4946 GB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.1562, allocations: 20.81 kB / 0.4946 GB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.1562, allocations: 28.36 kB / 0.4947 GB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.1569, allocations: 428.8 kB / 0.4951 GB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1569, allocations: 192 / 0.4951 GB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.157, allocations: 15.94 kB / 0.4951 GB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.157, allocations: 4 kB / 0.4951 GB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005572/0.1575, allocations: 345.6 kB / 0.4954 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.1592, allocations: 0.8454 MB / 0.4963 GB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.1599, allocations: 380.8 kB / 0.4966 GB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.1603, allocations: 208.8 kB / 0.4968 GB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.339e-05/0.1603, allocations: 12 kB / 0.4968 GB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.1603, allocations: 43.14 kB / 0.4969 GB, free: 4.441 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.503e-06/0.1603, allocations: 0 / 0.4969 GB, free: 4.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002652/0.163, allocations: 0.8448 MB / 0.4977 GB, free: 3.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.163, allocations: 55.41 kB / 0.4978 GB, free: 3.516 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.1633, allocations: 231 kB / 0.498 GB, free: 3.281 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.1634, allocations: 37.7 kB / 0.498 GB, free: 3.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1635, allocations: 136.8 kB / 0.4981 GB, free: 3.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1636, allocations: 126.9 kB / 0.4983 GB, free: 2.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.1638, allocations: 86.11 kB / 0.4983 GB, free: 2.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1639, allocations: 338.8 kB / 0.4987 GB, free: 2.543 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.1643, allocations: 240.8 kB / 0.4989 GB, free: 2.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.1647, allocations: 247.9 kB / 0.4991 GB, free: 2.066 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008432/0.1656, allocations: 0.5171 MB / 0.4996 GB, free: 1.547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1656, allocations: 0 / 0.4996 GB, free: 1.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00151/0.1671, allocations: 0.7248 MB / 0.5003 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1671, allocations: 4 kB / 0.5003 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1671, allocations: 7.984 kB / 0.5004 GB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007382/0.1679, allocations: 158.4 kB / 0.5005 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.1683, allocations: 83.89 kB / 0.5006 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004805/0.1731, allocations: 4.224 MB / 0.5047 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.1734, allocations: 27.77 kB / 0.5047 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.1734, allocations: 19.98 kB / 0.5048 GB, free: 11.97 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 (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.0002361/0.1737, allocations: 157.9 kB / 0.5049 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/0.1738, allocations: 23.86 kB / 0.5049 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.1752, allocations: 0.5962 MB / 0.5055 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.1752, allocations: 7.984 kB / 0.5055 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1752, allocations: 0 / 0.5055 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1752, allocations: 4 kB / 0.5055 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/0.1758, allocations: 309 kB / 0.5058 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.1758, allocations: 0 / 0.5058 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.176, allocations: 59.84 kB / 0.5059 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006207/0.1766, allocations: 150.5 kB / 0.506 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.1767, allocations: 11.98 kB / 0.506 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005104/0.1818, allocations: 4.211 MB / 0.5101 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1818, allocations: 0 / 0.5101 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.1831, allocations: 0.6313 MB / 0.5108 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.1831, allocations: 31.69 kB / 0.5108 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.1832, allocations: 11.98 kB / 0.5108 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.1834, allocations: 4 kB / 0.5108 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.1835, allocations: 39.92 kB / 0.5108 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.1835, allocations: 8 kB / 0.5109 GB, free: 5.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.1837, allocations: 164.1 kB / 0.511 GB, free: 5.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1837, allocations: 0 / 0.511 GB, free: 5.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005601/0.1842, allocations: 116 kB / 0.5111 GB, free: 5.055 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.0002464/0.1845, allocations: 119.2 kB / 0.5112 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.1863, allocations: 0.842 MB / 0.5121 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.1863, allocations: 0 / 0.5121 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.1875, allocations: 0.578 MB / 0.5126 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.1878, allocations: 16.67 kB / 0.5126 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1891, allocations: 0.5855 MB / 0.5132 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.1892, allocations: 147.6 kB / 0.5133 GB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.1894, allocations: 38.25 kB / 0.5134 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.23e-05/0.1895, allocations: 27.44 kB / 0.5134 GB, free: 2.566 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1895, allocations: 4 kB / 0.5134 GB, free: 2.562 MB / 382.1 MB Notification: Performance of Templates: time 0.2599/0.4494, allocations: 5.18 MB / 0.5185 GB, free: 29.71 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.351337876170874] Failed to read output from testmodel.py, exit status != 0: 0.46005094051361084 0.473105457 0.317644237 Calling exit ...