Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.001525/0.001525, allocations: 100.4 kB / 20.48 MB, free: 1.227 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.001681/0.001681, allocations: 210.4 kB / 23.78 MB, free: 4.414 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.365/1.365, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.03502/0.03502, allocations: 6.136 MB / 320.1 MB, free: 12.77 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.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 51.92 kB / 445.7 MB, free: 4.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09536, allocations: 55.03 MB / 0.489 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002704/0.09807, allocations: 1.425 MB / 0.4904 GB, free: 12.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.1002, allocations: 1.548 MB / 0.4919 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.009e-05/0.1003, allocations: 4 kB / 0.4919 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.1007, allocations: 127.3 kB / 0.492 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.101, allocations: 147.1 kB / 0.4921 GB, free: 10.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.1028, allocations: 0.9396 MB / 0.493 GB, free: 9.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.1032, allocations: 242.8 kB / 0.4933 GB, free: 9.062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.1034, allocations: 52.5 kB / 0.4933 GB, free: 9.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1035, allocations: 103.6 kB / 0.4934 GB, free: 8.906 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1037, allocations: 111.5 kB / 0.4935 GB, free: 8.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.1037, allocations: 16 kB / 0.4936 GB, free: 8.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.1041, allocations: 227.8 kB / 0.4938 GB, free: 8.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.1042, allocations: 51.83 kB / 0.4938 GB, free: 8.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.1043, allocations: 95.47 kB / 0.4939 GB, free: 8.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005345/0.1048, allocations: 426.6 kB / 0.4943 GB, free: 7.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1048, allocations: 3.938 kB / 0.4943 GB, free: 7.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1048, allocations: 0 / 0.4943 GB, free: 7.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1048, allocations: 0 / 0.4943 GB, free: 7.992 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003493/0.1083, allocations: 0.934 MB / 0.4952 GB, free: 7.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1084, allocations: 12.03 kB / 0.4952 GB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.1084, allocations: 28.8 kB / 0.4953 GB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1088, allocations: 202.8 kB / 0.4955 GB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1088, allocations: 12.7 kB / 0.4955 GB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.1088, allocations: 24.38 kB / 0.4955 GB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.1094, allocations: 465.8 kB / 0.4959 GB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1094, allocations: 192 / 0.4959 GB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.1094, allocations: 11.94 kB / 0.496 GB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.1095, allocations: 4 kB / 0.496 GB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.1099, allocations: 264.1 kB / 0.4962 GB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.1114, allocations: 0.7029 MB / 0.4969 GB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.112, allocations: 278.5 kB / 0.4972 GB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.1122, allocations: 140.8 kB / 0.4973 GB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.1123, allocations: 15.97 kB / 0.4973 GB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.1123, allocations: 42.56 kB / 0.4974 GB, free: 4.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.1123, allocations: 0 / 0.4974 GB, free: 4.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003765/0.1161, allocations: 0.9861 MB / 0.4983 GB, free: 3.727 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/0.1162, allocations: 102.8 kB / 0.4984 GB, free: 3.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.1164, allocations: 218.7 kB / 0.4986 GB, free: 3.379 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.1165, allocations: 41.64 kB / 0.4987 GB, free: 3.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.585e-05/0.1166, allocations: 128.9 kB / 0.4988 GB, free: 3.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/0.1167, allocations: 91.2 kB / 0.4989 GB, free: 3.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.1168, allocations: 77.58 kB / 0.4989 GB, free: 3.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.117, allocations: 334.8 kB / 0.4993 GB, free: 2.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.1172, allocations: 168.3 kB / 0.4994 GB, free: 2.531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.1176, allocations: 269.8 kB / 0.4997 GB, free: 2.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.1182, allocations: 386.8 kB / 0.5001 GB, free: 1.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1182, allocations: 3.938 kB / 0.5001 GB, free: 1.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00206/0.1202, allocations: 0.7359 MB / 0.5008 GB, free: 1.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1203, allocations: 8 kB / 0.5008 GB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1203, allocations: 0 / 0.5008 GB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.1223, allocations: 416.4 kB / 0.5012 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.1226, allocations: 63.89 kB / 0.5012 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004577/0.1271, allocations: 2.551 MB / 0.5037 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.1275, allocations: 39.7 kB / 0.5038 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.1275, allocations: 15.98 kB / 0.5038 GB, free: 13.93 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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.1277, allocations: 141.8 kB / 0.5039 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.1277, allocations: 19.86 kB / 0.5039 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.1297, allocations: 0.691 MB / 0.5046 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1297, allocations: 4 kB / 0.5046 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1297, allocations: 0 / 0.5046 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1298, allocations: 3.984 kB / 0.5046 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.1301, allocations: 261 kB / 0.5049 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1301, allocations: 0 / 0.5049 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.1302, allocations: 35.92 kB / 0.5049 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001907/0.1322, allocations: 420.4 kB / 0.5053 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1322, allocations: 4 kB / 0.5053 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004162/0.1363, allocations: 2.523 MB / 0.5078 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/0.1364, allocations: 7.922 kB / 0.5078 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.1383, allocations: 0.7339 MB / 0.5085 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.1384, allocations: 27.8 kB / 0.5085 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.1384, allocations: 8 kB / 0.5085 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.1387, allocations: 19.98 kB / 0.5085 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.1388, allocations: 27.89 kB / 0.5086 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.1388, allocations: 19.94 kB / 0.5086 GB, free: 8.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.1389, allocations: 158.8 kB / 0.5087 GB, free: 8.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1389, allocations: 4 kB / 0.5088 GB, free: 8.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.1394, allocations: 103.9 kB / 0.5088 GB, free: 8.562 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 (22): * Single equations (assignments): 21 * 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.1396, allocations: 111.3 kB / 0.509 GB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.141, allocations: 0.5886 MB / 0.5095 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.141, allocations: 0 / 0.5095 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009668/0.1419, allocations: 394.4 kB / 0.5099 GB, free: 7.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1422, allocations: 22.81 kB / 0.5099 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009032/0.1431, allocations: 0.5553 MB / 0.5105 GB, free: 6.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.1433, allocations: 134.9 kB / 0.5106 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.1434, allocations: 31.42 kB / 0.5106 GB, free: 6.652 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1434, allocations: 0 / 0.5106 GB, free: 6.652 MB / 382.1 MB Notification: Performance of Templates: time 0.007592/0.1509, allocations: 5.116 MB / 0.5156 GB, free: 1.547 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.816247913055122] Failed to read output from testmodel.py, exit status != 0: 0.30279120709747076 0.31335163999999993 0.206258764 Calling exit ...