Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.005359/0.005359, allocations: 99.75 kB / 15.73 MB, free: 6.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.349/1.349, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001257/0.001257, allocations: 184.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4448/0.4448, allocations: 78.53 MB / 418.4 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 72.11 kB / 0.5536 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2956, allocations: 68.18 MB / 0.6202 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.00588/0.3015, allocations: 7.965 MB / 0.628 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.3057, allocations: 2.509 MB / 0.6304 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009301/0.3066, allocations: 16 kB / 0.6304 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008219/0.3075, allocations: 305.4 kB / 0.6307 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.3105, allocations: 1.185 MB / 0.6319 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.312, allocations: 0.6701 MB / 0.6325 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002712/0.3147, allocations: 2.283 MB / 0.6348 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005454/0.3153, allocations: 377.3 kB / 0.6351 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.3164, allocations: 0.8639 MB / 0.636 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.3176, allocations: 1.097 MB / 0.6371 GB, free: 8.918 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.3178, allocations: 179.9 kB / 0.6372 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006592/0.3185, allocations: 347.8 kB / 0.6376 GB, free: 8.398 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003575/0.3189, allocations: 458.2 kB / 0.638 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007232/0.3196, allocations: 0.874 MB / 0.6388 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.3218, allocations: 2.196 MB / 0.641 GB, free: 4.871 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3218, allocations: 0 / 0.641 GB, free: 4.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3218, allocations: 0 / 0.641 GB, free: 4.871 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.66e-05/0.3219, allocations: 0 / 0.641 GB, free: 4.871 MB / 446.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.01386/0.3357, allocations: 3.856 MB / 0.6448 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3358, allocations: 8.031 kB / 0.6448 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004591/0.3404, allocations: 0.7521 MB / 0.6455 GB, free: 196 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.3422, allocations: 1.105 MB / 0.6466 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004092/0.3427, allocations: 424.9 kB / 0.647 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.3429, allocations: 104 kB / 0.6471 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/0.3456, allocations: 1.368 MB / 0.6484 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.3456, allocations: 0 / 0.6484 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.3457, allocations: 36 kB / 0.6485 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.3458, allocations: 20 kB / 0.6485 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.3486, allocations: 1.3 MB / 0.6497 GB, free: 11.71 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.007817/0.3564, allocations: 4.662 MB / 0.6543 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008269/0.3647, allocations: 2.889 MB / 0.6571 GB, free: 3.816 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.3668, allocations: 0.8996 MB / 0.658 GB, free: 2.906 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.367, allocations: 28.97 kB / 0.658 GB, free: 2.879 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002313/0.3693, allocations: 1.042 MB / 0.659 GB, free: 1.812 MB / 462.1 MB Notification: Performance of pre-optimization done (n=124): time 3.677e-06/0.3693, allocations: 0 / 0.659 GB, free: 1.812 MB / 462.1 MB Notification: Performance of matching and sorting (n=124): time 0.04286/0.4122, allocations: 9.918 MB / 0.6687 GB, free: 7.855 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.4123, allocations: 119.8 kB / 0.6688 GB, free: 7.711 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/0.4145, allocations: 1.345 MB / 0.6702 GB, free: 6.352 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002947/0.4148, allocations: 57.69 kB / 0.6702 GB, free: 6.289 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.4153, allocations: 0.5655 MB / 0.6708 GB, free: 5.719 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005673/0.4159, allocations: 479.9 kB / 0.6712 GB, free: 5.246 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007144/0.4166, allocations: 327.5 kB / 0.6715 GB, free: 4.922 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.4167, allocations: 305.1 kB / 0.6718 GB, free: 4.621 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/0.4189, allocations: 0.9565 MB / 0.6728 GB, free: 3.664 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.4212, allocations: 1.155 MB / 0.6739 GB, free: 2.465 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00426/0.4255, allocations: 2.046 MB / 0.6759 GB, free: 380 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4255, allocations: 0 / 0.6759 GB, free: 380 kB / 478.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.0107/0.4362, allocations: 3.828 MB / 0.6796 GB, free: 12.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.4363, allocations: 8 kB / 0.6796 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.4363, allocations: 7.938 kB / 0.6796 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/0.4464, allocations: 2.671 MB / 0.6822 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.4482, allocations: 295.6 kB / 0.6825 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006919/0.4551, allocations: 2.708 MB / 0.6852 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.4575, allocations: 242.8 kB / 0.6854 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/0.4578, allocations: 67.98 kB / 0.6855 GB, free: 6.508 MB / 494.1 MB 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.0007239/0.4585, allocations: 297.5 kB / 0.6857 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/0.4589, allocations: 162.9 kB / 0.6859 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/0.4753, allocations: 4.756 MB / 0.6905 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.4753, allocations: 12 kB / 0.6906 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4753, allocations: 0 / 0.6906 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.4754, allocations: 7.984 kB / 0.6906 GB, free: 1.254 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.01856/0.4939, allocations: 6.864 MB / 0.6973 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.494, allocations: 4.031 kB / 0.6973 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008541/0.4948, allocations: 143.8 kB / 0.6974 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007505/0.5023, allocations: 2.138 MB / 0.6995 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/0.5026, allocations: 27.98 kB / 0.6995 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02606/0.5286, allocations: 10.07 MB / 0.7094 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.5287, allocations: 0 / 0.7094 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/0.5476, allocations: 5.925 MB / 0.7151 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006228/0.5482, allocations: 275.7 kB / 0.7154 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004517/0.5487, allocations: 24 kB / 0.7154 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.5505, allocations: 135.8 kB / 0.7156 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008547/0.5513, allocations: 257.3 kB / 0.7158 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.5515, allocations: 39.98 kB / 0.7158 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001479/0.553, allocations: 0.9133 MB / 0.7167 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.553, allocations: 4 kB / 0.7167 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001452/0.5544, allocations: 0.5152 MB / 0.7172 GB, free: 5.57 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.0003124/0.5547, allocations: 140.2 kB / 0.7174 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008585/0.5633, allocations: 2.809 MB / 0.7201 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5634, allocations: 0 / 0.7201 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006099/0.5695, allocations: 1.926 MB / 0.722 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.5707, allocations: 137 kB / 0.7221 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005655/0.5764, allocations: 2.995 MB / 0.7251 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007905/0.5772, allocations: 1.204 MB / 0.7262 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005663/0.5777, allocations: 141.7 kB / 0.7264 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.5781, allocations: 99.41 kB / 0.7265 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.5781, allocations: 0 / 0.7265 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of Templates: time 0.04461/0.6228, allocations: 29.4 MB / 0.7552 GB, free: 14.63 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)