Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007521/0.0007521, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.284/1.284, allocations: 223.2 MB / 239 MB, free: 5.527 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.0009586/0.0009588, allocations: 180.5 kB / 290.3 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4848/0.4848, allocations: 91.93 MB / 433.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 16 kB / 0.5042 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3143, allocations: 72.47 MB / 0.5749 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.005652/0.32, allocations: 8.299 MB / 0.583 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00521/0.3252, allocations: 2.733 MB / 0.5857 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.3267, allocations: 23.31 kB / 0.5857 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.3277, allocations: 237.5 kB / 0.586 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.3299, allocations: 0.852 MB / 0.5868 GB, free: 28.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.3316, allocations: 0.7761 MB / 0.5876 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002155/0.3337, allocations: 2.218 MB / 0.5897 GB, free: 27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006262/0.3344, allocations: 447.9 kB / 0.5901 GB, free: 26.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000976/0.3354, allocations: 0.8146 MB / 0.5909 GB, free: 26.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.3364, allocations: 1.045 MB / 0.592 GB, free: 26.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.3366, allocations: 102 kB / 0.5921 GB, free: 26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006031/0.3372, allocations: 308.6 kB / 0.5924 GB, free: 25.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.3375, allocations: 382.6 kB / 0.5927 GB, free: 25.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.3378, allocations: 334 kB / 0.593 GB, free: 25.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.3391, allocations: 1.954 MB / 0.5949 GB, free: 24.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3391, allocations: 0 / 0.5949 GB, free: 24.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3392, allocations: 0 / 0.5949 GB, free: 24.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.965e-05/0.3392, allocations: 0 / 0.5949 GB, free: 24.97 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.01083/0.35, allocations: 3.681 MB / 0.5985 GB, free: 23.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3501, allocations: 9.5 kB / 0.5986 GB, free: 23.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004352/0.3544, allocations: 0.7806 MB / 0.5993 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.3565, allocations: 1.159 MB / 0.6004 GB, free: 22.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004134/0.357, allocations: 0.5056 MB / 0.6009 GB, free: 22.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.3572, allocations: 139.4 kB / 0.6011 GB, free: 22.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/0.3607, allocations: 1.778 MB / 0.6028 GB, free: 21.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.3608, allocations: 1 kB / 0.6028 GB, free: 21.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.3609, allocations: 47.38 kB / 0.6029 GB, free: 21.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.3609, allocations: 29.72 kB / 0.6029 GB, free: 21.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003475/0.3644, allocations: 1.623 MB / 0.6045 GB, free: 20.82 MB / 430.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.01008/0.3745, allocations: 6.056 MB / 0.6104 GB, free: 17.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00853/0.3831, allocations: 3.687 MB / 0.614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/0.3856, allocations: 1.081 MB / 0.615 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.3859, allocations: 26.23 kB / 0.6151 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002489/0.3883, allocations: 1.248 MB / 0.6163 GB, free: 15.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 3.877e-06/0.3884, allocations: 0 / 0.6163 GB, free: 15.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=147): time 0.04359/0.432, allocations: 15.75 MB / 0.6317 GB, free: 3.051 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.432, allocations: 197.2 kB / 0.6319 GB, free: 2.812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.4338, allocations: 1.539 MB / 0.6334 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.4339, allocations: 57.7 kB / 0.6334 GB, free: 1.207 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.4343, allocations: 0.7066 MB / 0.6341 GB, free: 500 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.4347, allocations: 0.521 MB / 0.6346 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.4348, allocations: 40 kB / 0.6346 GB, free: 15.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.435, allocations: 390.1 kB / 0.635 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.4374, allocations: 1.152 MB / 0.6361 GB, free: 14.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/0.4399, allocations: 1.407 MB / 0.6375 GB, free: 12.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.4424, allocations: 1.261 MB / 0.6388 GB, free: 11.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4424, allocations: 4 kB / 0.6388 GB, free: 11.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01103/0.4534, allocations: 4.752 MB / 0.6434 GB, free: 6.789 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.4536, allocations: 256.5 kB / 0.6436 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.4536, allocations: 7.938 kB / 0.6436 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009143/0.4628, allocations: 3.096 MB / 0.6467 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.4643, allocations: 319.5 kB / 0.647 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009925/0.4742, allocations: 5.428 MB / 0.6523 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.4765, allocations: 235.8 kB / 0.6525 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.4767, allocations: 71.98 kB / 0.6526 GB, free: 13.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.4767, allocations: 5.875 kB / 0.6526 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01024/0.487, allocations: 4.475 MB / 0.6569 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.487, allocations: 4 kB / 0.657 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00882/0.4958, allocations: 3.046 MB / 0.6599 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.4972, allocations: 311.6 kB / 0.6602 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009408/0.5066, allocations: 5.329 MB / 0.6654 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.5092, allocations: 219.9 kB / 0.6656 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.5094, allocations: 75.98 kB / 0.6657 GB, free: 15.48 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,29 44} Notification: Performance of prepare postOptimizeDAE: time 0.000803/0.5103, allocations: 416.8 kB / 0.6661 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.5105, allocations: 181.8 kB / 0.6663 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/0.5275, allocations: 6.252 MB / 0.6724 GB, free: 8.617 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.5276, allocations: 16 kB / 0.6724 GB, free: 8.602 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5276, allocations: 0 / 0.6724 GB, free: 8.602 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.043e-05/0.5276, allocations: 7.969 kB / 0.6724 GB, free: 8.594 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 postOpt removeSimpleEquations (simulation): time 0.01996/0.5476, allocations: 8.577 MB / 0.6808 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.5476, allocations: 7.922 kB / 0.6808 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009832/0.5486, allocations: 175.7 kB / 0.681 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007822/0.5564, allocations: 2.651 MB / 0.6835 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003049/0.5568, allocations: 31.98 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02694/0.5837, allocations: 12.41 MB / 0.6957 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5838, allocations: 0 / 0.6957 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/0.604, allocations: 7.598 MB / 0.7031 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006222/0.6046, allocations: 278.6 kB / 0.7034 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/0.605, allocations: 28 kB / 0.7034 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/0.6065, allocations: 211.8 kB / 0.7036 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008719/0.6074, allocations: 317.1 kB / 0.7039 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.6075, allocations: 39.98 kB / 0.704 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001472/0.609, allocations: 1.015 MB / 0.7049 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.609, allocations: 0 / 0.7049 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002359/0.6114, allocations: 0.8712 MB / 0.7058 GB, free: 5.918 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,hYGOV.SimpleLag1.state,hYGOV.q.y,hYGOV.g.state,hYGOV.Position_Limiter.y,sCRX.imLeadLag.TF.x_scaled[1],sCRX.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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003214/0.6117, allocations: 151.9 kB / 0.7059 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01615/0.6279, allocations: 6.418 MB / 0.7122 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6279, allocations: 0 / 0.7122 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006371/0.6343, allocations: 2.443 MB / 0.7146 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.6356, allocations: 174 kB / 0.7148 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006523/0.6422, allocations: 4.152 MB / 0.7188 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/0.643, allocations: 1.341 MB / 0.7201 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008803/0.6439, allocations: 187.4 kB / 0.7203 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.6443, allocations: 99.42 kB / 0.7204 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.6443, allocations: 0 / 0.7204 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of Templates: time 0.05112/0.6954, allocations: 35.73 MB / 0.7553 GB, free: 3.094 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)