Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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.001489/0.001489, allocations: 96.42 kB / 20.48 MB, free: 1.348 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.001636/0.001636, allocations: 214.9 kB / 23.79 MB, free: 4.504 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.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.03585/0.03585, allocations: 6.137 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.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 51.84 kB / 445.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 55.03 MB / 0.489 GB, free: 13.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.003518/0.1071, allocations: 1.843 MB / 0.4908 GB, free: 11.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1097, allocations: 1.625 MB / 0.4924 GB, free: 9.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.1099, allocations: 4 kB / 0.4924 GB, free: 9.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004445/0.1103, allocations: 135.3 kB / 0.4925 GB, free: 9.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007314/0.1111, allocations: 226.7 kB / 0.4927 GB, free: 9.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.1133, allocations: 1.113 MB / 0.4938 GB, free: 8.512 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005391/0.1138, allocations: 374.5 kB / 0.4941 GB, free: 8.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.114, allocations: 68.23 kB / 0.4942 GB, free: 8.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.1143, allocations: 171.4 kB / 0.4944 GB, free: 7.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.1146, allocations: 175.2 kB / 0.4945 GB, free: 7.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.1146, allocations: 32 kB / 0.4946 GB, free: 7.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.1151, allocations: 287.8 kB / 0.4948 GB, free: 7.418 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1152, allocations: 87.67 kB / 0.4949 GB, free: 7.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.1154, allocations: 131.4 kB / 0.4951 GB, free: 7.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006913/0.1161, allocations: 0.5684 MB / 0.4956 GB, free: 6.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1161, allocations: 0 / 0.4956 GB, free: 6.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1161, allocations: 0 / 0.4956 GB, free: 6.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1161, allocations: 0 / 0.4956 GB, free: 6.633 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003804/0.1199, allocations: 1.051 MB / 0.4966 GB, free: 5.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1199, allocations: 8.031 kB / 0.4966 GB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.12, allocations: 40.7 kB / 0.4967 GB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.1204, allocations: 234.6 kB / 0.4969 GB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003067/0.1207, allocations: 237.1 kB / 0.4971 GB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.78e-05/0.1208, allocations: 32.38 kB / 0.4972 GB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.1224, allocations: 0.8357 MB / 0.498 GB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1225, allocations: 11.88 kB / 0.498 GB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.1225, allocations: 12 kB / 0.498 GB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1225, allocations: 4 kB / 0.498 GB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.1235, allocations: 461.5 kB / 0.4984 GB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.1255, allocations: 1.053 MB / 0.4995 GB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.127, allocations: 0.5971 MB / 0.5001 GB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.1276, allocations: 290.5 kB / 0.5003 GB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.1277, allocations: 15.98 kB / 0.5004 GB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004772/0.1282, allocations: 375.7 kB / 0.5007 GB, free: 1.137 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.1282, allocations: 0 / 0.5007 GB, free: 1.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.003576/0.1318, allocations: 1.151 MB / 0.5018 GB, free: 15.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1319, allocations: 144.5 kB / 0.502 GB, free: 15.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.1322, allocations: 223.1 kB / 0.5022 GB, free: 15.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.1322, allocations: 37.7 kB / 0.5022 GB, free: 15.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1323, allocations: 157 kB / 0.5024 GB, free: 15.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.949e-05/0.1324, allocations: 115.2 kB / 0.5025 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.1326, allocations: 102.1 kB / 0.5026 GB, free: 15.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1327, allocations: 330.8 kB / 0.5029 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.1331, allocations: 212.9 kB / 0.5031 GB, free: 14.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.1335, allocations: 357.6 kB / 0.5034 GB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000769/0.1343, allocations: 0.5476 MB / 0.504 GB, free: 13.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1343, allocations: 0 / 0.504 GB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001599/0.1359, allocations: 0.7874 MB / 0.5047 GB, free: 12.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1359, allocations: 8 kB / 0.5047 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1359, allocations: 4 kB / 0.5048 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/0.138, allocations: 468.2 kB / 0.5052 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.1384, allocations: 87.89 kB / 0.5053 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.1399, allocations: 0.9075 MB / 0.5062 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.1402, allocations: 47.67 kB / 0.5062 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.1403, allocations: 27.92 kB / 0.5062 GB, free: 11.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 {(7,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.1405, allocations: 161.8 kB / 0.5064 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007166/0.1412, allocations: 257.2 kB / 0.5066 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.1423, allocations: 0.5679 MB / 0.5072 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.1423, allocations: 7.938 kB / 0.5072 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1423, allocations: 0 / 0.5072 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.1423, allocations: 7.984 kB / 0.5072 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.1449, allocations: 1.206 MB / 0.5084 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1449, allocations: 4 kB / 0.5084 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/0.1453, allocations: 83.88 kB / 0.5085 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.1473, allocations: 456.4 kB / 0.5089 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.1473, allocations: 12 kB / 0.5089 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.1488, allocations: 0.9118 MB / 0.5098 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.1488, allocations: 11.92 kB / 0.5098 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.1514, allocations: 0.9896 MB / 0.5108 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.1514, allocations: 35.69 kB / 0.5108 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/0.1515, allocations: 12 kB / 0.5108 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.1519, allocations: 44.05 kB / 0.5109 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.152, allocations: 35.77 kB / 0.5109 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.152, allocations: 16 kB / 0.5109 GB, free: 6.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.1522, allocations: 163.3 kB / 0.5111 GB, free: 6.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1522, allocations: 0 / 0.5111 GB, free: 6.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000457/0.1526, allocations: 111.9 kB / 0.5112 GB, free: 6.055 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * 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 {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002196/0.1528, allocations: 127.8 kB / 0.5113 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.1547, allocations: 0.6709 MB / 0.512 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1547, allocations: 8.047 kB / 0.512 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.1558, allocations: 315.5 kB / 0.5123 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/0.1565, allocations: 150.3 kB / 0.5124 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.1588, allocations: 0.8709 MB / 0.5133 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.159, allocations: 177.4 kB / 0.5134 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1591, allocations: 35.42 kB / 0.5135 GB, free: 3.652 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1591, allocations: 0 / 0.5135 GB, free: 3.652 MB / 382.1 MB Notification: Performance of Templates: time 0.1804/0.3395, allocations: 6.045 MB / 0.5194 GB, free: 30.61 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9558697561733425] Failed to read output from testmodel.py, exit status != 0: 0.34652629494667053 0.357935094 0.23937829200000002 Calling exit ...