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.001688/0.001688, allocations: 100.4 kB / 20.49 MB, free: 1.367 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.001977/0.001977, allocations: 212.8 kB / 23.78 MB, free: 4.535 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.374/1.374, allocations: 230.6 MB / 257.6 MB, free: 7.809 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.03511/0.03511, allocations: 6.148 MB / 320.1 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.001505/0.001505, allocations: 51.92 kB / 445.7 MB, free: 4.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 55.02 MB / 0.489 GB, free: 13.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.00291/0.1066, allocations: 1.557 MB / 0.4905 GB, free: 11.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.109, allocations: 1.559 MB / 0.492 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1091, allocations: 12 kB / 0.492 GB, free: 10.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.1096, allocations: 139.2 kB / 0.4921 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.11, allocations: 151.1 kB / 0.4923 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.1119, allocations: 0.9725 MB / 0.4932 GB, free: 9.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000394/0.1123, allocations: 270.7 kB / 0.4935 GB, free: 8.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1125, allocations: 56.84 kB / 0.4935 GB, free: 8.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.1126, allocations: 111.5 kB / 0.4937 GB, free: 8.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1128, allocations: 123.4 kB / 0.4938 GB, free: 8.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.1128, allocations: 24 kB / 0.4938 GB, free: 8.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.1132, allocations: 231.8 kB / 0.494 GB, free: 8.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.1133, allocations: 55.83 kB / 0.4941 GB, free: 8.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1134, allocations: 111.4 kB / 0.4942 GB, free: 8.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.114, allocations: 462.4 kB / 0.4946 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.114, allocations: 0 / 0.4946 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.114, allocations: 0 / 0.4946 GB, free: 7.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.114, allocations: 0 / 0.4946 GB, free: 7.668 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.003896/0.1179, allocations: 1.043 MB / 0.4956 GB, free: 6.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1179, allocations: 12.03 kB / 0.4956 GB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.515e-05/0.118, allocations: 32.69 kB / 0.4957 GB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1183, allocations: 213.9 kB / 0.4959 GB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.1184, allocations: 20.73 kB / 0.4959 GB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.1184, allocations: 24.38 kB / 0.4959 GB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.1191, allocations: 480.2 kB / 0.4964 GB, free: 5.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1191, allocations: 192 / 0.4964 GB, free: 5.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.1191, allocations: 15.94 kB / 0.4964 GB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1191, allocations: 8 kB / 0.4964 GB, free: 5.727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.1196, allocations: 311.2 kB / 0.4967 GB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.1212, allocations: 0.7691 MB / 0.4975 GB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008374/0.122, allocations: 354.6 kB / 0.4978 GB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.1223, allocations: 160.8 kB / 0.4979 GB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007488/0.123, allocations: 0.5085 MB / 0.4984 GB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.1231, allocations: 38.8 kB / 0.4985 GB, free: 3.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.362e-06/0.1231, allocations: 0 / 0.4985 GB, free: 3.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003447/0.1265, allocations: 0.9829 MB / 0.4994 GB, free: 2.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.1266, allocations: 106.8 kB / 0.4995 GB, free: 2.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.1268, allocations: 228.8 kB / 0.4998 GB, free: 2.184 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.1269, allocations: 41.64 kB / 0.4998 GB, free: 2.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.127, allocations: 140.8 kB / 0.4999 GB, free: 1.992 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.546e-05/0.1271, allocations: 103.1 kB / 0.5 GB, free: 1.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.1272, allocations: 90.06 kB / 0.5001 GB, free: 1.793 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1274, allocations: 338.8 kB / 0.5004 GB, free: 1.453 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.1277, allocations: 192.8 kB / 0.5006 GB, free: 1.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.1281, allocations: 318.6 kB / 0.5009 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006966/0.1288, allocations: 472.9 kB / 0.5014 GB, free: 452 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1288, allocations: 4 kB / 0.5014 GB, free: 448 kB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00207/0.1309, allocations: 0.8106 MB / 0.5022 GB, free: 15.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1309, allocations: 4 kB / 0.5022 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1309, allocations: 0 / 0.5022 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/0.1328, allocations: 421.2 kB / 0.5026 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.1331, allocations: 75.89 kB / 0.5027 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004971/0.1381, allocations: 3.72 MB / 0.5063 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.1384, allocations: 43.83 kB / 0.5063 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.1384, allocations: 19.98 kB / 0.5063 GB, free: 11.13 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.0001792/0.1386, allocations: 149.8 kB / 0.5065 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.1387, allocations: 27.75 kB / 0.5065 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.1407, allocations: 0.7369 MB / 0.5072 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1407, allocations: 11.94 kB / 0.5072 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1407, allocations: 0 / 0.5072 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1407, allocations: 0 / 0.5072 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.141, allocations: 285 kB / 0.5075 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.141, allocations: 3.938 kB / 0.5075 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.1412, allocations: 43.91 kB / 0.5076 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/0.143, allocations: 405.3 kB / 0.508 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.143, allocations: 8 kB / 0.508 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004746/0.1478, allocations: 3.708 MB / 0.5116 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1478, allocations: 0 / 0.5116 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.1497, allocations: 0.7746 MB / 0.5123 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.1497, allocations: 31.73 kB / 0.5124 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.1497, allocations: 8 kB / 0.5124 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.15, allocations: 22.42 kB / 0.5124 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.15, allocations: 27.89 kB / 0.5124 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.1501, allocations: 12 kB / 0.5124 GB, free: 4.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1502, allocations: 160.5 kB / 0.5126 GB, free: 4.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1502, allocations: 4 kB / 0.5126 GB, free: 4.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004906/0.1507, allocations: 123.9 kB / 0.5127 GB, free: 4.328 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.0001959/0.1509, allocations: 107.2 kB / 0.5128 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.1524, allocations: 0.7317 MB / 0.5135 GB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1525, allocations: 8.125 kB / 0.5135 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.1535, allocations: 0.4977 MB / 0.514 GB, free: 2.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.1538, allocations: 28.38 kB / 0.514 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1548, allocations: 0.5645 MB / 0.5146 GB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.1549, allocations: 151.6 kB / 0.5147 GB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/0.155, allocations: 31.42 kB / 0.5148 GB, free: 2.098 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.155, allocations: 0 / 0.5148 GB, free: 2.098 MB / 382.1 MB Notification: Performance of Templates: time 0.1908/0.3458, allocations: 6.532 MB / 0.5212 GB, free: 29.12 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: 7.187114590778947] Failed to read output from testmodel.py, exit status != 0: 0.35291891591623425 0.36638277500000005 0.249885616 Calling exit ...