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.001327/0.001327, allocations: 113.2 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.001466/0.001466, allocations: 217.8 kB / 23.8 MB, free: 4.676 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.485/1.485, allocations: 230.6 MB / 257.6 MB, free: 7.984 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.03621/0.03621, allocations: 6.126 MB / 320.1 MB, free: 12.94 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.00167/0.00167, allocations: 55.92 kB / 445.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.09731, allocations: 55.03 MB / 0.489 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.003563/0.1009, allocations: 2.041 MB / 0.491 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.1036, allocations: 1.695 MB / 0.4927 GB, free: 9.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1037, allocations: 4 kB / 0.4927 GB, free: 9.965 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.1041, allocations: 139.2 kB / 0.4928 GB, free: 9.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005979/0.1047, allocations: 226.8 kB / 0.493 GB, free: 9.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.107, allocations: 1.226 MB / 0.4942 GB, free: 8.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000501/0.1075, allocations: 366.5 kB / 0.4946 GB, free: 8.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.1077, allocations: 76.17 kB / 0.4947 GB, free: 7.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.108, allocations: 175.5 kB / 0.4948 GB, free: 7.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.1083, allocations: 195.2 kB / 0.495 GB, free: 7.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.1083, allocations: 32 kB / 0.4951 GB, free: 7.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.1088, allocations: 299.7 kB / 0.4953 GB, free: 7.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1089, allocations: 95.72 kB / 0.4954 GB, free: 7.152 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.1091, allocations: 163.2 kB / 0.4956 GB, free: 6.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.1099, allocations: 0.5645 MB / 0.4961 GB, free: 6.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1099, allocations: 0 / 0.4961 GB, free: 6.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1099, allocations: 0 / 0.4961 GB, free: 6.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1099, allocations: 4 kB / 0.4961 GB, free: 6.422 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.004032/0.1139, allocations: 1.047 MB / 0.4972 GB, free: 5.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1139, allocations: 12.03 kB / 0.4972 GB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.114, allocations: 40.7 kB / 0.4972 GB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.1144, allocations: 230.7 kB / 0.4974 GB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000305/0.1148, allocations: 241 kB / 0.4977 GB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.1148, allocations: 24.38 kB / 0.4977 GB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.1165, allocations: 0.7081 MB / 0.4984 GB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1165, allocations: 7.938 kB / 0.4984 GB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-05/0.1166, allocations: 16 kB / 0.4984 GB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1166, allocations: 4 kB / 0.4984 GB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.1177, allocations: 465.4 kB / 0.4988 GB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.12, allocations: 1.309 MB / 0.5001 GB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.1216, allocations: 0.601 MB / 0.5007 GB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006468/0.1223, allocations: 294.4 kB / 0.501 GB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.1224, allocations: 16.12 kB / 0.501 GB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000447/0.1229, allocations: 277.4 kB / 0.5013 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.1229, allocations: 0 / 0.5013 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.00391/0.1268, allocations: 1.139 MB / 0.5024 GB, free: 15.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.1269, allocations: 148.5 kB / 0.5025 GB, free: 15.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.1271, allocations: 223.1 kB / 0.5027 GB, free: 15.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.1272, allocations: 37.7 kB / 0.5028 GB, free: 15.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1273, allocations: 157 kB / 0.5029 GB, free: 15.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.1274, allocations: 115.1 kB / 0.503 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.1276, allocations: 94.17 kB / 0.5031 GB, free: 14.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1277, allocations: 334.8 kB / 0.5034 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.1281, allocations: 208.9 kB / 0.5036 GB, free: 14.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.1285, allocations: 335.8 kB / 0.504 GB, free: 14.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008321/0.1294, allocations: 0.5438 MB / 0.5045 GB, free: 13.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1294, allocations: 8 kB / 0.5045 GB, free: 13.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00175/0.1311, allocations: 0.7874 MB / 0.5053 GB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1312, allocations: 8 kB / 0.5053 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1312, allocations: 4 kB / 0.5053 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/0.1335, allocations: 464.4 kB / 0.5057 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.1338, allocations: 91.83 kB / 0.5058 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.1354, allocations: 0.9037 MB / 0.5067 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.1358, allocations: 47.61 kB / 0.5067 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.1358, allocations: 23.98 kB / 0.5068 GB, free: 11.06 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.0002088/0.136, allocations: 173.9 kB / 0.5069 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007322/0.1368, allocations: 257.7 kB / 0.5072 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.1379, allocations: 0.5602 MB / 0.5077 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.138, allocations: 4 kB / 0.5077 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.138, allocations: 0 / 0.5077 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.138, allocations: 11.97 kB / 0.5077 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.1407, allocations: 1.353 MB / 0.5091 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1407, allocations: 0 / 0.5091 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.1411, allocations: 87.88 kB / 0.5091 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/0.1432, allocations: 452.4 kB / 0.5096 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.1433, allocations: 12 kB / 0.5096 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.1449, allocations: 0.9116 MB / 0.5105 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.145, allocations: 4.156 kB / 0.5105 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.1477, allocations: 0.9895 MB / 0.5114 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.1478, allocations: 39.67 kB / 0.5115 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.1478, allocations: 12 kB / 0.5115 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.1482, allocations: 47.89 kB / 0.5115 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.1483, allocations: 23.95 kB / 0.5116 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.1484, allocations: 19.98 kB / 0.5116 GB, free: 5.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.1486, allocations: 163.4 kB / 0.5117 GB, free: 5.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1486, allocations: 0 / 0.5117 GB, free: 5.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004856/0.149, allocations: 115.9 kB / 0.5119 GB, free: 5.715 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.0002135/0.1493, allocations: 131.2 kB / 0.512 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.1513, allocations: 0.6623 MB / 0.5126 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1513, allocations: 0.9375 kB / 0.5126 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.1525, allocations: 315.6 kB / 0.5129 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008296/0.1534, allocations: 148.6 kB / 0.5131 GB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.1559, allocations: 0.8989 MB / 0.5139 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.1564, allocations: 0.7811 MB / 0.5147 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.1565, allocations: 35.42 kB / 0.5147 GB, free: 2.688 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1565, allocations: 0 / 0.5147 GB, free: 2.688 MB / 382.1 MB Notification: Performance of Templates: time 0.1787/0.3352, allocations: 5.887 MB / 0.5205 GB, free: 30.38 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: 7.289612805005163] Failed to read output from testmodel.py, exit status != 0: 0.3428523500915617 0.359323192 0.24504576900000002 Calling exit ...