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.001816/0.001816, allocations: 118.7 kB / 17.85 MB, free: 5.074 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.00205/0.00205, allocations: 191.8 kB / 20.79 MB, free: 2.141 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.41/1.41, allocations: 225.6 MB / 249.2 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0502/0.0502, allocations: 8.224 MB / 312.3 MB, free: 2.086 MB / 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-master/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.001885/0.001885, allocations: 71.88 kB / 435.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2229, allocations: 54.36 MB / 489.5 MB, free: 27.55 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002663/0.2256, allocations: 2.064 MB / 491.6 MB, free: 25.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2273, allocations: 1.642 MB / 493.2 MB, free: 24.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.2274, allocations: 4.281 kB / 493.2 MB, free: 24.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.2278, allocations: 147.3 kB / 493.3 MB, free: 24.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.2283, allocations: 220.5 kB / 493.6 MB, free: 24.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.2299, allocations: 1.244 MB / 494.8 MB, free: 23.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.2304, allocations: 376.6 kB / 495.2 MB, free: 23.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.2305, allocations: 78.09 kB / 495.2 MB, free: 23.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.2307, allocations: 156.9 kB / 495.4 MB, free: 23.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.231, allocations: 200.9 kB / 495.6 MB, free: 22.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.2311, allocations: 31.44 kB / 495.6 MB, free: 22.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.2315, allocations: 290 kB / 495.9 MB, free: 22.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.616e-05/0.2316, allocations: 88.22 kB / 496 MB, free: 22.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.2317, allocations: 174 kB / 496.2 MB, free: 22.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005717/0.2323, allocations: 0.5611 MB / 496.7 MB, free: 22.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2323, allocations: 1.219 kB / 496.7 MB, free: 22.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2323, allocations: 0 / 496.7 MB, free: 22.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2323, allocations: 0 / 496.7 MB, free: 22.26 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.003823/0.2361, allocations: 1.12 MB / 497.9 MB, free: 21.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2362, allocations: 13.33 kB / 497.9 MB, free: 21.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.2363, allocations: 42.02 kB / 497.9 MB, free: 21.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.2366, allocations: 291.3 kB / 498.2 MB, free: 21.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.2368, allocations: 106.8 kB / 498.3 MB, free: 21.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.2369, allocations: 27.81 kB / 498.3 MB, free: 21.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.2384, allocations: 0.7103 MB / 499 MB, free: 20.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2384, allocations: 5.25 kB / 499 MB, free: 20.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.2384, allocations: 10.62 kB / 499 MB, free: 20.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.2384, allocations: 6.625 kB / 499.1 MB, free: 20.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009664/0.2394, allocations: 457.8 kB / 499.5 MB, free: 20.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.2412, allocations: 1.54 MB / 0.4893 GB, free: 19.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.2427, allocations: 0.6714 MB / 0.49 GB, free: 18.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.2433, allocations: 293.1 kB / 0.4902 GB, free: 18.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.2434, allocations: 96.8 kB / 0.4903 GB, free: 18.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.2437, allocations: 277.5 kB / 0.4906 GB, free: 18.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.2437, allocations: 0 / 0.4906 GB, free: 18.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.003603/0.2473, allocations: 1.214 MB / 0.4918 GB, free: 17.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.2474, allocations: 139.8 kB / 0.4919 GB, free: 17.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.2476, allocations: 225.7 kB / 0.4921 GB, free: 17.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.2477, allocations: 36.52 kB / 0.4922 GB, free: 17.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.2477, allocations: 153 kB / 0.4923 GB, free: 16.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.104e-05/0.2478, allocations: 116.5 kB / 0.4924 GB, free: 16.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.248, allocations: 95.39 kB / 0.4925 GB, free: 16.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.248, allocations: 340.9 kB / 0.4928 GB, free: 16.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.2483, allocations: 204.2 kB / 0.493 GB, free: 16.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.2486, allocations: 338.5 kB / 0.4933 GB, free: 16.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.2493, allocations: 0.5371 MB / 0.4939 GB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2493, allocations: 1.031 kB / 0.4939 GB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00151/0.2508, allocations: 0.7772 MB / 0.4946 GB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2508, allocations: 6.812 kB / 0.4946 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.2508, allocations: 11.3 kB / 0.4947 GB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/0.253, allocations: 471 kB / 0.4951 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.2533, allocations: 86.33 kB / 0.4952 GB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.2547, allocations: 0.9023 MB / 0.4961 GB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.2551, allocations: 54.47 kB / 0.4961 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.2551, allocations: 28.25 kB / 0.4961 GB, free: 14.21 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.0001839/0.2553, allocations: 160.6 kB / 0.4963 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006752/0.256, allocations: 257.8 kB / 0.4965 GB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.257, allocations: 0.5715 MB / 0.4971 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.257, allocations: 5.594 kB / 0.4971 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.257, allocations: 1.125 kB / 0.4971 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.257, allocations: 5.141 kB / 0.4971 GB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.2593, allocations: 1.367 MB / 0.4984 GB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2593, allocations: 1.312 kB / 0.4984 GB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.2597, allocations: 88.97 kB / 0.4985 GB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.2617, allocations: 455.7 kB / 0.499 GB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.2618, allocations: 14.73 kB / 0.499 GB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.2631, allocations: 0.9064 MB / 0.4999 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2631, allocations: 5.438 kB / 0.4999 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.2655, allocations: 0.9856 MB / 0.5008 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.251e-05/0.2656, allocations: 114.4 kB / 0.5009 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.2657, allocations: 12.39 kB / 0.501 GB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.2661, allocations: 47.16 kB / 0.501 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.2662, allocations: 23.16 kB / 0.501 GB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.2662, allocations: 22.58 kB / 0.501 GB, free: 10.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.2664, allocations: 162.3 kB / 0.5012 GB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2664, allocations: 0 / 0.5012 GB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004812/0.2668, allocations: 115.4 kB / 0.5013 GB, free: 10.68 MB / 366.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.0001833/0.267, allocations: 129.6 kB / 0.5014 GB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.2689, allocations: 0.6618 MB / 0.5021 GB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2689, allocations: 5.25 kB / 0.5021 GB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.27, allocations: 304.2 kB / 0.5024 GB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.2707, allocations: 149 kB / 0.5025 GB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.2729, allocations: 0.8885 MB / 0.5034 GB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.2731, allocations: 0.7788 MB / 0.5041 GB, free: 8.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.2732, allocations: 36.86 kB / 0.5042 GB, free: 8.723 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2732, allocations: 0 / 0.5042 GB, free: 8.723 MB / 366.1 MB Notification: Performance of Templates: time 0.006441/0.2796, allocations: 5.891 MB / 0.5099 GB, free: 2.918 MB / 366.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.081866750959307] Failed to read output from testmodel.py, exit status != 0: 0.28671078593470156 0.29867132 0.063548886 Calling exit ...