Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08605/0.08605, allocations: 12.6 MB / 28.23 MB, free: 108 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 115.4 kB / 31.83 MB, free: 3.418 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 240.4 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 188.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5032/0.5032, allocations: 78.5 MB / 419.3 MB, free: 11.28 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002789/0.002789, allocations: 143.5 kB / 0.5559 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1164, allocations: 68.13 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.008883/0.1253, allocations: 8.031 MB / 0.6302 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005383/0.1307, allocations: 2.463 MB / 0.6326 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.132, allocations: 12 kB / 0.6327 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.133, allocations: 313.4 kB / 0.633 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.1366, allocations: 1.249 MB / 0.6342 GB, free: 3.316 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.1381, allocations: 0.6821 MB / 0.6348 GB, free: 2.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002856/0.141, allocations: 2.271 MB / 0.6371 GB, free: 372 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000562/0.1415, allocations: 381.6 kB / 0.6374 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009584/0.1425, allocations: 0.8638 MB / 0.6383 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.1436, allocations: 1.101 MB / 0.6393 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.1438, allocations: 180 kB / 0.6395 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006214/0.1445, allocations: 351.8 kB / 0.6398 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003682/0.1448, allocations: 454.2 kB / 0.6403 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007379/0.1456, allocations: 0.8741 MB / 0.6411 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.1476, allocations: 2.184 MB / 0.6433 GB, free: 9.957 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1477, allocations: 0 / 0.6433 GB, free: 9.957 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1477, allocations: 0 / 0.6433 GB, free: 9.957 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.1477, allocations: 0 / 0.6433 GB, free: 9.957 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01417/0.1619, allocations: 3.805 MB / 0.647 GB, free: 6.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1619, allocations: 15.92 kB / 0.647 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/0.1666, allocations: 0.7395 MB / 0.6477 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.1686, allocations: 1.092 MB / 0.6488 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004379/0.1691, allocations: 417 kB / 0.6492 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.1693, allocations: 100 kB / 0.6493 GB, free: 3.617 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.1722, allocations: 1.372 MB / 0.6506 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.1722, allocations: 0 / 0.6506 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.1723, allocations: 36 kB / 0.6507 GB, free: 2.191 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.1723, allocations: 23.94 kB / 0.6507 GB, free: 2.168 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.1752, allocations: 1.304 MB / 0.652 GB, free: 0.8672 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008012/0.1832, allocations: 4.645 MB / 0.6565 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008662/0.1919, allocations: 2.889 MB / 0.6593 GB, free: 8.969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/0.194, allocations: 0.8957 MB / 0.6602 GB, free: 8.066 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.1942, allocations: 24.97 kB / 0.6602 GB, free: 8.043 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002186/0.1964, allocations: 1.05 MB / 0.6612 GB, free: 6.973 MB / 478.1 MB Notification: Performance of pre-optimization done (n=124): time 2.985e-06/0.1964, allocations: 0 / 0.6612 GB, free: 6.973 MB / 478.1 MB Notification: Performance of matching and sorting (n=124): time 0.04377/0.2402, allocations: 9.898 MB / 0.6709 GB, free: 13.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.2403, allocations: 119.9 kB / 0.671 GB, free: 12.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.2424, allocations: 1.353 MB / 0.6723 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003068/0.2427, allocations: 49.7 kB / 0.6724 GB, free: 11.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004486/0.2432, allocations: 0.5686 MB / 0.6729 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004881/0.2437, allocations: 449.6 kB / 0.6734 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005952/0.2443, allocations: 331.3 kB / 0.6737 GB, free: 10.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2444, allocations: 309.1 kB / 0.674 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/0.2466, allocations: 0.9565 MB / 0.6749 GB, free: 8.859 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.249, allocations: 1.151 MB / 0.676 GB, free: 7.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004418/0.2534, allocations: 2.05 MB / 0.678 GB, free: 5.566 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.2534, allocations: 0 / 0.678 GB, free: 5.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01069/0.2641, allocations: 3.823 MB / 0.6818 GB, free: 1.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.2642, allocations: 4 kB / 0.6818 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.2642, allocations: 7.938 kB / 0.6818 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009935/0.2741, allocations: 2.679 MB / 0.6844 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.2758, allocations: 291.6 kB / 0.6847 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006739/0.2826, allocations: 2.687 MB / 0.6873 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.285, allocations: 250.3 kB / 0.6875 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.2851, allocations: 67.97 kB / 0.6876 GB, free: 11.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006228/0.2858, allocations: 295 kB / 0.6879 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.2861, allocations: 154.1 kB / 0.688 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01704/0.3031, allocations: 4.755 MB / 0.6927 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.3032, allocations: 16 kB / 0.6927 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.515e-06/0.3032, allocations: 0 / 0.6927 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/0.3032, allocations: 7.969 kB / 0.6927 GB, free: 6.477 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02011/0.3233, allocations: 6.86 MB / 0.6994 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.3234, allocations: 0 / 0.6994 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009324/0.3243, allocations: 139.8 kB / 0.6995 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008107/0.3324, allocations: 2.142 MB / 0.7016 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002787/0.3328, allocations: 27.98 kB / 0.7016 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02736/0.3601, allocations: 10.06 MB / 0.7115 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.3602, allocations: 3.984 kB / 0.7115 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3098/0.67, allocations: 5.91 MB / 0.7173 GB, free: 83.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/0.6706, allocations: 266.1 kB / 0.7175 GB, free: 83.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.6709, allocations: 23.14 kB / 0.7175 GB, free: 83.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.6725, allocations: 135.1 kB / 0.7177 GB, free: 83.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009012/0.6734, allocations: 256.1 kB / 0.7179 GB, free: 83.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.6736, allocations: 35.2 kB / 0.7179 GB, free: 83.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001515/0.6751, allocations: 0.916 MB / 0.7188 GB, free: 83.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6751, allocations: 1.188 kB / 0.7188 GB, free: 83.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001552/0.6766, allocations: 0.5075 MB / 0.7193 GB, free: 83.76 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003247/0.677, allocations: 152.4 kB / 0.7195 GB, free: 83.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01037/0.6874, allocations: 2.825 MB / 0.7222 GB, free: 82.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.6874, allocations: 0.5938 kB / 0.7222 GB, free: 82.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007076/0.6945, allocations: 1.912 MB / 0.7241 GB, free: 82.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.6959, allocations: 134.5 kB / 0.7242 GB, free: 82.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.7016, allocations: 2.933 MB / 0.7271 GB, free: 80.76 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/0.7024, allocations: 1.204 MB / 0.7283 GB, free: 80.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006467/0.7031, allocations: 141.5 kB / 0.7284 GB, free: 80 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.7035, allocations: 95.05 kB / 0.7285 GB, free: 79.98 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.7035, allocations: 0 / 0.7285 GB, free: 79.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.03918/0.7427, allocations: 29.4 MB / 0.7572 GB, free: 62.36 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)