Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.001336/0.001336, 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.001511/0.001511, allocations: 217.1 kB / 23.03 MB, free: 5.016 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.604/1.604, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.04751/0.04751, allocations: 6.146 MB / 319.3 MB, free: 12.74 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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 43.94 kB / 444.9 MB, free: 4.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1319, allocations: 55.02 MB / 499.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.00329/0.1351, allocations: 1.493 MB / 0.4897 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.1378, allocations: 1.559 MB / 0.4912 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.138, allocations: 4 kB / 0.4912 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.1384, allocations: 127.3 kB / 0.4913 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.1387, allocations: 127.2 kB / 0.4914 GB, free: 10.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.1404, allocations: 0.8325 MB / 0.4923 GB, free: 9.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.1408, allocations: 254.8 kB / 0.4925 GB, free: 9.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.141, allocations: 64.72 kB / 0.4926 GB, free: 8.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1411, allocations: 111.5 kB / 0.4927 GB, free: 8.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.1413, allocations: 123.4 kB / 0.4928 GB, free: 8.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.1414, allocations: 20 kB / 0.4928 GB, free: 8.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000422/0.1418, allocations: 211.8 kB / 0.493 GB, free: 8.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.1418, allocations: 55.7 kB / 0.4931 GB, free: 8.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.142, allocations: 95.58 kB / 0.4931 GB, free: 8.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.1425, allocations: 422.5 kB / 0.4936 GB, free: 7.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1425, allocations: 0 / 0.4936 GB, free: 7.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1425, allocations: 0 / 0.4936 GB, free: 7.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1425, allocations: 0 / 0.4936 GB, free: 7.957 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002515/0.145, allocations: 0.7858 MB / 0.4943 GB, free: 7.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.1451, allocations: 12.03 kB / 0.4943 GB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.1451, allocations: 24.8 kB / 0.4944 GB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.1454, allocations: 203.8 kB / 0.4945 GB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1455, allocations: 16.81 kB / 0.4946 GB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.1455, allocations: 20.38 kB / 0.4946 GB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.146, allocations: 406.5 kB / 0.495 GB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.146, allocations: 192 / 0.495 GB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.1461, allocations: 15.94 kB / 0.495 GB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.1461, allocations: 4 kB / 0.495 GB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.1465, allocations: 285.6 kB / 0.4953 GB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.1479, allocations: 0.7478 MB / 0.496 GB, free: 5.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009199/0.1488, allocations: 345.6 kB / 0.4963 GB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.1491, allocations: 160.8 kB / 0.4965 GB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.1491, allocations: 4.5 kB / 0.4965 GB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.1491, allocations: 34.56 kB / 0.4965 GB, free: 4.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.422e-06/0.1491, allocations: 4 kB / 0.4965 GB, free: 4.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002915/0.1521, allocations: 0.888 MB / 0.4974 GB, free: 3.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1521, allocations: 55.41 kB / 0.4974 GB, free: 3.812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.1524, allocations: 219.7 kB / 0.4976 GB, free: 3.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.1524, allocations: 33.7 kB / 0.4977 GB, free: 3.547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1525, allocations: 140.8 kB / 0.4978 GB, free: 3.406 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.1526, allocations: 107.1 kB / 0.4979 GB, free: 3.301 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.1528, allocations: 81.58 kB / 0.498 GB, free: 3.215 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.153, allocations: 334.8 kB / 0.4983 GB, free: 2.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.1533, allocations: 176 kB / 0.4985 GB, free: 2.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.1535, allocations: 183.9 kB / 0.4987 GB, free: 2.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006044/0.1541, allocations: 397.4 kB / 0.499 GB, free: 2.137 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1541, allocations: 0 / 0.499 GB, free: 2.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001457/0.1556, allocations: 0.6541 MB / 0.4997 GB, free: 1.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1556, allocations: 4 kB / 0.4997 GB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1556, allocations: 7.938 kB / 0.4997 GB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.1567, allocations: 240.6 kB / 0.4999 GB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.1569, allocations: 55.91 kB / 0.5 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003848/0.1607, allocations: 2.526 MB / 0.5024 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.161, allocations: 31.73 kB / 0.5025 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.161, allocations: 12.03 kB / 0.5025 GB, free: 14.5 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.1611, allocations: 145.7 kB / 0.5026 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.1612, allocations: 23.86 kB / 0.5026 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.1627, allocations: 0.5947 MB / 0.5032 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.1627, allocations: 4 kB / 0.5032 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1627, allocations: 0 / 0.5032 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1627, allocations: 3.938 kB / 0.5032 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.1645, allocations: 0.9214 MB / 0.5041 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.1645, allocations: 3.984 kB / 0.5041 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1647, allocations: 27.94 kB / 0.5042 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.1657, allocations: 248.5 kB / 0.5044 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.1657, allocations: 8 kB / 0.5044 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.1694, allocations: 2.496 MB / 0.5068 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1694, allocations: 3.938 kB / 0.5068 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.1708, allocations: 0.6413 MB / 0.5075 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.1709, allocations: 23.8 kB / 0.5075 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.1709, allocations: 11.94 kB / 0.5075 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.1712, allocations: 22.92 kB / 0.5075 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.1712, allocations: 23.95 kB / 0.5075 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.1712, allocations: 12 kB / 0.5076 GB, free: 9.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.1715, allocations: 166.8 kB / 0.5077 GB, free: 8.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1715, allocations: 0 / 0.5077 GB, free: 8.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005386/0.172, allocations: 115.9 kB / 0.5078 GB, free: 8.832 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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002254/0.1722, allocations: 115.2 kB / 0.5079 GB, free: 8.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.1736, allocations: 0.5808 MB / 0.5085 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1736, allocations: 0 / 0.5085 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008394/0.1744, allocations: 390.9 kB / 0.5089 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1748, allocations: 31.94 kB / 0.5089 GB, free: 7.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1759, allocations: 0.5252 MB / 0.5094 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.1761, allocations: 142.7 kB / 0.5096 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.1763, allocations: 33.92 kB / 0.5096 GB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.1763, allocations: 27.42 kB / 0.5096 GB, free: 6.914 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1763, allocations: 0 / 0.5096 GB, free: 6.914 MB / 382.1 MB Notification: Performance of Templates: time 0.01278/0.1891, allocations: 6.093 MB / 0.5156 GB, free: 0.8867 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.596685381606221] Failed to read output from testmodel.py, exit status != 0: 0.4197810236364603 0.432701834 0.287712636 Calling exit ...