Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008781/0.008781, allocations: 99.11 kB / 15.73 MB, free: 6.051 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.347/1.347, allocations: 222.9 MB / 239.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 188.5 kB / 289.7 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5095/0.5095, allocations: 91.9 MB / 431.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 74.05 kB / 0.5727 GB, free: 33.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 71.3 MB / 0.6423 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.007739/0.1201, allocations: 7.989 MB / 0.6501 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005026/0.1251, allocations: 2.493 MB / 0.6526 GB, free: 9.035 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1265, allocations: 16 kB / 0.6526 GB, free: 9.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.1279, allocations: 309.4 kB / 0.6529 GB, free: 8.715 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.1311, allocations: 1 MB / 0.6539 GB, free: 7.711 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.133, allocations: 0.7594 MB / 0.6546 GB, free: 6.957 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002611/0.1357, allocations: 2.131 MB / 0.6567 GB, free: 4.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006176/0.1363, allocations: 377.5 kB / 0.6571 GB, free: 4.426 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.1375, allocations: 0.8366 MB / 0.6579 GB, free: 3.586 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.139, allocations: 1.089 MB / 0.6589 GB, free: 2.492 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000411/0.1394, allocations: 176 kB / 0.6591 GB, free: 2.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007929/0.1402, allocations: 355.8 kB / 0.6594 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004421/0.1407, allocations: 446.2 kB / 0.6599 GB, free: 1.535 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.1417, allocations: 0.8702 MB / 0.6607 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.1444, allocations: 2.183 MB / 0.6628 GB, free: 14.47 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1444, allocations: 0 / 0.6628 GB, free: 14.47 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1444, allocations: 0 / 0.6628 GB, free: 14.47 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.089e-05/0.1445, allocations: 0 / 0.6628 GB, free: 14.47 MB / 478.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.01238/0.1569, allocations: 3.561 MB / 0.6663 GB, free: 10.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1569, allocations: 8.031 kB / 0.6663 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004668/0.1616, allocations: 0.7482 MB / 0.6671 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.1636, allocations: 1.109 MB / 0.6681 GB, free: 8.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004326/0.164, allocations: 428.9 kB / 0.6686 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.1642, allocations: 100 kB / 0.6687 GB, free: 8.344 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/0.1671, allocations: 1.364 MB / 0.67 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.1671, allocations: 0 / 0.67 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.1673, allocations: 36 kB / 0.67 GB, free: 6.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.1673, allocations: 24 kB / 0.67 GB, free: 6.906 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/0.1702, allocations: 1.3 MB / 0.6713 GB, free: 5.602 MB / 478.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.007937/0.1781, allocations: 4.65 MB / 0.6759 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0083/0.1864, allocations: 2.891 MB / 0.6787 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.1884, allocations: 0.904 MB / 0.6796 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.1885, allocations: 20.97 kB / 0.6796 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002216/0.1908, allocations: 1.05 MB / 0.6806 GB, free: 11.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 3.537e-06/0.1908, allocations: 0 / 0.6806 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.04137/0.2322, allocations: 9.918 MB / 0.6903 GB, free: 1.742 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.2323, allocations: 123.8 kB / 0.6904 GB, free: 1.598 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.2346, allocations: 1.349 MB / 0.6917 GB, free: 240 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003032/0.2349, allocations: 53.7 kB / 0.6918 GB, free: 180 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/0.2354, allocations: 0.5733 MB / 0.6923 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005779/0.236, allocations: 476 kB / 0.6928 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007259/0.2367, allocations: 323.5 kB / 0.6931 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.2368, allocations: 305.1 kB / 0.6934 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/0.239, allocations: 0.9565 MB / 0.6943 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.2412, allocations: 1.147 MB / 0.6954 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/0.2456, allocations: 2.058 MB / 0.6975 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2456, allocations: 0 / 0.6975 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01027/0.2559, allocations: 3.82 MB / 0.7012 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.2559, allocations: 9.406 kB / 0.7012 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.256, allocations: 12.25 kB / 0.7012 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009554/0.2655, allocations: 2.667 MB / 0.7038 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.267, allocations: 299.5 kB / 0.7041 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006515/0.2736, allocations: 2.695 MB / 0.7067 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/0.2758, allocations: 250.7 kB / 0.707 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.2761, allocations: 59.98 kB / 0.707 GB, free: 416 kB / 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.0006334/0.2767, allocations: 302.6 kB / 0.7073 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/0.2771, allocations: 159 kB / 0.7075 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/0.293, allocations: 4.759 MB / 0.7121 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.2931, allocations: 12 kB / 0.7121 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2931, allocations: 0 / 0.7121 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.2931, allocations: 15.97 kB / 0.7121 GB, free: 11.13 MB / 0.5137 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.01902/0.3122, allocations: 6.86 MB / 0.7188 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.3122, allocations: 0 / 0.7188 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008796/0.3131, allocations: 139.8 kB / 0.719 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007716/0.3208, allocations: 2.146 MB / 0.7211 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/0.3211, allocations: 31.98 kB / 0.7211 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02607/0.3472, allocations: 10.06 MB / 0.7309 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3472, allocations: 0 / 0.7309 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01922/0.3664, allocations: 5.932 MB / 0.7367 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000562/0.367, allocations: 267.7 kB / 0.737 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003858/0.3674, allocations: 28 kB / 0.737 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/0.3691, allocations: 135.8 kB / 0.7371 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008658/0.37, allocations: 261.3 kB / 0.7374 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.3702, allocations: 36 kB / 0.7374 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001557/0.3717, allocations: 0.9095 MB / 0.7383 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3717, allocations: 0 / 0.7383 GB, free: 15.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001462/0.3732, allocations: 0.5152 MB / 0.7388 GB, free: 15.47 MB / 0.545 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.0003184/0.3735, allocations: 155 kB / 0.739 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008837/0.3824, allocations: 2.813 MB / 0.7417 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3824, allocations: 3.938 kB / 0.7417 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006238/0.3886, allocations: 1.918 MB / 0.7436 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.3899, allocations: 133 kB / 0.7437 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005718/0.3956, allocations: 2.982 MB / 0.7466 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/0.3965, allocations: 1.204 MB / 0.7478 GB, free: 6.176 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006398/0.3971, allocations: 137.8 kB / 0.7479 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004217/0.3976, allocations: 99.34 kB / 0.748 GB, free: 5.941 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/0.3976, allocations: 0 / 0.748 GB, free: 5.941 MB / 0.545 GB Notification: Performance of Templates: time 0.2932/0.6908, allocations: 29.4 MB / 0.7767 GB, free: 118.5 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)