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.0009031/0.0009036, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.421/1.421, allocations: 223.3 MB / 239.4 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.001153/0.001153, allocations: 180.5 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6099/0.6099, allocations: 91.91 MB / 433.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.000416, allocations: 11.94 kB / 0.5048 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4499, allocations: 72.46 MB / 0.5755 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.006707/0.4566, allocations: 8.889 MB / 0.5842 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005027/0.4617, allocations: 2.846 MB / 0.587 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.4629, allocations: 21.5 kB / 0.587 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.4637, allocations: 280.3 kB / 0.5873 GB, free: 28.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.4659, allocations: 0.9037 MB / 0.5882 GB, free: 28.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.4677, allocations: 0.9002 MB / 0.589 GB, free: 27.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002057/0.4697, allocations: 2.353 MB / 0.5913 GB, free: 26.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006606/0.4704, allocations: 0.5081 MB / 0.5918 GB, free: 26.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.4715, allocations: 0.8294 MB / 0.5926 GB, free: 25.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.4726, allocations: 1.085 MB / 0.5937 GB, free: 25.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.4728, allocations: 94.44 kB / 0.5938 GB, free: 25.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006642/0.4735, allocations: 314.5 kB / 0.5941 GB, free: 25.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.4738, allocations: 398.8 kB / 0.5945 GB, free: 24.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006402/0.4744, allocations: 0.9255 MB / 0.5954 GB, free: 24.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.4764, allocations: 2.473 MB / 0.5978 GB, free: 23.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4764, allocations: 4 kB / 0.5978 GB, free: 23.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4764, allocations: 0 / 0.5978 GB, free: 23.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.923e-05/0.4764, allocations: 1.281 kB / 0.5978 GB, free: 23.48 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.01308/0.4895, allocations: 3.653 MB / 0.6014 GB, free: 22.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.4896, allocations: 9.031 kB / 0.6014 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/0.4945, allocations: 0.7824 MB / 0.6021 GB, free: 21.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.4969, allocations: 1.22 MB / 0.6033 GB, free: 21.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004751/0.4974, allocations: 0.5053 MB / 0.6038 GB, free: 20.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/0.4977, allocations: 136.3 kB / 0.604 GB, free: 20.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.5014, allocations: 1.786 MB / 0.6057 GB, free: 19.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.5015, allocations: 0 / 0.6057 GB, free: 19.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.5016, allocations: 52.61 kB / 0.6057 GB, free: 19.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.5016, allocations: 28.91 kB / 0.6058 GB, free: 19.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/0.5053, allocations: 1.629 MB / 0.6074 GB, free: 19.27 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.01028/0.5156, allocations: 6.039 MB / 0.6133 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009797/0.5254, allocations: 3.705 MB / 0.6169 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00261/0.528, allocations: 1.086 MB / 0.6179 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.5282, allocations: 30.66 kB / 0.618 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002869/0.5311, allocations: 1.258 MB / 0.6192 GB, free: 13.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 4.148e-06/0.5311, allocations: 0 / 0.6192 GB, free: 13.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=147): time 0.05082/0.5819, allocations: 15.84 MB / 0.6347 GB, free: 444 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.582, allocations: 197.2 kB / 0.6349 GB, free: 204 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.5846, allocations: 1.547 MB / 0.6364 GB, free: 14.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004787/0.5851, allocations: 57.7 kB / 0.6364 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005782/0.5856, allocations: 0.7065 MB / 0.6371 GB, free: 13.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006502/0.5863, allocations: 0.5238 MB / 0.6376 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.5866, allocations: 201.9 kB / 0.6378 GB, free: 13.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.5867, allocations: 309.1 kB / 0.6381 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/0.5893, allocations: 1.156 MB / 0.6392 GB, free: 11.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002727/0.592, allocations: 1.415 MB / 0.6406 GB, free: 10.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005071/0.5971, allocations: 2.535 MB / 0.6431 GB, free: 7.547 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.5971, allocations: 0 / 0.6431 GB, free: 7.547 MB / 446.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01501/0.6121, allocations: 5.665 MB / 0.6486 GB, free: 1.816 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.6124, allocations: 264.5 kB / 0.6489 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.6124, allocations: 4 kB / 0.6489 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.623, allocations: 3.089 MB / 0.6519 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.6248, allocations: 311.5 kB / 0.6522 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.6357, allocations: 5.448 MB / 0.6575 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/0.6391, allocations: 231.8 kB / 0.6577 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.6394, allocations: 75.91 kB / 0.6578 GB, free: 8.172 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.6394, allocations: 4 kB / 0.6578 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01451/0.654, allocations: 5.388 MB / 0.6631 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.654, allocations: 4 kB / 0.6631 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/0.6642, allocations: 3.057 MB / 0.6661 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.6658, allocations: 311.5 kB / 0.6664 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.6761, allocations: 5.329 MB / 0.6716 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/0.6788, allocations: 227.9 kB / 0.6718 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.679, allocations: 71.98 kB / 0.6718 GB, free: 9.574 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.0008825/0.6799, allocations: 416.7 kB / 0.6722 GB, free: 9.156 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.6802, allocations: 189.6 kB / 0.6724 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01911/0.6993, allocations: 6.268 MB / 0.6785 GB, free: 2.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/0.6994, allocations: 16 kB / 0.6786 GB, free: 2.664 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6994, allocations: 0 / 0.6786 GB, free: 2.664 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.555e-05/0.6994, allocations: 3.984 kB / 0.6786 GB, free: 2.66 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.02332/0.7228, allocations: 8.592 MB / 0.687 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.7228, allocations: 0 / 0.687 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.724, allocations: 171.8 kB / 0.6871 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008629/0.7326, allocations: 2.658 MB / 0.6897 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002982/0.7329, allocations: 31.98 kB / 0.6897 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02954/0.7625, allocations: 12.42 MB / 0.7019 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7625, allocations: 0 / 0.7019 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02222/0.7848, allocations: 7.621 MB / 0.7093 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007813/0.7856, allocations: 270.8 kB / 0.7096 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/0.7858, allocations: 36 kB / 0.7096 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/0.7877, allocations: 195.8 kB / 0.7098 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009317/0.7886, allocations: 305.2 kB / 0.7101 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.7887, allocations: 47.92 kB / 0.7101 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001542/0.7903, allocations: 1.034 MB / 0.7111 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7903, allocations: 0 / 0.7111 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002371/0.7927, allocations: 0.8674 MB / 0.712 GB, free: 15.94 MB / 0.5137 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.0003926/0.7931, allocations: 155.7 kB / 0.7121 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01795/0.811, allocations: 6.437 MB / 0.7184 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.8111, allocations: 0 / 0.7184 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007093/0.8182, allocations: 2.447 MB / 0.7208 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.82, allocations: 176.2 kB / 0.721 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007063/0.8271, allocations: 4.353 MB / 0.7252 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/0.8279, allocations: 1.337 MB / 0.7265 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009151/0.8289, allocations: 191.4 kB / 0.7267 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.8292, allocations: 107.4 kB / 0.7268 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.8292, allocations: 0 / 0.7268 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of Templates: time 0.06111/0.8903, allocations: 36.86 MB / 0.7628 GB, free: 11.77 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)