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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 113.8 kB / 19.74 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 191.5 kB / 23.03 MB, free: 5.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05894/0.05894, allocations: 8.241 MB / 315.3 MB, free: 376 kB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001958/0.001958, allocations: 67.89 kB / 439.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1167, allocations: 54.39 MB / 494.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.003626/0.1204, allocations: 2.082 MB / 496.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.1229, allocations: 1.652 MB / 497.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.1231, allocations: 4 kB / 497.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.1235, allocations: 139.2 kB / 498 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006789/0.1242, allocations: 234.6 kB / 498.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.1264, allocations: 1.24 MB / 499.5 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.1269, allocations: 370.7 kB / 499.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.1271, allocations: 76.06 kB / 499.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.1274, allocations: 171.5 kB / 0.4884 GB, free: 15.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.1277, allocations: 199.2 kB / 0.4885 GB, free: 15.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.1277, allocations: 32 kB / 0.4886 GB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/0.1283, allocations: 287.8 kB / 0.4888 GB, free: 15.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1285, allocations: 95.66 kB / 0.4889 GB, free: 15.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.1287, allocations: 167.2 kB / 0.4891 GB, free: 14.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.1294, allocations: 0.5567 MB / 0.4896 GB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1295, allocations: 3.984 kB / 0.4896 GB, free: 14.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1295, allocations: 0 / 0.4896 GB, free: 14.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.1295, allocations: 3.938 kB / 0.4897 GB, free: 14.37 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.004451/0.1339, allocations: 1.035 MB / 0.4907 GB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.134, allocations: 19.88 kB / 0.4907 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.1341, allocations: 40.7 kB / 0.4907 GB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.1346, allocations: 229.8 kB / 0.4909 GB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/0.1348, allocations: 108.6 kB / 0.491 GB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.1349, allocations: 24.38 kB / 0.4911 GB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.1368, allocations: 0.7266 MB / 0.4918 GB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1368, allocations: 3.938 kB / 0.4918 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.1369, allocations: 12 kB / 0.4918 GB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.1369, allocations: 4 kB / 0.4918 GB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.138, allocations: 465.4 kB / 0.4922 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.1406, allocations: 1.498 MB / 0.4937 GB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.1423, allocations: 0.6008 MB / 0.4943 GB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006659/0.143, allocations: 302.5 kB / 0.4946 GB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.1431, allocations: 20.12 kB / 0.4946 GB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004672/0.1435, allocations: 269.5 kB / 0.4949 GB, free: 8.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.883e-06/0.1435, allocations: 0 / 0.4949 GB, free: 8.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.004024/0.1476, allocations: 1.139 MB / 0.496 GB, free: 7.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.1477, allocations: 140.7 kB / 0.4961 GB, free: 7.445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.148, allocations: 225.4 kB / 0.4963 GB, free: 7.215 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.378e-05/0.148, allocations: 41.64 kB / 0.4964 GB, free: 7.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1481, allocations: 161 kB / 0.4965 GB, free: 7.008 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.1483, allocations: 111.1 kB / 0.4966 GB, free: 6.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.1485, allocations: 94.17 kB / 0.4967 GB, free: 6.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1486, allocations: 338.8 kB / 0.497 GB, free: 6.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.149, allocations: 204.9 kB / 0.4972 GB, free: 6.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.1494, allocations: 339.9 kB / 0.4975 GB, free: 5.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.1503, allocations: 0.548 MB / 0.4981 GB, free: 5.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1503, allocations: 0 / 0.4981 GB, free: 5.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001788/0.1521, allocations: 0.7902 MB / 0.4989 GB, free: 4.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1521, allocations: 8 kB / 0.4989 GB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1521, allocations: 4 kB / 0.4989 GB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/0.1545, allocations: 468.3 kB / 0.4993 GB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.1549, allocations: 83.84 kB / 0.4994 GB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.1566, allocations: 0.9165 MB / 0.5003 GB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.157, allocations: 51.61 kB / 0.5003 GB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.157, allocations: 23.98 kB / 0.5004 GB, free: 2.91 MB / 366.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.0002585/0.1573, allocations: 169.6 kB / 0.5005 GB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007895/0.1581, allocations: 257.7 kB / 0.5008 GB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.1593, allocations: 0.567 MB / 0.5013 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.1594, allocations: 4 kB / 0.5013 GB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1594, allocations: 4 kB / 0.5013 GB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.1594, allocations: 7.984 kB / 0.5013 GB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.1623, allocations: 1.342 MB / 0.5026 GB, free: 500 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1623, allocations: 3.938 kB / 0.5026 GB, free: 496 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.1627, allocations: 83.88 kB / 0.5027 GB, free: 412 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/0.165, allocations: 460.4 kB / 0.5032 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/0.165, allocations: 11.94 kB / 0.5032 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.1666, allocations: 0.9076 MB / 0.5041 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1666, allocations: 3.938 kB / 0.5041 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002937/0.1696, allocations: 0.9901 MB / 0.505 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1697, allocations: 39.73 kB / 0.5051 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.1698, allocations: 4 kB / 0.5051 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/0.1703, allocations: 47.91 kB / 0.5051 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.1704, allocations: 27.95 kB / 0.5052 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.1704, allocations: 19.98 kB / 0.5052 GB, free: 13.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.1706, allocations: 163.1 kB / 0.5053 GB, free: 13.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1706, allocations: 0 / 0.5053 GB, free: 13.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006089/0.1713, allocations: 115.9 kB / 0.5054 GB, free: 13.57 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.0003265/0.1716, allocations: 135.1 kB / 0.5056 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002281/0.1739, allocations: 0.6702 MB / 0.5062 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1739, allocations: 0 / 0.5062 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.175, allocations: 316.5 kB / 0.5065 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008154/0.1759, allocations: 152.6 kB / 0.5067 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.1786, allocations: 0.8432 MB / 0.5075 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.179, allocations: 0.7811 MB / 0.5083 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000159/0.1792, allocations: 42.94 kB / 0.5083 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.907e-05/0.1793, allocations: 39.42 kB / 0.5083 GB, free: 10.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.242e-06/0.1793, allocations: 0 / 0.5083 GB, free: 10.54 MB / 382.1 MB Notification: Performance of Templates: time 0.0122/0.1915, allocations: 6.267 MB / 0.5145 GB, free: 4.289 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.176624960266054] Failed to read output from testmodel.py, exit status != 0: 0.19903387036174536 0.41702662500000004 0.284286105 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3f01f497b0>