Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) 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.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") translateModel(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 119.2 kB / 17.13 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 194.2 kB / 18.06 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241.8 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04593/0.04593, allocations: 8.101 MB / 300 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 75.88 kB / 415.1 MB, free: 21.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.0912, allocations: 51.51 MB / 466.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.002034/0.09327, allocations: 0.7631 MB / 467.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.09504, allocations: 1.157 MB / 468.6 MB, free: 288 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.09513, allocations: 8 kB / 468.6 MB, free: 280 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.942e-05/0.09519, allocations: 3.938 kB / 468.6 MB, free: 276 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.09548, allocations: 11.92 kB / 468.6 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.09567, allocations: 35.89 kB / 468.6 MB, free: 228 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.09586, allocations: 91.81 kB / 468.7 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.09596, allocations: 4 kB / 468.7 MB, free: 132 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.09609, allocations: 43.89 kB / 468.7 MB, free: 88 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.09624, allocations: 43.89 kB / 468.8 MB, free: 44 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.09627, allocations: 12 kB / 468.8 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.212e-05/0.0963, allocations: 12 kB / 468.8 MB, free: 20 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.09638, allocations: 27.98 kB / 468.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.09646, allocations: 43.75 kB / 468.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.09659, allocations: 83.66 kB / 469 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.09661, allocations: 4 kB / 469 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09661, allocations: 0 / 469 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.09662, allocations: 0 / 469 MB, free: 15.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001002/0.09763, allocations: 435.3 kB / 469.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.09768, allocations: 11.89 kB / 469.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.09773, allocations: 12.84 kB / 469.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.09787, allocations: 168.3 kB / 469.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.09807, allocations: 58.23 kB / 469.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.0981, allocations: 8.375 kB / 469.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.09931, allocations: 429 kB / 470.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.09933, allocations: 0 / 470.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.09935, allocations: 7.984 kB / 470.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.09936, allocations: 0 / 470.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.09997, allocations: 159.9 kB / 470.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.1004, allocations: 389.6 kB / 470.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1014, allocations: 323.6 kB / 470.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003901/0.1019, allocations: 150.5 kB / 471.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1019, allocations: 224 / 471.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1019, allocations: 54.42 kB / 471.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1019, allocations: 0 / 471.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001156/0.1031, allocations: 337.5 kB / 471.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.1032, allocations: 110.8 kB / 471.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.1033, allocations: 105.8 kB / 471.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1033, allocations: 29.69 kB / 471.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.1033, allocations: 80.14 kB / 471.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.1034, allocations: 15.84 kB / 471.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.1034, allocations: 29.77 kB / 471.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1035, allocations: 326.8 kB / 472.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.1036, allocations: 15.98 kB / 472.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.1037, allocations: 99.08 kB / 472.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1038, allocations: 135 kB / 472.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1038, allocations: 0 / 472.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002011/0.104, allocations: 133.3 kB / 472.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1041, allocations: 4 kB / 472.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1041, allocations: 7.984 kB / 472.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1041, allocations: 4 kB / 472.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.878e-05/0.1042, allocations: 31.92 kB / 472.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1042, allocations: 4 kB / 472.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.1043, allocations: 8.344 kB / 472.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1043, allocations: 12 kB / 472.6 MB, free: 11.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.1044, allocations: 129.7 kB / 472.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007217/0.1051, allocations: 233.5 kB / 472.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.1053, allocations: 53.61 kB / 473 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1053, allocations: 0 / 473 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1053, allocations: 0 / 473 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1053, allocations: 7.984 kB / 473 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.1055, allocations: 185.4 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1056, allocations: 7.938 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.1058, allocations: 59.92 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1058, allocations: 0 / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1059, allocations: 4 kB / 473.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1059, allocations: 3.938 kB / 473.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1059, allocations: 0 / 473.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007943/0.1067, allocations: 431.5 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.1067, allocations: 84.95 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1068, allocations: 8 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.1071, allocations: 23.97 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.1071, allocations: 4 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1071, allocations: 8 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.804e-05/0.1071, allocations: 79.28 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1071, allocations: 0 / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.1075, allocations: 20 kB / 473.9 MB, free: 10.46 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.914e-05/0.1076, allocations: 107.2 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004528/0.108, allocations: 152.3 kB / 474.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.108, allocations: 0 / 474.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.8e-05/0.1081, allocations: 11.94 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.1088, allocations: 129.2 kB / 474.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.1106, allocations: 442.1 kB / 474.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1108, allocations: 0.6963 MB / 475.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.1109, allocations: 15.44 kB / 475.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1109, allocations: 0 / 475.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of Templates: time 0.002472/0.1134, allocations: 1.084 MB / 476.5 MB, free: 7.762 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.QfURegulation.makefile (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Tests.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1)