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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 240.3 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009355/0.0009355, allocations: 99.31 kB / 290.6 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04524/0.04524, allocations: 8.099 MB / 348.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009879/0.0009879, allocations: 55.36 kB / 411.1 MB, free: 57.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.0915, allocations: 51.52 MB / 462.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.00175/0.09329, allocations: 0.829 MB / 463.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009031/0.09421, allocations: 1.143 MB / 464.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.09426, allocations: 4 kB / 464.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.808e-05/0.09431, allocations: 3.938 kB / 464.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.09449, allocations: 15.91 kB / 464.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.09462, allocations: 33.22 kB / 464.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.09476, allocations: 87.81 kB / 464.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.243e-05/0.09485, allocations: 15.97 kB / 464.7 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.002e-05/0.09493, allocations: 31.92 kB / 464.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.09505, allocations: 47.88 kB / 464.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.09508, allocations: 4 kB / 464.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.059e-05/0.09511, allocations: 7.938 kB / 464.8 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.09516, allocations: 27.95 kB / 464.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.09522, allocations: 35.86 kB / 464.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.923e-05/0.09533, allocations: 80 kB / 465 MB, free: 3.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.09534, allocations: 0 / 465 MB, free: 3.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09535, allocations: 4 kB / 465 MB, free: 3.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.09536, allocations: 0 / 465 MB, free: 3.691 MB / 298.7 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.0008251/0.09619, allocations: 443.1 kB / 465.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.09622, allocations: 8.031 kB / 465.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.09627, allocations: 4.938 kB / 465.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.18e-05/0.09635, allocations: 180.2 kB / 465.6 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.09652, allocations: 58.25 kB / 465.6 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.09655, allocations: 8.375 kB / 465.7 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.09768, allocations: 417.5 kB / 466.1 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.0977, allocations: 3.984 kB / 466.1 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.09772, allocations: 8 kB / 466.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.09773, allocations: 7.938 kB / 466.1 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005544/0.09829, allocations: 167.8 kB / 466.2 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.09862, allocations: 373.7 kB / 466.6 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008865/0.09951, allocations: 327.5 kB / 466.9 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.09988, allocations: 158.6 kB / 467.1 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.09991, allocations: 0 / 467.1 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.09994, allocations: 38.56 kB / 467.1 MB, free: 1.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.011e-06/0.09994, allocations: 0 / 467.1 MB, free: 1.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.001036/0.101, allocations: 333.9 kB / 467.4 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.101, allocations: 118.7 kB / 467.6 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.896e-05/0.1011, allocations: 105.8 kB / 467.7 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1011, allocations: 29.7 kB / 467.7 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.1012, allocations: 80.14 kB / 467.8 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.1012, allocations: 11.91 kB / 467.8 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1012, allocations: 29.7 kB / 467.8 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.1013, allocations: 314.8 kB / 468.1 MB, free: 260 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.1013, allocations: 23.98 kB / 468.1 MB, free: 236 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.903e-05/0.1014, allocations: 106.8 kB / 468.3 MB, free: 92 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1015, allocations: 127 kB / 468.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1015, allocations: 4 kB / 468.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001767/0.1017, allocations: 137.3 kB / 468.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1017, allocations: 8 kB / 468.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1017, allocations: 4 kB / 468.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1018, allocations: 4 kB / 468.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.165e-05/0.1019, allocations: 23.98 kB / 468.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1019, allocations: 7.938 kB / 468.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.1019, allocations: 11.91 kB / 468.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.102, allocations: 11.98 kB / 468.6 MB, free: 15.71 MB / 314.7 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 9.824e-05/0.1021, allocations: 134 kB / 468.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006985/0.1028, allocations: 229.9 kB / 468.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.1029, allocations: 53.66 kB / 469 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1029, allocations: 4 kB / 469 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1029, allocations: 3.938 kB / 469 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1029, allocations: 4 kB / 469 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.1032, allocations: 189.4 kB / 469.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1032, allocations: 0 / 469.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.1034, allocations: 55.92 kB / 469.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1034, allocations: 0 / 469.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.1035, allocations: 8 kB / 469.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1035, allocations: 0 / 469.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1035, allocations: 0 / 469.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.105, allocations: 1.102 MB / 470.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.1051, allocations: 88.95 kB / 470.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1051, allocations: 0 / 470.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.1053, allocations: 31.97 kB / 470.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.1054, allocations: 3.938 kB / 470.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1054, allocations: 4 kB / 470.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.67e-05/0.1054, allocations: 83.47 kB / 470.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1054, allocations: 0 / 470.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003885/0.1058, allocations: 16 kB / 470.6 MB, free: 13.57 MB / 314.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: 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 0.0001489/0.106, allocations: 99.19 kB / 470.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004528/0.1064, allocations: 151.8 kB / 470.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1065, allocations: 0 / 470.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.1065, allocations: 15.94 kB / 470.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/0.1072, allocations: 124.9 kB / 471 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.1091, allocations: 0.5637 MB / 471.5 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.1094, allocations: 0.7049 MB / 472.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.185e-05/0.1095, allocations: 16.41 kB / 472.2 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.1095, allocations: 11.44 kB / 472.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1095, allocations: 0 / 472.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of Templates: time 0.003069/0.1126, allocations: 0.987 MB / 473.2 MB, free: 10.81 MB / 314.7 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)