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.001262/0.001262, allocations: 71.77 kB / 20.55 MB, free: 1.086 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.001373/0.001373, allocations: 160.4 kB / 23.8 MB, free: 4.168 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.427/1.427, allocations: 177.2 MB / 204.2 MB, free: 9.027 MB / 190.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.03386/0.03386, allocations: 4.477 MB / 265 MB, free: 12.24 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.001568/0.001568, allocations: 55.92 kB / 390.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09496, allocations: 54.99 MB / 445.6 MB, free: 6.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.003129/0.09809, allocations: 1.848 MB / 447.4 MB, free: 5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.1004, allocations: 1.633 MB / 449.1 MB, free: 3.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.1005, allocations: 4 kB / 449.1 MB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.1008, allocations: 131.2 kB / 449.2 MB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005592/0.1014, allocations: 226.7 kB / 449.4 MB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.1035, allocations: 1.12 MB / 450.5 MB, free: 1.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.104, allocations: 358.6 kB / 450.9 MB, free: 1.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1042, allocations: 77.12 kB / 451 MB, free: 1.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.1044, allocations: 171.5 kB / 451.1 MB, free: 1.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.1047, allocations: 175.2 kB / 451.3 MB, free: 1.105 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.827e-05/0.1048, allocations: 31.94 kB / 451.3 MB, free: 1.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.1052, allocations: 287.7 kB / 451.6 MB, free: 0.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.1053, allocations: 91.72 kB / 451.7 MB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.1055, allocations: 147.3 kB / 451.9 MB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007052/0.1062, allocations: 0.5606 MB / 452.4 MB, free: 15.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1062, allocations: 0 / 452.4 MB, free: 15.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1062, allocations: 0 / 452.4 MB, free: 15.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1062, allocations: 4 kB / 452.4 MB, free: 15.99 MB / 430.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.004041/0.1103, allocations: 1.043 MB / 453.5 MB, free: 14.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1103, allocations: 16.03 kB / 453.5 MB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.565e-05/0.1104, allocations: 40.7 kB / 453.5 MB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.1108, allocations: 222.7 kB / 453.7 MB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002962/0.1111, allocations: 237 kB / 454 MB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.1111, allocations: 24.38 kB / 454 MB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.1129, allocations: 0.8444 MB / 454.8 MB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1129, allocations: 3.938 kB / 454.8 MB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/0.113, allocations: 15.98 kB / 454.9 MB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.113, allocations: 8 kB / 454.9 MB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.1141, allocations: 465.6 kB / 455.3 MB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.1161, allocations: 1.038 MB / 456.4 MB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.1178, allocations: 0.6048 MB / 457 MB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/0.1185, allocations: 298.4 kB / 457.3 MB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.1186, allocations: 12 kB / 457.3 MB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004968/0.1191, allocations: 380.2 kB / 457.6 MB, free: 10.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.1191, allocations: 224 / 457.6 MB, free: 10.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=43): time 0.00389/0.123, allocations: 1.142 MB / 458.8 MB, free: 9.348 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.1231, allocations: 140.5 kB / 458.9 MB, free: 9.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.1233, allocations: 223.2 kB / 459.1 MB, free: 8.953 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.1234, allocations: 37.7 kB / 459.2 MB, free: 8.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1235, allocations: 157.1 kB / 459.3 MB, free: 8.754 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.1236, allocations: 115.1 kB / 459.4 MB, free: 8.641 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.1238, allocations: 86.19 kB / 459.5 MB, free: 8.551 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1239, allocations: 346.7 kB / 459.9 MB, free: 8.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.1243, allocations: 204.9 kB / 460.1 MB, free: 8.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/0.1247, allocations: 361.5 kB / 460.4 MB, free: 7.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008148/0.1256, allocations: 0.5477 MB / 461 MB, free: 6.988 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1256, allocations: 0 / 461 MB, free: 6.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001722/0.1273, allocations: 0.7874 MB / 461.7 MB, free: 6.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1273, allocations: 11.94 kB / 461.8 MB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1273, allocations: 0 / 461.8 MB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002239/0.1295, allocations: 468.3 kB / 462.2 MB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.1299, allocations: 91.83 kB / 462.3 MB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.1315, allocations: 0.9115 MB / 463.2 MB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.1319, allocations: 55.61 kB / 463.3 MB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.1319, allocations: 23.94 kB / 463.3 MB, free: 4.613 MB / 430.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.0001857/0.1321, allocations: 157.7 kB / 463.4 MB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007593/0.1329, allocations: 245.4 kB / 463.7 MB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.134, allocations: 0.5723 MB / 464.3 MB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.1341, allocations: 11.94 kB / 464.3 MB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1341, allocations: 8 kB / 464.3 MB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1341, allocations: 0 / 464.3 MB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.1367, allocations: 1.206 MB / 465.5 MB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1367, allocations: 4 kB / 465.5 MB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.1371, allocations: 87.97 kB / 465.6 MB, free: 2.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002152/0.1393, allocations: 468.8 kB / 466 MB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.1393, allocations: 8 kB / 466 MB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.1409, allocations: 0.9077 MB / 466.9 MB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1409, allocations: 3.938 kB / 467 MB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/0.1437, allocations: 0.995 MB / 467.9 MB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.1437, allocations: 43.61 kB / 468 MB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.1438, allocations: 4 kB / 468 MB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.1442, allocations: 47.91 kB / 468 MB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.1443, allocations: 31.89 kB / 468.1 MB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.1443, allocations: 15.98 kB / 468.1 MB, free: 15.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.1445, allocations: 159.4 kB / 468.2 MB, free: 15.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1445, allocations: 0 / 468.2 MB, free: 15.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000465/0.145, allocations: 119.9 kB / 468.4 MB, free: 15.43 MB / 446.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.0002169/0.1452, allocations: 123.7 kB / 468.5 MB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.1473, allocations: 0.6666 MB / 469.1 MB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1473, allocations: 4 kB / 469.1 MB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.1485, allocations: 300.7 kB / 469.4 MB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/0.1493, allocations: 156.6 kB / 469.6 MB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.1518, allocations: 0.8597 MB / 470.5 MB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.152, allocations: 169.4 kB / 470.6 MB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.1521, allocations: 42.94 kB / 470.7 MB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.511e-05/0.1522, allocations: 36.48 kB / 470.7 MB, free: 13.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1522, allocations: 0 / 470.7 MB, free: 13.02 MB / 446.1 MB Notification: Performance of Templates: time 0.01127/0.1635, allocations: 5.826 MB / 476.5 MB, free: 7.242 MB / 446.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 -s ida -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.63133756199386] Failed to read output from testmodel.py, exit status != 0: 0.1719242869876325 0.322037257 0.21370912600000003 Calling exit ...