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.0009459/0.0009458, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 240 MB, free: 5.422 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.001317/0.001317, allocations: 180.5 kB / 291.3 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4989/0.4989, allocations: 91.92 MB / 434.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004056, allocations: 8 kB / 0.5054 GB, free: 7.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3646, allocations: 72.46 MB / 0.5762 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.006702/0.3714, allocations: 8.884 MB / 0.5849 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005197/0.3766, allocations: 2.849 MB / 0.5876 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.378, allocations: 23.69 kB / 0.5877 GB, free: 28.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008903/0.3789, allocations: 271.8 kB / 0.5879 GB, free: 28.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.3813, allocations: 0.9167 MB / 0.5888 GB, free: 27.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.3831, allocations: 0.8945 MB / 0.5897 GB, free: 27.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002414/0.3855, allocations: 2.356 MB / 0.592 GB, free: 26.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006869/0.3862, allocations: 0.4962 MB / 0.5925 GB, free: 25.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.3874, allocations: 0.8289 MB / 0.5933 GB, free: 25.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.3886, allocations: 1.092 MB / 0.5944 GB, free: 25.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002787/0.3889, allocations: 94.41 kB / 0.5944 GB, free: 25.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007443/0.3897, allocations: 314 kB / 0.5947 GB, free: 24.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.39, allocations: 399.6 kB / 0.5951 GB, free: 24.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007654/0.3908, allocations: 0.9229 MB / 0.596 GB, free: 24.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.3923, allocations: 1.955 MB / 0.5979 GB, free: 23.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3924, allocations: 1.062 kB / 0.5979 GB, free: 23.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3924, allocations: 0 / 0.5979 GB, free: 23.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.63e-05/0.3924, allocations: 0 / 0.5979 GB, free: 23.61 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.0128/0.4052, allocations: 3.654 MB / 0.6015 GB, free: 22.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.4053, allocations: 9 kB / 0.6015 GB, free: 22.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/0.4105, allocations: 0.785 MB / 0.6023 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.4132, allocations: 1.215 MB / 0.6035 GB, free: 21.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005037/0.4137, allocations: 0.5061 MB / 0.604 GB, free: 20.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/0.414, allocations: 143.5 kB / 0.6041 GB, free: 20.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/0.4179, allocations: 1.782 MB / 0.6058 GB, free: 19.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.4179, allocations: 0 / 0.6058 GB, free: 19.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.4181, allocations: 51.75 kB / 0.6059 GB, free: 19.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.4181, allocations: 29.78 kB / 0.6059 GB, free: 19.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003763/0.4219, allocations: 1.627 MB / 0.6075 GB, free: 19.39 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.01096/0.4329, allocations: 6.045 MB / 0.6134 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009504/0.4424, allocations: 3.693 MB / 0.617 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/0.4451, allocations: 1.09 MB / 0.6181 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.4453, allocations: 29.8 kB / 0.6181 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002786/0.4481, allocations: 1.265 MB / 0.6193 GB, free: 13.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 4.789e-06/0.4481, allocations: 5.297 kB / 0.6193 GB, free: 13.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=147): time 0.05009/0.4982, allocations: 15.83 MB / 0.6348 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.4983, allocations: 201.2 kB / 0.635 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.5007, allocations: 1.551 MB / 0.6365 GB, free: 15.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005197/0.5013, allocations: 57.7 kB / 0.6366 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006351/0.5019, allocations: 0.7104 MB / 0.6373 GB, free: 14.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000738/0.5027, allocations: 0.5199 MB / 0.6378 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.503, allocations: 205.8 kB / 0.638 GB, free: 13.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5031, allocations: 305.1 kB / 0.6382 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/0.5057, allocations: 1.16 MB / 0.6394 GB, free: 12.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002762/0.5085, allocations: 1.417 MB / 0.6408 GB, free: 10.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00519/0.5137, allocations: 2.534 MB / 0.6432 GB, free: 8.055 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.5137, allocations: 0 / 0.6432 GB, free: 8.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01544/0.5292, allocations: 5.665 MB / 0.6488 GB, free: 2.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.5294, allocations: 252.6 kB / 0.649 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.5295, allocations: 7.984 kB / 0.649 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0106/0.5401, allocations: 3.085 MB / 0.652 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.5418, allocations: 319.5 kB / 0.6523 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/0.5537, allocations: 5.451 MB / 0.6577 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/0.5567, allocations: 231.9 kB / 0.6579 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004795/0.5573, allocations: 67.98 kB / 0.6579 GB, free: 8.684 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.5573, allocations: 4 kB / 0.658 GB, free: 8.68 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01577/0.5731, allocations: 5.392 MB / 0.6632 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.5731, allocations: 4 kB / 0.6632 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.5832, allocations: 3.054 MB / 0.6662 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.5849, allocations: 315.6 kB / 0.6665 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.596, allocations: 5.329 MB / 0.6717 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/0.5989, allocations: 219.9 kB / 0.6719 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004911/0.5994, allocations: 75.98 kB / 0.672 GB, free: 10.08 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 ($whenCondition2,$whenCondition1,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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,6), (29,44)} Notification: Performance of prepare postOptimizeDAE: time 0.001319/0.6007, allocations: 420 kB / 0.6724 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006351/0.6014, allocations: 189.6 kB / 0.6726 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01959/0.621, allocations: 6.272 MB / 0.6787 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/0.621, allocations: 19.94 kB / 0.6787 GB, free: 3.164 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6211, allocations: 3.938 kB / 0.6787 GB, free: 3.164 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.606e-05/0.6211, allocations: 7.969 kB / 0.6787 GB, free: 3.156 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.0241/0.6452, allocations: 8.585 MB / 0.6871 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/0.6453, allocations: 0 / 0.6871 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.6464, allocations: 175.7 kB / 0.6873 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008778/0.6552, allocations: 2.654 MB / 0.6899 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003971/0.6557, allocations: 31.98 kB / 0.6899 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03003/0.6857, allocations: 12.42 MB / 0.702 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6858, allocations: 0 / 0.702 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02289/0.7087, allocations: 7.614 MB / 0.7095 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008625/0.7096, allocations: 274.8 kB / 0.7097 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008074/0.7104, allocations: 28 kB / 0.7098 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/0.7128, allocations: 203.8 kB / 0.71 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/0.7141, allocations: 309.1 kB / 0.7102 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002658/0.7143, allocations: 43.98 kB / 0.7103 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002024/0.7164, allocations: 1.034 MB / 0.7113 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7164, allocations: 3.938 kB / 0.7113 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003971/0.7204, allocations: 0.8633 MB / 0.7121 GB, free: 460 kB / 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,6), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005187/0.7209, allocations: 156 kB / 0.7123 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01957/0.7405, allocations: 6.434 MB / 0.7186 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.7405, allocations: 0 / 0.7186 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00785/0.7484, allocations: 2.443 MB / 0.721 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/0.7511, allocations: 170.1 kB / 0.7211 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00948/0.7606, allocations: 4.392 MB / 0.7254 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.7619, allocations: 1.337 MB / 0.7267 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007646/0.7627, allocations: 111.4 kB / 0.7268 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of SimCode: time 8.32e-07/0.7627, allocations: 0 / 0.7268 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of Templates: time 0.05235/0.8151, allocations: 36.52 MB / 0.7625 GB, free: 12.68 MB / 0.5606 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)