Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.001482/0.001482, 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.001453/0.001453, allocations: 210.7 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.42/1.42, 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.03735/0.03735, allocations: 6.156 MB / 320.1 MB, free: 12.76 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.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 47.94 kB / 445.7 MB, free: 4.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09917/0.1007, allocations: 55.02 MB / 0.4889 GB, free: 13.51 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002307/0.1031, allocations: 0.9008 MB / 0.4898 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1047, allocations: 1.182 MB / 0.491 GB, free: 11.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.1047, allocations: 0 / 0.491 GB, free: 11.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.105, allocations: 59.7 kB / 0.491 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.1051, allocations: 27.78 kB / 0.4911 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.011e-05/0.1052, allocations: 35.91 kB / 0.4911 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.1053, allocations: 51.8 kB / 0.4911 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1054, allocations: 23.92 kB / 0.4912 GB, free: 11.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.577e-05/0.1054, allocations: 19.92 kB / 0.4912 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.1055, allocations: 27.84 kB / 0.4912 GB, free: 11.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1055, allocations: 8 kB / 0.4912 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1057, allocations: 63.92 kB / 0.4913 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.1057, allocations: 15.92 kB / 0.4913 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.1057, allocations: 27.86 kB / 0.4913 GB, free: 11.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.106, allocations: 119.6 kB / 0.4914 GB, free: 10.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.106, allocations: 0 / 0.4914 GB, free: 10.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.106, allocations: 4 kB / 0.4914 GB, free: 10.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.106, allocations: 0 / 0.4914 GB, free: 10.95 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006094/0.1066, allocations: 314 kB / 0.4917 GB, free: 10.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1066, allocations: 8.031 kB / 0.4917 GB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.1067, allocations: 12.88 kB / 0.4918 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1068, allocations: 106.5 kB / 0.4919 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1068, allocations: 4.375 kB / 0.4919 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1068, allocations: 8.375 kB / 0.4919 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.107, allocations: 80.98 kB / 0.4919 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.107, allocations: 192 / 0.4919 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.107, allocations: 11.94 kB / 0.492 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.107, allocations: 4 kB / 0.492 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.129e-05/0.1071, allocations: 47.97 kB / 0.492 GB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.1075, allocations: 280.2 kB / 0.4923 GB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.521e-05/0.1076, allocations: 26.52 kB / 0.4923 GB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.1076, allocations: 4.859 kB / 0.4923 GB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.578e-05/0.1077, allocations: 8.062 kB / 0.4923 GB, free: 9.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.1077, allocations: 38.55 kB / 0.4924 GB, free: 9.898 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1077, allocations: 0 / 0.4924 GB, free: 9.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001563/0.1079, allocations: 45.64 kB / 0.4924 GB, free: 9.848 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1079, allocations: 55.41 kB / 0.4924 GB, free: 9.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.108, allocations: 129.8 kB / 0.4926 GB, free: 9.645 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1081, allocations: 25.7 kB / 0.4926 GB, free: 9.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.1081, allocations: 107.9 kB / 0.4927 GB, free: 9.504 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.1081, allocations: 11.95 kB / 0.4927 GB, free: 9.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.1082, allocations: 17.7 kB / 0.4927 GB, free: 9.469 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1083, allocations: 314.8 kB / 0.493 GB, free: 9.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.91e-05/0.1084, allocations: 15.98 kB / 0.493 GB, free: 9.137 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.1084, allocations: 12 kB / 0.4931 GB, free: 9.125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.911e-05/0.1084, allocations: 28.97 kB / 0.4931 GB, free: 9.094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1084, allocations: 4 kB / 0.4931 GB, free: 9.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001064/0.1085, allocations: 73.7 kB / 0.4932 GB, free: 9.012 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1086, allocations: 4 kB / 0.4932 GB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.1086, allocations: 3.938 kB / 0.4932 GB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1086, allocations: 4 kB / 0.4932 GB, free: 9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.1086, allocations: 8 kB / 0.4932 GB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1086, allocations: 3.938 kB / 0.4932 GB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.1087, allocations: 7.938 kB / 0.4932 GB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1087, allocations: 3.984 kB / 0.4932 GB, free: 8.977 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.802e-05/0.1088, allocations: 117.8 kB / 0.4933 GB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1088, allocations: 3.953 kB / 0.4933 GB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.1089, allocations: 57.2 kB / 0.4934 GB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1089, allocations: 0 / 0.4934 GB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1089, allocations: 3.938 kB / 0.4934 GB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1089, allocations: 0 / 0.4934 GB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.1091, allocations: 113.3 kB / 0.4935 GB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1091, allocations: 0 / 0.4935 GB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.1091, allocations: 4 kB / 0.4935 GB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1091, allocations: 0 / 0.4935 GB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.1091, allocations: 0 / 0.4935 GB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1091, allocations: 4.031 kB / 0.4935 GB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1091, allocations: 0 / 0.4935 GB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.1092, allocations: 143.4 kB / 0.4936 GB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.1092, allocations: 7.953 kB / 0.4936 GB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1093, allocations: 0 / 0.4936 GB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.469e-05/0.1093, allocations: 0 / 0.4936 GB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.1093, allocations: 7.922 kB / 0.4936 GB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1093, allocations: 7.938 kB / 0.4936 GB, free: 8.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.793e-05/0.1094, allocations: 91.28 kB / 0.4937 GB, free: 8.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1094, allocations: 0 / 0.4937 GB, free: 8.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.1096, allocations: 20.02 kB / 0.4937 GB, free: 8.34 MB / 366.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001313/0.1097, allocations: 99.25 kB / 0.4938 GB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.633e-05/0.1098, allocations: 19.98 kB / 0.4939 GB, free: 8.215 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1098, allocations: 0 / 0.4939 GB, free: 8.215 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.1099, allocations: 11.94 kB / 0.4939 GB, free: 8.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.1101, allocations: 4 kB / 0.4939 GB, free: 8.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.1104, allocations: 177.2 kB / 0.494 GB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.442e-05/0.1104, allocations: 75.12 kB / 0.4941 GB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.1105, allocations: 19.38 kB / 0.4941 GB, free: 7.883 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1105, allocations: 0 / 0.4941 GB, free: 7.883 MB / 366.1 MB Notification: Performance of Templates: time 0.002394/0.1129, allocations: 0.8794 MB / 0.495 GB, free: 7 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & ./PowerSysPro_PowerSysPro.Tests.OneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.264956310857087] Failed to read output from testmodel.py, exit status != 0: 0.12036269996315241 0.13522529 0.026318944 Calling exit ...