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.0008235/0.0008236, allocations: 180.6 kB / 15.45 MB, free: 6.227 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.245/1.245, allocations: 223.3 MB / 239.5 MB, free: 15.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008435/0.0008434, allocations: 100.1 kB / 290.6 MB, free: 4.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.447/0.447, allocations: 78.63 MB / 420.4 MB, free: 36.42 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 12 kB / 0.4888 GB, free: 6.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 69.36 MB / 0.5565 GB, free: 1.422 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.008556/0.13, allocations: 8.851 MB / 0.5652 GB, free: 8.523 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005816/0.1359, allocations: 2.844 MB / 0.5679 GB, free: 5.672 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.1372, allocations: 16 kB / 0.568 GB, free: 5.656 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008372/0.138, allocations: 282.2 kB / 0.5682 GB, free: 5.379 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.1411, allocations: 1.114 MB / 0.5693 GB, free: 4.27 MB / 442.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.001775/0.1429, allocations: 0.8137 MB / 0.5701 GB, free: 3.465 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002744/0.1456, allocations: 2.514 MB / 0.5726 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007119/0.1463, allocations: 0.4991 MB / 0.5731 GB, free: 416 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2363/0.3827, allocations: 0.835 MB / 0.5739 GB, free: 32.75 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.3842, allocations: 1.118 MB / 0.575 GB, free: 32.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.3845, allocations: 94.06 kB / 0.5751 GB, free: 32.66 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006833/0.3852, allocations: 302.3 kB / 0.5753 GB, free: 32.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.3855, allocations: 402.8 kB / 0.5757 GB, free: 32.59 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008225/0.3864, allocations: 0.9338 MB / 0.5766 GB, free: 32.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.3888, allocations: 2.486 MB / 0.5791 GB, free: 31.87 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3888, allocations: 0 / 0.5791 GB, free: 31.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3889, allocations: 4.938 kB / 0.5791 GB, free: 31.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.431e-05/0.3889, allocations: 0 / 0.5791 GB, free: 31.87 MB / 442.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.01553/0.4044, allocations: 3.999 MB / 0.583 GB, free: 30.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4045, allocations: 11.42 kB / 0.583 GB, free: 30.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005069/0.4096, allocations: 0.7856 MB / 0.5838 GB, free: 30.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.412, allocations: 1.216 MB / 0.5849 GB, free: 30.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004145/0.4124, allocations: 0.5078 MB / 0.5854 GB, free: 29.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.4127, allocations: 141.2 kB / 0.5856 GB, free: 29.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.4159, allocations: 1.777 MB / 0.5873 GB, free: 29.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.4159, allocations: 7.094 kB / 0.5873 GB, free: 29.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.416, allocations: 48.5 kB / 0.5874 GB, free: 29.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.4161, allocations: 30.22 kB / 0.5874 GB, free: 29.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/0.4196, allocations: 1.624 MB / 0.589 GB, free: 29.6 MB / 442.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.01049/0.4301, allocations: 6.053 MB / 0.5949 GB, free: 27.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00826/0.4384, allocations: 3.694 MB / 0.5985 GB, free: 26.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.4406, allocations: 1.082 MB / 0.5996 GB, free: 26.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.4407, allocations: 27.66 kB / 0.5996 GB, free: 26.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002155/0.4429, allocations: 1.255 MB / 0.6008 GB, free: 26.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=143): time 3.056e-06/0.4429, allocations: 0 / 0.6008 GB, free: 26.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=147): time 0.04761/0.4905, allocations: 15.82 MB / 0.6163 GB, free: 23.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.121e-05/0.4907, allocations: 198.1 kB / 0.6164 GB, free: 23.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/0.4937, allocations: 1.552 MB / 0.618 GB, free: 22.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000377/0.4941, allocations: 57.36 kB / 0.618 GB, free: 22.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005689/0.4947, allocations: 0.7121 MB / 0.6187 GB, free: 22.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006446/0.4953, allocations: 0.5255 MB / 0.6192 GB, free: 21.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004509/0.4958, allocations: 199.5 kB / 0.6194 GB, free: 21.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.618e-05/0.4958, allocations: 305.7 kB / 0.6197 GB, free: 21.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/0.4985, allocations: 1.154 MB / 0.6208 GB, free: 20.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002841/0.5013, allocations: 1.419 MB / 0.6222 GB, free: 20.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00535/0.5067, allocations: 2.523 MB / 0.6247 GB, free: 19.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.5067, allocations: 1.438 kB / 0.6247 GB, free: 19.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01483/0.5215, allocations: 5.678 MB / 0.6302 GB, free: 17.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.5217, allocations: 248.8 kB / 0.6305 GB, free: 17.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.5218, allocations: 4.906 kB / 0.6305 GB, free: 17.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009037/0.5308, allocations: 3.087 MB / 0.6335 GB, free: 16.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.5325, allocations: 314.2 kB / 0.6338 GB, free: 16.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009563/0.542, allocations: 5.448 MB / 0.6391 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/0.5449, allocations: 227.9 kB / 0.6393 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004441/0.5454, allocations: 71.98 kB / 0.6394 GB, free: 11.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5454, allocations: 0 / 0.6394 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01313/0.5586, allocations: 5.392 MB / 0.6447 GB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.5586, allocations: 4 kB / 0.6447 GB, free: 6.043 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008466/0.5671, allocations: 3.057 MB / 0.6476 GB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.5686, allocations: 313 kB / 0.6479 GB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009523/0.5782, allocations: 5.329 MB / 0.6531 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/0.5811, allocations: 219.9 kB / 0.6534 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004261/0.5815, allocations: 79.92 kB / 0.6534 GB, free: 12.94 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 ($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.001256/0.5828, allocations: 412.4 kB / 0.6538 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006337/0.5834, allocations: 185.7 kB / 0.654 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01785/0.6013, allocations: 6.261 MB / 0.6601 GB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/0.6014, allocations: 18.2 kB / 0.6601 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6014, allocations: 0 / 0.6601 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.663e-05/0.6014, allocations: 15.97 kB / 0.6601 GB, free: 6.09 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.02229/0.6237, allocations: 8.581 MB / 0.6685 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/0.6238, allocations: 0 / 0.6685 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.6249, allocations: 173.3 kB / 0.6687 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008234/0.6331, allocations: 2.66 MB / 0.6713 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000397/0.6336, allocations: 31.98 kB / 0.6713 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02801/0.6616, allocations: 12.42 MB / 0.6834 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6616, allocations: 0 / 0.6834 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02044/0.6821, allocations: 7.623 MB / 0.6909 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008761/0.683, allocations: 269.1 kB / 0.6911 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007971/0.6838, allocations: 37.06 kB / 0.6912 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/0.6861, allocations: 199.8 kB / 0.6914 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/0.6873, allocations: 308.4 kB / 0.6917 GB, free: 5.512 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000229/0.6876, allocations: 40 kB / 0.6917 GB, free: 5.473 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001955/0.6895, allocations: 1.03 MB / 0.6927 GB, free: 4.449 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-07/0.6895, allocations: 1.406 kB / 0.6927 GB, free: 4.449 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003346/0.6929, allocations: 0.8671 MB / 0.6936 GB, free: 3.582 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 (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.0004184/0.6933, allocations: 165.4 kB / 0.6937 GB, free: 3.426 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01714/0.7105, allocations: 6.434 MB / 0.7 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.7105, allocations: 0 / 0.7 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006737/0.7173, allocations: 2.455 MB / 0.7024 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/0.7198, allocations: 166.5 kB / 0.7026 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007607/0.7274, allocations: 4.346 MB / 0.7068 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009499/0.7284, allocations: 1.337 MB / 0.7081 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009523/0.7293, allocations: 183.4 kB / 0.7083 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.7297, allocations: 103.4 kB / 0.7084 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.7297, allocations: 0 / 0.7084 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of Templates: time 0.06014/0.7899, allocations: 36.76 MB / 0.7443 GB, free: 15.84 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)