Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.001633/0.001633, allocations: 109 kB / 20.5 MB, free: 1.453 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.001514/0.001514, allocations: 208 kB / 23.8 MB, free: 4.672 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.437/1.437, allocations: 230.6 MB / 257.6 MB, free: 7.969 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.03642/0.03642, allocations: 6.135 MB / 320.1 MB, free: 12.93 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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 47.92 kB / 445.8 MB, free: 4.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09384, allocations: 55.02 MB / 0.489 GB, free: 13.72 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002422/0.09626, allocations: 1.21 MB / 0.4902 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.0984, allocations: 1.555 MB / 0.4917 GB, free: 10.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.09847, allocations: 4 kB / 0.4917 GB, free: 10.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.0988, allocations: 107.5 kB / 0.4918 GB, free: 10.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.09902, allocations: 75.53 kB / 0.4919 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.1007, allocations: 0.8986 MB / 0.4928 GB, free: 9.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.101, allocations: 151.2 kB / 0.4929 GB, free: 9.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1011, allocations: 33.67 kB / 0.493 GB, free: 9.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.391e-05/0.1012, allocations: 71.7 kB / 0.493 GB, free: 9.605 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.1013, allocations: 83.67 kB / 0.4931 GB, free: 9.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.1014, allocations: 12 kB / 0.4931 GB, free: 9.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.1017, allocations: 211.8 kB / 0.4933 GB, free: 9.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.1018, allocations: 27.92 kB / 0.4934 GB, free: 9.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.218e-05/0.1018, allocations: 79.53 kB / 0.4934 GB, free: 9.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.1023, allocations: 311 kB / 0.4937 GB, free: 8.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1023, allocations: 0 / 0.4937 GB, free: 8.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1023, allocations: 4 kB / 0.4937 GB, free: 8.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1023, allocations: 0 / 0.4937 GB, free: 8.891 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001699/0.104, allocations: 0.5637 MB / 0.4943 GB, free: 8.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.104, allocations: 8.031 kB / 0.4943 GB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.1041, allocations: 16.84 kB / 0.4943 GB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.1044, allocations: 178.2 kB / 0.4945 GB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1044, allocations: 8.609 kB / 0.4945 GB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1044, allocations: 16.38 kB / 0.4945 GB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.1047, allocations: 178.6 kB / 0.4947 GB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1047, allocations: 192 / 0.4947 GB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.1048, allocations: 7.938 kB / 0.4947 GB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1048, allocations: 4 kB / 0.4947 GB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.105, allocations: 167.9 kB / 0.4948 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.1061, allocations: 0.6623 MB / 0.4955 GB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.1067, allocations: 198.5 kB / 0.4957 GB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.1068, allocations: 80.84 kB / 0.4958 GB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.1068, allocations: 4 kB / 0.4958 GB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.1069, allocations: 34.56 kB / 0.4958 GB, free: 6.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.1069, allocations: 0 / 0.4958 GB, free: 6.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0018/0.1087, allocations: 494.2 kB / 0.4963 GB, free: 6.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.1087, allocations: 67.28 kB / 0.4963 GB, free: 6.062 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.1089, allocations: 169.9 kB / 0.4965 GB, free: 5.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.1089, allocations: 29.7 kB / 0.4965 GB, free: 5.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.109, allocations: 116.4 kB / 0.4966 GB, free: 5.738 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.1091, allocations: 59.45 kB / 0.4967 GB, free: 5.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.1092, allocations: 45.66 kB / 0.4967 GB, free: 5.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1093, allocations: 326.8 kB / 0.497 GB, free: 5.301 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1095, allocations: 91.97 kB / 0.4971 GB, free: 5.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.1096, allocations: 99.95 kB / 0.4972 GB, free: 5.113 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.1099, allocations: 223.5 kB / 0.4974 GB, free: 4.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1099, allocations: 0 / 0.4974 GB, free: 4.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008843/0.1108, allocations: 374 kB / 0.4978 GB, free: 4.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1109, allocations: 8 kB / 0.4978 GB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1109, allocations: 8 kB / 0.4978 GB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006763/0.1115, allocations: 128.7 kB / 0.4979 GB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.1117, allocations: 35.92 kB / 0.498 GB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.1143, allocations: 1.927 MB / 0.4999 GB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.1145, allocations: 15.89 kB / 0.4999 GB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.1145, allocations: 8 kB / 0.4999 GB, free: 2.273 MB / 366.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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.1146, allocations: 133.8 kB / 0.5 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.1147, allocations: 12.09 kB / 0.5 GB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009091/0.1156, allocations: 365.8 kB / 0.5004 GB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1156, allocations: 0 / 0.5004 GB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.1156, allocations: 4 kB / 0.5004 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1156, allocations: 3.984 kB / 0.5004 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.1159, allocations: 272.5 kB / 0.5006 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1159, allocations: 0 / 0.5006 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.116, allocations: 19.94 kB / 0.5007 GB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006385/0.1166, allocations: 140.7 kB / 0.5008 GB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1167, allocations: 4 kB / 0.5008 GB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.1191, allocations: 1.913 MB / 0.5027 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1191, allocations: 4.062 kB / 0.5027 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008757/0.1199, allocations: 416 kB / 0.5031 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.12, allocations: 7.953 kB / 0.5031 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.12, allocations: 11.88 kB / 0.5031 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1202, allocations: 15.98 kB / 0.5031 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.1202, allocations: 19.91 kB / 0.5031 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1202, allocations: 4 kB / 0.5031 GB, free: 14.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1204, allocations: 129.4 kB / 0.5032 GB, free: 14.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1204, allocations: 0 / 0.5032 GB, free: 14.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.1207, allocations: 63.95 kB / 0.5033 GB, free: 14.57 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001762/0.1209, allocations: 115.2 kB / 0.5034 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007785/0.1217, allocations: 370.4 kB / 0.5038 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1217, allocations: 4 kB / 0.5038 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004848/0.1222, allocations: 250.5 kB / 0.504 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.1225, allocations: 18.95 kB / 0.504 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007176/0.1232, allocations: 392.9 kB / 0.5044 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.1235, allocations: 0.7125 MB / 0.5051 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.1236, allocations: 23.42 kB / 0.5051 GB, free: 12.62 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1236, allocations: 4 kB / 0.5051 GB, free: 12.62 MB / 382.1 MB Notification: Performance of Templates: time 0.005554/0.1291, allocations: 3.088 MB / 0.5081 GB, free: 9.531 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.223938282812014] Failed to read output from testmodel.py, exit status != 0: 0.13654208183288574 0.30068270399999997 0.19571699499999995 Calling exit ...