Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005923/0.005924, allocations: 165.8 kB / 15.13 MB, free: 6.02 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 239.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008512/0.0008511, allocations: 103.2 kB / 290.3 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5158/0.5158, allocations: 78.62 MB / 420 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.000417, allocations: 12 kB / 499.9 MB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3433, allocations: 69.35 MB / 0.5559 GB, free: 39.06 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.008388/0.3518, allocations: 8.261 MB / 0.564 GB, free: 36.15 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005392/0.3572, allocations: 2.738 MB / 0.5666 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.3584, allocations: 22.06 kB / 0.5667 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008171/0.3592, allocations: 242.6 kB / 0.5669 GB, free: 34.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.3622, allocations: 1.034 MB / 0.5679 GB, free: 33.43 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.364, allocations: 0.7111 MB / 0.5686 GB, free: 33.07 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002811/0.3668, allocations: 2.36 MB / 0.5709 GB, free: 31.93 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006386/0.3675, allocations: 446.9 kB / 0.5713 GB, free: 31.72 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.3686, allocations: 0.8251 MB / 0.5721 GB, free: 31.37 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.3696, allocations: 1.08 MB / 0.5732 GB, free: 30.9 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.3698, allocations: 93 kB / 0.5733 GB, free: 30.9 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006634/0.3705, allocations: 297.9 kB / 0.5736 GB, free: 30.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.3708, allocations: 389 kB / 0.5739 GB, free: 30.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.371, allocations: 333 kB / 0.5743 GB, free: 30.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.3724, allocations: 1.967 MB / 0.5762 GB, free: 29.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3724, allocations: 0 / 0.5762 GB, free: 29.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3724, allocations: 2.875 kB / 0.5762 GB, free: 29.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.913e-05/0.3725, allocations: 0 / 0.5762 GB, free: 29.87 MB / 426.7 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.0134/0.3859, allocations: 4.028 MB / 0.5801 GB, free: 28.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3859, allocations: 8.844 kB / 0.5801 GB, free: 28.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004593/0.3905, allocations: 0.7821 MB / 0.5809 GB, free: 28.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.3927, allocations: 1.164 MB / 0.582 GB, free: 27.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004252/0.3931, allocations: 0.5063 MB / 0.5825 GB, free: 27.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.3934, allocations: 142.2 kB / 0.5827 GB, free: 26.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003238/0.3966, allocations: 1.775 MB / 0.5844 GB, free: 26.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.3967, allocations: 3.938 kB / 0.5844 GB, free: 26.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.3968, allocations: 51.28 kB / 0.5844 GB, free: 26.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.3968, allocations: 27.78 kB / 0.5845 GB, free: 26.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/0.4, allocations: 1.616 MB / 0.586 GB, free: 25.67 MB / 426.7 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.009205/0.4092, allocations: 6.04 MB / 0.5919 GB, free: 22.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009225/0.4185, allocations: 3.685 MB / 0.5955 GB, free: 20.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002344/0.4208, allocations: 1.083 MB / 0.5966 GB, free: 20.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.421, allocations: 28.42 kB / 0.5966 GB, free: 20.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002481/0.4235, allocations: 1.247 MB / 0.5978 GB, free: 19.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=143): time 3.367e-06/0.4235, allocations: 3.938 kB / 0.5978 GB, free: 19.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=147): time 0.05596/0.4794, allocations: 15.75 MB / 0.6132 GB, free: 15.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.4796, allocations: 193.2 kB / 0.6134 GB, free: 14.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/0.4819, allocations: 1.543 MB / 0.6149 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004608/0.4823, allocations: 57.7 kB / 0.615 GB, free: 13.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/0.4828, allocations: 0.7028 MB / 0.6157 GB, free: 12.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005051/0.4833, allocations: 0.5238 MB / 0.6162 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.4835, allocations: 40 kB / 0.6162 GB, free: 11.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4836, allocations: 386.1 kB / 0.6166 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/0.4859, allocations: 1.156 MB / 0.6177 GB, free: 10.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.4883, allocations: 1.407 MB / 0.6191 GB, free: 8.953 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/0.4907, allocations: 1.265 MB / 0.6203 GB, free: 7.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.4908, allocations: 4 kB / 0.6203 GB, free: 7.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01112/0.5019, allocations: 4.736 MB / 0.6249 GB, free: 2.867 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.502, allocations: 257.9 kB / 0.6252 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.5021, allocations: 4 kB / 0.6252 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009718/0.5118, allocations: 3.096 MB / 0.6282 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.5134, allocations: 315.5 kB / 0.6285 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.5244, allocations: 5.434 MB / 0.6338 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.5271, allocations: 227.9 kB / 0.634 GB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.5274, allocations: 71.98 kB / 0.6341 GB, free: 9.242 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.5274, allocations: 0 / 0.6341 GB, free: 9.242 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01128/0.5387, allocations: 4.471 MB / 0.6385 GB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.5387, allocations: 4 kB / 0.6385 GB, free: 4.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009806/0.5485, allocations: 3.042 MB / 0.6414 GB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.5502, allocations: 315.6 kB / 0.6417 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.5604, allocations: 5.323 MB / 0.6469 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/0.5632, allocations: 235.9 kB / 0.6472 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/0.5635, allocations: 71.98 kB / 0.6472 GB, free: 11.57 MB / 458.7 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.0009765/0.5645, allocations: 419.5 kB / 0.6476 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.5648, allocations: 181.7 kB / 0.6478 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01932/0.5842, allocations: 6.252 MB / 0.6539 GB, free: 4.695 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/0.5842, allocations: 16 kB / 0.6539 GB, free: 4.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5842, allocations: 3.938 kB / 0.6539 GB, free: 4.676 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.365e-05/0.5843, allocations: 11.97 kB / 0.6539 GB, free: 4.664 MB / 458.7 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.02234/0.6066, allocations: 8.561 MB / 0.6623 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/0.6067, allocations: 0 / 0.6623 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.6078, allocations: 171.8 kB / 0.6625 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008501/0.6164, allocations: 2.658 MB / 0.6651 GB, free: 9.129 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/0.6167, allocations: 39.98 kB / 0.6651 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02891/0.6456, allocations: 12.39 MB / 0.6772 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.6456, allocations: 4.031 kB / 0.6772 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02253/0.6682, allocations: 7.598 MB / 0.6846 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008877/0.6691, allocations: 278.6 kB / 0.6849 GB, free: 4.484 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/0.6694, allocations: 28 kB / 0.6849 GB, free: 4.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/0.6713, allocations: 211.8 kB / 0.6851 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009456/0.6722, allocations: 313.1 kB / 0.6854 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.6723, allocations: 39.98 kB / 0.6855 GB, free: 3.906 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001583/0.6739, allocations: 1.018 MB / 0.6865 GB, free: 2.895 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6739, allocations: 0 / 0.6865 GB, free: 2.895 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002352/0.6763, allocations: 0.8634 MB / 0.6873 GB, free: 2.031 MB / 490.7 MB 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.0003406/0.6767, allocations: 156.4 kB / 0.6875 GB, free: 1.875 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01841/0.6951, allocations: 6.422 MB / 0.6937 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.6951, allocations: 0 / 0.6937 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007429/0.7026, allocations: 2.446 MB / 0.6961 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.7048, allocations: 174 kB / 0.6963 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007099/0.7119, allocations: 4.137 MB / 0.7003 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008886/0.7128, allocations: 1.337 MB / 0.7016 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009228/0.7137, allocations: 191.4 kB / 0.7018 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.7141, allocations: 95.42 kB / 0.7019 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of SimCode: time 8.61e-07/0.7141, allocations: 0 / 0.7019 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.05286/0.767, allocations: 35.63 MB / 0.7367 GB, free: 15.31 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)