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.001459/0.001459, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.00174/0.00174, allocations: 221.4 kB / 23.03 MB, free: 5.016 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.576/1.576, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.04404/0.04404, allocations: 6.14 MB / 319.4 MB, free: 12.75 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.001619/0.001619, allocations: 43.94 kB / 444.9 MB, free: 4.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.119, allocations: 55.02 MB / 499.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.003609/0.1226, allocations: 1.849 MB / 0.49 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.1251, allocations: 1.625 MB / 0.4916 GB, free: 9.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1252, allocations: 8 kB / 0.4916 GB, free: 9.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.1257, allocations: 139.2 kB / 0.4918 GB, free: 9.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005859/0.1262, allocations: 218.8 kB / 0.492 GB, free: 9.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.1284, allocations: 1.123 MB / 0.4931 GB, free: 8.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.1289, allocations: 366.6 kB / 0.4934 GB, free: 8.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1291, allocations: 72.23 kB / 0.4935 GB, free: 8.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.1294, allocations: 171.4 kB / 0.4936 GB, free: 7.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.1297, allocations: 171.3 kB / 0.4938 GB, free: 7.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.1298, allocations: 31.94 kB / 0.4938 GB, free: 7.695 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.1303, allocations: 287.8 kB / 0.4941 GB, free: 7.414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1305, allocations: 83.73 kB / 0.4942 GB, free: 7.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.1306, allocations: 139.4 kB / 0.4943 GB, free: 7.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008591/0.1315, allocations: 0.5684 MB / 0.4949 GB, free: 6.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1315, allocations: 4 kB / 0.4949 GB, free: 6.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1315, allocations: 0 / 0.4949 GB, free: 6.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1315, allocations: 0 / 0.4949 GB, free: 6.621 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.004318/0.1358, allocations: 1.039 MB / 0.4959 GB, free: 5.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1359, allocations: 12.03 kB / 0.4959 GB, free: 5.531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.136, allocations: 44.69 kB / 0.4959 GB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.1364, allocations: 234.7 kB / 0.4962 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/0.1367, allocations: 233.1 kB / 0.4964 GB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.1368, allocations: 28.38 kB / 0.4964 GB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.1386, allocations: 0.8404 MB / 0.4972 GB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1387, allocations: 7.938 kB / 0.4972 GB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.1387, allocations: 12 kB / 0.4973 GB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1387, allocations: 8 kB / 0.4973 GB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1398, allocations: 461.4 kB / 0.4977 GB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.1419, allocations: 1.049 MB / 0.4987 GB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.1436, allocations: 0.601 MB / 0.4993 GB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006344/0.1442, allocations: 294.6 kB / 0.4996 GB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.1443, allocations: 15.94 kB / 0.4996 GB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005195/0.1448, allocations: 375.7 kB / 0.5 GB, free: 1.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.1448, allocations: 0 / 0.5 GB, free: 1.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.0038/0.1486, allocations: 1.151 MB / 0.5011 GB, free: 15.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.1487, allocations: 136.5 kB / 0.5012 GB, free: 15.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.149, allocations: 231.1 kB / 0.5014 GB, free: 15.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.1491, allocations: 33.7 kB / 0.5015 GB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.1492, allocations: 153 kB / 0.5016 GB, free: 15.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1493, allocations: 119 kB / 0.5017 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.1495, allocations: 94.17 kB / 0.5018 GB, free: 15.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1497, allocations: 346.7 kB / 0.5022 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.15, allocations: 204.9 kB / 0.5024 GB, free: 14.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.1505, allocations: 361.5 kB / 0.5027 GB, free: 14.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008122/0.1513, allocations: 0.5438 MB / 0.5032 GB, free: 13.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1513, allocations: 0 / 0.5032 GB, free: 13.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001696/0.153, allocations: 0.7913 MB / 0.504 GB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.153, allocations: 4 kB / 0.504 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.153, allocations: 4 kB / 0.504 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/0.1553, allocations: 468.3 kB / 0.5045 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.1556, allocations: 87.89 kB / 0.5045 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.1572, allocations: 0.9075 MB / 0.5054 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.1576, allocations: 47.67 kB / 0.5055 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.1576, allocations: 27.92 kB / 0.5055 GB, free: 11.24 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.0002278/0.1579, allocations: 159.3 kB / 0.5057 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007572/0.1586, allocations: 261.3 kB / 0.5059 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.1598, allocations: 0.5679 MB / 0.5065 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.1598, allocations: 11.94 kB / 0.5065 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1598, allocations: 0 / 0.5065 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1599, allocations: 3.938 kB / 0.5065 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.1625, allocations: 1.206 MB / 0.5076 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1625, allocations: 0 / 0.5076 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/0.1629, allocations: 87.88 kB / 0.5077 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/0.165, allocations: 460.9 kB / 0.5082 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.165, allocations: 11.98 kB / 0.5082 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.1665, allocations: 0.9144 MB / 0.5091 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1665, allocations: 3.938 kB / 0.5091 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.1692, allocations: 0.9934 MB / 0.5101 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.1693, allocations: 35.69 kB / 0.5101 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.1693, allocations: 11.98 kB / 0.5101 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.1697, allocations: 47.97 kB / 0.5101 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.1698, allocations: 27.89 kB / 0.5102 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.1699, allocations: 15.98 kB / 0.5102 GB, free: 6.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.1701, allocations: 163.4 kB / 0.5103 GB, free: 6.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1701, allocations: 3.938 kB / 0.5103 GB, free: 6.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005079/0.1706, allocations: 115.9 kB / 0.5105 GB, free: 6.043 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.0002629/0.1708, allocations: 127.8 kB / 0.5106 GB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.1728, allocations: 0.6553 MB / 0.5112 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1728, allocations: 4.062 kB / 0.5112 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.174, allocations: 323.5 kB / 0.5115 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.0007797/0.1748, allocations: 148.7 kB / 0.5117 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.1773, allocations: 0.8515 MB / 0.5125 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.1775, allocations: 169.4 kB / 0.5127 GB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.1776, allocations: 46.94 kB / 0.5127 GB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.762e-05/0.1777, allocations: 35.42 kB / 0.5127 GB, free: 3.637 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1777, allocations: 0 / 0.5127 GB, free: 3.637 MB / 382.1 MB Notification: Performance of Templates: time 0.2336/0.4113, allocations: 6.227 MB / 0.5188 GB, free: 30.84 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: 5.457809612154961] Failed to read output from testmodel.py, exit status != 0: 0.4189142007380724 0.433388803 0.29907667099999996 Calling exit ...