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.0007678/0.0007678, allocations: 84.44 kB / 20.73 MB, free: 3.836 MB / 18.57 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.0008374/0.0008374, allocations: 165.9 kB / 24 MB, free: 0.5586 MB / 18.57 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 0.8535/0.8535, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.02328/0.02328, allocations: 4.47 MB / 265.2 MB, free: 8.75 MB / 250.7 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 1.293e-06/1.293e-06, allocations: 0 / 390.9 MB, free: 6.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.433e-05, allocations: 2.281 kB / 390.9 MB, free: 6.879 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002005/0.00203, allocations: 1.86 MB / 392.7 MB, free: 5.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.003604, allocations: 1.633 MB / 394.3 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.003695, allocations: 4 kB / 394.4 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.003993, allocations: 139.1 kB / 394.5 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.004422, allocations: 234.5 kB / 394.7 MB, free: 3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.005462, allocations: 1.116 MB / 395.8 MB, free: 1.883 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.005803, allocations: 382.3 kB / 396.2 MB, free: 1.508 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.005948, allocations: 65.16 kB / 396.3 MB, free: 1.445 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.006197, allocations: 231.5 kB / 396.5 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.006388, allocations: 155.5 kB / 396.6 MB, free: 1.066 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.006426, allocations: 32 kB / 396.7 MB, free: 1.035 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.006734, allocations: 287.5 kB / 397 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.006807, allocations: 87.72 kB / 397 MB, free: 0.668 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.444e-05/0.006901, allocations: 123.7 kB / 397.2 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.007416, allocations: 0.5999 MB / 397.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007419, allocations: 4 kB / 397.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00742, allocations: 0 / 397.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.007425, allocations: 3.938 kB / 397.8 MB, free: 15.94 MB / 330.7 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.002093/0.009518, allocations: 1.043 MB / 398.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.009552, allocations: 12.03 kB / 398.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.009627, allocations: 40.7 kB / 398.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.009902, allocations: 241.4 kB / 399.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.01008, allocations: 237.1 kB / 399.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.01012, allocations: 24.38 kB / 399.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/0.01109, allocations: 0.8444 MB / 400.2 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.0111, allocations: 192 / 400.2 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.01114, allocations: 12.38 kB / 400.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.01115, allocations: 16.12 kB / 400.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005652/0.01171, allocations: 461.7 kB / 400.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.0129, allocations: 1.038 MB / 401.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/0.01376, allocations: 0.5931 MB / 402.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.01411, allocations: 302.5 kB / 402.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.809e-05/0.01419, allocations: 15.98 kB / 402.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.01451, allocations: 380.2 kB / 403 MB, free: 10.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/0.01451, allocations: 0 / 403 MB, free: 10.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001939/0.01645, allocations: 1.143 MB / 404.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.01652, allocations: 144.5 kB / 404.3 MB, free: 9.109 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.01668, allocations: 235 kB / 404.5 MB, free: 8.871 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.01671, allocations: 37.7 kB / 404.5 MB, free: 8.828 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.01679, allocations: 149 kB / 404.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.01685, allocations: 115.1 kB / 404.8 MB, free: 8.562 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/0.01694, allocations: 78.17 kB / 404.9 MB, free: 8.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.01702, allocations: 338.8 kB / 405.2 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.01722, allocations: 192.9 kB / 405.4 MB, free: 7.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.01744, allocations: 272.2 kB / 405.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.01787, allocations: 451.5 kB / 406.1 MB, free: 7.203 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01787, allocations: 0 / 406.1 MB, free: 7.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008516/0.01873, allocations: 0.6936 MB / 406.8 MB, free: 6.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01874, allocations: 15.88 kB / 406.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01875, allocations: 4.062 kB / 406.8 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.01984, allocations: 452.4 kB / 407.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.01999, allocations: 75.83 kB / 407.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008573/0.02085, allocations: 0.9037 MB / 408.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.02099, allocations: 39.67 kB / 408.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.02101, allocations: 15.98 kB / 408.3 MB, free: 4.977 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (40): * Single equations (assignments): 39 * 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.0001286/0.02114, allocations: 157.7 kB / 408.4 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/0.02149, allocations: 261.2 kB / 408.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/0.02216, allocations: 0.5645 MB / 409.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.02216, allocations: 8 kB / 409.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.02217, allocations: 4 kB / 409.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.02217, allocations: 3.984 kB / 409.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.02359, allocations: 1.214 MB / 410.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.0236, allocations: 0 / 410.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.02378, allocations: 91.81 kB / 410.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009804/0.02476, allocations: 452.4 kB / 411 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.02479, allocations: 4 kB / 411 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008429/0.02563, allocations: 0.9082 MB / 411.9 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.02563, allocations: 11.98 kB / 412 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.02698, allocations: 0.991 MB / 412.9 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.02702, allocations: 35.69 kB / 413 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.02706, allocations: 12 kB / 413 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.02725, allocations: 44.06 kB / 413 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.0273, allocations: 23.95 kB / 413.1 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.02732, allocations: 12 kB / 413.1 MB, free: 80 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.1455/0.1728, allocations: 163.4 kB / 413.2 MB, free: 34.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1728, allocations: 1.469 kB / 413.2 MB, free: 34.67 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.1732, allocations: 106.2 kB / 413.3 MB, free: 34.67 MB / 330.7 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.0001899/0.1734, allocations: 134 kB / 413.5 MB, free: 34.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.1746, allocations: 0.6309 MB / 414.1 MB, free: 34.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1746, allocations: 4.844 kB / 414.1 MB, free: 34.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005425/0.1751, allocations: 306.1 kB / 414.4 MB, free: 34.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.1756, allocations: 159 kB / 414.6 MB, free: 34.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.1769, allocations: 0.8622 MB / 415.4 MB, free: 34.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.177, allocations: 179.2 kB / 415.6 MB, free: 34.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.1771, allocations: 35.03 kB / 415.6 MB, free: 34.04 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1771, allocations: 3.938 kB / 415.6 MB, free: 34.04 MB / 330.7 MB Notification: Performance of Templates: time 0.00691/0.184, allocations: 5.916 MB / 421.5 MB, free: 33.27 MB / 330.7 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: 4.543801034800708] Failed to read output from testmodel.py, exit status != 0: 0.1893645916134119 0.19665557699999994 0.18793654499999995 Calling exit ...