Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.001294/0.001294, 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.001572/0.001572, allocations: 222.3 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.648/1.648, allocations: 230.6 MB / 256.8 MB, free: 7.945 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.0429/0.0429, allocations: 6.148 MB / 319.4 MB, free: 12.75 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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 47.92 kB / 444.9 MB, free: 4.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1312, allocations: 55.03 MB / 499.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.003463/0.1347, allocations: 1.56 MB / 0.4897 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1372, allocations: 1.567 MB / 0.4913 GB, free: 10.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.707e-05/0.1373, allocations: 4 kB / 0.4913 GB, free: 10.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.1378, allocations: 135.3 kB / 0.4914 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004157/0.1382, allocations: 159.1 kB / 0.4916 GB, free: 10.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.1402, allocations: 0.957 MB / 0.4925 GB, free: 9.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000434/0.1407, allocations: 274.7 kB / 0.4928 GB, free: 8.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.1408, allocations: 60.78 kB / 0.4928 GB, free: 8.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.141, allocations: 111.6 kB / 0.4929 GB, free: 8.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.1412, allocations: 119.4 kB / 0.493 GB, free: 8.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.1412, allocations: 20 kB / 0.4931 GB, free: 8.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.1417, allocations: 235.8 kB / 0.4933 GB, free: 8.258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.1418, allocations: 51.77 kB / 0.4933 GB, free: 8.207 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.1419, allocations: 111.5 kB / 0.4934 GB, free: 8.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006596/0.1426, allocations: 466.4 kB / 0.4939 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1426, allocations: 3.938 kB / 0.4939 GB, free: 7.637 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1426, allocations: 0 / 0.4939 GB, free: 7.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1426, allocations: 0 / 0.4939 GB, free: 7.637 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.004263/0.1469, allocations: 1.047 MB / 0.4949 GB, free: 6.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1469, allocations: 8.031 kB / 0.4949 GB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.147, allocations: 36.75 kB / 0.495 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.1474, allocations: 213.9 kB / 0.4952 GB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.1474, allocations: 20.75 kB / 0.4952 GB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.1475, allocations: 20.38 kB / 0.4952 GB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.1482, allocations: 480.3 kB / 0.4957 GB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1482, allocations: 192 / 0.4957 GB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.1483, allocations: 7.938 kB / 0.4957 GB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1483, allocations: 4 kB / 0.4957 GB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005247/0.1488, allocations: 311.2 kB / 0.496 GB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.1506, allocations: 0.7808 MB / 0.4967 GB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009056/0.1515, allocations: 350.7 kB / 0.4971 GB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.1518, allocations: 152.8 kB / 0.4972 GB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008323/0.1526, allocations: 0.5163 MB / 0.4977 GB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1526, allocations: 34.8 kB / 0.4977 GB, free: 3.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 3.777e-06/0.1526, allocations: 3.984 kB / 0.4977 GB, free: 3.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003819/0.1564, allocations: 0.9842 MB / 0.4987 GB, free: 2.512 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.1565, allocations: 102.8 kB / 0.4988 GB, free: 2.387 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.1568, allocations: 236.8 kB / 0.499 GB, free: 2.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.1568, allocations: 29.7 kB / 0.4991 GB, free: 2.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.157, allocations: 144.8 kB / 0.4992 GB, free: 1.965 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.1571, allocations: 103.1 kB / 0.4993 GB, free: 1.863 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.1573, allocations: 90.06 kB / 0.4994 GB, free: 1.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1574, allocations: 330.8 kB / 0.4997 GB, free: 1.434 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.1578, allocations: 196.8 kB / 0.4999 GB, free: 1.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.1584, allocations: 322.6 kB / 0.5002 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009374/0.1594, allocations: 476.9 kB / 0.5006 GB, free: 420 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1594, allocations: 3.938 kB / 0.5006 GB, free: 416 kB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002354/0.1617, allocations: 0.8145 MB / 0.5014 GB, free: 15.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.1618, allocations: 11.98 kB / 0.5015 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.1618, allocations: 3.938 kB / 0.5015 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.1638, allocations: 405.3 kB / 0.5018 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.1642, allocations: 71.89 kB / 0.5019 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00607/0.1702, allocations: 3.724 MB / 0.5056 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.1706, allocations: 47.7 kB / 0.5056 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.1707, allocations: 19.98 kB / 0.5056 GB, free: 11.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002143/0.1709, allocations: 145.9 kB / 0.5058 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.171, allocations: 27.81 kB / 0.5058 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.1732, allocations: 0.733 MB / 0.5065 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.1733, allocations: 7.938 kB / 0.5065 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.1733, allocations: 8 kB / 0.5065 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1733, allocations: 0 / 0.5065 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.1737, allocations: 281 kB / 0.5068 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1737, allocations: 7.984 kB / 0.5068 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.1739, allocations: 39.98 kB / 0.5068 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/0.1758, allocations: 409.2 kB / 0.5072 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.1759, allocations: 4 kB / 0.5072 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006056/0.1819, allocations: 3.712 MB / 0.5108 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.1819, allocations: 7.922 kB / 0.5109 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.1841, allocations: 0.7629 MB / 0.5116 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.1842, allocations: 31.75 kB / 0.5116 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.1842, allocations: 8 kB / 0.5116 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.1845, allocations: 15.98 kB / 0.5117 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.1846, allocations: 31.89 kB / 0.5117 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.1846, allocations: 8 kB / 0.5117 GB, free: 4.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002205/0.1848, allocations: 160.5 kB / 0.5118 GB, free: 4.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1848, allocations: 0 / 0.5118 GB, free: 4.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006038/0.1854, allocations: 123.9 kB / 0.512 GB, free: 4.305 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002836/0.1857, allocations: 119.2 kB / 0.5121 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.1878, allocations: 0.7315 MB / 0.5128 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.1878, allocations: 3.984 kB / 0.5128 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.1889, allocations: 0.498 MB / 0.5133 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1892, allocations: 24.44 kB / 0.5133 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1905, allocations: 0.5509 MB / 0.5138 GB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.1907, allocations: 147.6 kB / 0.514 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.1908, allocations: 34.25 kB / 0.514 GB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.1909, allocations: 23.44 kB / 0.514 GB, free: 2.07 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1909, allocations: 3.938 kB / 0.514 GB, free: 2.066 MB / 382.1 MB Notification: Performance of Templates: time 0.2432/0.4342, allocations: 7.073 MB / 0.5209 GB, free: 29.89 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.451338557526469] Failed to read output from testmodel.py, exit status != 0: 0.44289846904575825 0.457388518 0.311760661 Calling exit ...