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.001372/0.001372, allocations: 105 kB / 20.49 MB, free: 1.457 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.001488/0.001488, allocations: 216 kB / 23.8 MB, free: 4.652 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.555/1.555, allocations: 230.6 MB / 257.6 MB, free: 8.055 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.06354/0.06354, allocations: 6.137 MB / 320.1 MB, free: 12.99 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.001512/0.001512, allocations: 47.92 kB / 445.7 MB, free: 4.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/0.09705, allocations: 55.02 MB / 0.489 GB, free: 13.81 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.003076/0.1001, allocations: 1.665 MB / 0.4907 GB, free: 12.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1026, allocations: 1.629 MB / 0.4923 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.304e-05/0.1027, allocations: 4 kB / 0.4923 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.103, allocations: 131.3 kB / 0.4924 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.1034, allocations: 123.2 kB / 0.4925 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.1052, allocations: 0.9177 MB / 0.4934 GB, free: 9.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.1056, allocations: 258.8 kB / 0.4936 GB, free: 9.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1058, allocations: 60.73 kB / 0.4937 GB, free: 9.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.1059, allocations: 115.6 kB / 0.4938 GB, free: 8.906 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.1062, allocations: 135.4 kB / 0.4939 GB, free: 8.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.1062, allocations: 24 kB / 0.494 GB, free: 8.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.1066, allocations: 223.8 kB / 0.4942 GB, free: 8.531 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.1067, allocations: 51.83 kB / 0.4942 GB, free: 8.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.1068, allocations: 123.3 kB / 0.4943 GB, free: 8.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.1074, allocations: 414.5 kB / 0.4947 GB, free: 7.953 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1074, allocations: 4 kB / 0.4947 GB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1074, allocations: 4 kB / 0.4947 GB, free: 7.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1074, allocations: 0 / 0.4947 GB, free: 7.945 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.002781/0.1101, allocations: 0.7858 MB / 0.4955 GB, free: 7.125 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.1102, allocations: 12.03 kB / 0.4955 GB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.1103, allocations: 28.8 kB / 0.4956 GB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1106, allocations: 199.8 kB / 0.4957 GB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.1106, allocations: 20.75 kB / 0.4958 GB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.1107, allocations: 20.38 kB / 0.4958 GB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.1112, allocations: 295.8 kB / 0.4961 GB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1112, allocations: 192 / 0.4961 GB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.1112, allocations: 15.92 kB / 0.4961 GB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1112, allocations: 4 kB / 0.4961 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.1117, allocations: 293.6 kB / 0.4964 GB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.1133, allocations: 1.011 MB / 0.4974 GB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000959/0.1143, allocations: 350.7 kB / 0.4977 GB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.1145, allocations: 156.8 kB / 0.4978 GB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.1146, allocations: 8.484 kB / 0.4978 GB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1146, allocations: 46.44 kB / 0.4979 GB, free: 4.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.1146, allocations: 0 / 0.4979 GB, free: 4.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.003034/0.1177, allocations: 0.8804 MB / 0.4987 GB, free: 3.668 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1177, allocations: 55.41 kB / 0.4988 GB, free: 3.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.118, allocations: 219.7 kB / 0.499 GB, free: 3.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.118, allocations: 29.7 kB / 0.499 GB, free: 3.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/0.1181, allocations: 136.8 kB / 0.4992 GB, free: 3.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/0.1182, allocations: 115 kB / 0.4993 GB, free: 3.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.1183, allocations: 81.62 kB / 0.4994 GB, free: 3.004 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1185, allocations: 330.8 kB / 0.4997 GB, free: 2.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.1188, allocations: 176 kB / 0.4998 GB, free: 2.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.1191, allocations: 179.9 kB / 0.5 GB, free: 2.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006164/0.1197, allocations: 397.4 kB / 0.5004 GB, free: 1.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1197, allocations: 0 / 0.5004 GB, free: 1.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001512/0.1212, allocations: 0.654 MB / 0.501 GB, free: 1.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1212, allocations: 11.94 kB / 0.501 GB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1212, allocations: 4 kB / 0.501 GB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.1223, allocations: 248.6 kB / 0.5013 GB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.1226, allocations: 47.92 kB / 0.5013 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004023/0.1266, allocations: 2.597 MB / 0.5039 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.1268, allocations: 23.78 kB / 0.5039 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.1269, allocations: 31.84 kB / 0.5039 GB, free: 14.2 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.0001529/0.127, allocations: 137.8 kB / 0.504 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.1271, allocations: 23.86 kB / 0.5041 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.1286, allocations: 0.5952 MB / 0.5047 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1286, allocations: 4 kB / 0.5047 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1286, allocations: 4 kB / 0.5047 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1286, allocations: 0 / 0.5047 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.1305, allocations: 1.029 MB / 0.5057 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1305, allocations: 0 / 0.5057 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.1306, allocations: 27.98 kB / 0.5057 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.1317, allocations: 248.5 kB / 0.5059 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.1317, allocations: 8 kB / 0.5059 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003853/0.1356, allocations: 2.554 MB / 0.5084 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1356, allocations: 7.938 kB / 0.5084 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.137, allocations: 0.6452 MB / 0.5091 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.137, allocations: 31.78 kB / 0.5091 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.1371, allocations: 4 kB / 0.5091 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.1373, allocations: 19.92 kB / 0.5091 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.1374, allocations: 23.95 kB / 0.5091 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.1374, allocations: 4 kB / 0.5091 GB, free: 8.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.1376, allocations: 170.8 kB / 0.5093 GB, free: 8.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1376, allocations: 0 / 0.5093 GB, free: 8.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004311/0.138, allocations: 107.9 kB / 0.5094 GB, free: 8.352 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.0002077/0.1383, allocations: 115.2 kB / 0.5095 GB, free: 8.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.1396, allocations: 0.589 MB / 0.5101 GB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1396, allocations: 0 / 0.5101 GB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008676/0.1404, allocations: 386.5 kB / 0.5105 GB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1408, allocations: 34.88 kB / 0.5105 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1418, allocations: 0.5571 MB / 0.511 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.1422, allocations: 0.7484 MB / 0.5118 GB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/0.1423, allocations: 23.42 kB / 0.5118 GB, free: 5.824 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1423, allocations: 4 kB / 0.5118 GB, free: 5.82 MB / 382.1 MB Notification: Performance of Templates: time 0.007768/0.1501, allocations: 4.689 MB / 0.5164 GB, free: 1.125 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: 7.492185639915988] Failed to read output from testmodel.py, exit status != 0: 0.3046850711107254 0.316681572 0.20676553900000003 Calling exit ...