Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.004514/0.004514, allocations: 172 kB / 15.11 MB, free: 5.969 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.169/1.169, allocations: 223.2 MB / 239 MB, free: 1.789 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.0009462/0.0009461, allocations: 100.1 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4079/0.4079, allocations: 78.51 MB / 419.8 MB, free: 43.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 12 kB / 499.7 MB, free: 2.738 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3124, allocations: 69.36 MB / 0.5557 GB, free: 38.73 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4366, allocations: 114.1 MB / 0.6671 GB, free: 8.285 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.4369, allocations: 91.94 kB / 0.6672 GB, free: 8.195 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.12/0.5569, allocations: 48.1 MB / 0.7142 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5569, allocations: 0 / 0.7142 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001255/0.5571, allocations: 39.94 kB / 0.7142 GB, free: 7.816 MB / 0.5105 GB 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.007703/0.5648, allocations: 2.739 MB / 0.7169 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5648, allocations: 12.03 kB / 0.7169 GB, free: 5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/0.568, allocations: 0.579 MB / 0.7175 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.5705, allocations: 1.133 MB / 0.7186 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005136/0.571, allocations: 0.5005 MB / 0.7191 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003368/0.5714, allocations: 124 kB / 0.7192 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/0.5749, allocations: 1.767 MB / 0.7209 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.5749, allocations: 0 / 0.7209 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.5751, allocations: 52 kB / 0.721 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.5751, allocations: 28 kB / 0.721 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003331/0.5784, allocations: 1.625 MB / 0.7226 GB, free: 14.99 MB / 0.5261 GB 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.009849/0.5883, allocations: 5.909 MB / 0.7283 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008983/0.5973, allocations: 3.654 MB / 0.7319 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.5974, allocations: 21.28 kB / 0.7319 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002379/0.5998, allocations: 1.245 MB / 0.7332 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=142): time 3.146e-06/0.5998, allocations: 0 / 0.7332 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of matching and sorting (n=146): time 0.04509/0.6449, allocations: 14.78 MB / 0.7476 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/0.6451, allocations: 201.2 kB / 0.7478 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.647, allocations: 1.308 MB / 0.7491 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.6472, allocations: 53.7 kB / 0.7491 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000524/0.6477, allocations: 0.7501 MB / 0.7498 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/0.6482, allocations: 0.5082 MB / 0.7503 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.6483, allocations: 36 kB / 0.7504 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6485, allocations: 361.9 kB / 0.7507 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.6505, allocations: 0.9644 MB / 0.7517 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/0.6526, allocations: 1.185 MB / 0.7528 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.6548, allocations: 1.074 MB / 0.7539 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6548, allocations: 4 kB / 0.7539 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007038/0.6618, allocations: 3.449 MB / 0.7572 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005775/0.6624, allocations: 1.851 MB / 0.759 GB, free: 8.809 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.6624, allocations: 8 kB / 0.759 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009282/0.6717, allocations: 3.085 MB / 0.7621 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/0.6726, allocations: 195.7 kB / 0.7622 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007263/0.6799, allocations: 3.951 MB / 0.7661 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.682, allocations: 219.9 kB / 0.7663 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.6822, allocations: 55.98 kB / 0.7664 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.6822, allocations: 4 kB / 0.7664 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2302/0.9124, allocations: 3.197 MB / 0.7695 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/0.9125, allocations: 5.281 kB / 0.7695 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009825/0.9223, allocations: 3.036 MB / 0.7725 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.9234, allocations: 207.1 kB / 0.7727 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009076/0.9325, allocations: 5.383 MB / 0.7779 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.9347, allocations: 207.1 kB / 0.7781 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/0.935, allocations: 62.81 kB / 0.7782 GB, free: 131.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (sCRX.booleanConstant.y,$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 (123): * Single equations (assignments): 120 * 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 43} Notification: Performance of prepare postOptimizeDAE: time 0.0008621/0.9358, allocations: 394.6 kB / 0.7786 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004085/0.9362, allocations: 184.7 kB / 0.7787 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/0.9525, allocations: 6.234 MB / 0.7848 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.9525, allocations: 18.8 kB / 0.7848 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9525, allocations: 2.781 kB / 0.7848 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.551e-05/0.9526, allocations: 6.609 kB / 0.7848 GB, free: 130.8 MB / 0.5573 GB 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.9726, allocations: 8.589 MB / 0.7932 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.9726, allocations: 0 / 0.7932 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.9737, allocations: 169.9 kB / 0.7934 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007898/0.9816, allocations: 2.645 MB / 0.796 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002937/0.9819, allocations: 33.69 kB / 0.796 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02711/1.009, allocations: 13.03 MB / 0.8087 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.009, allocations: 1.156 kB / 0.8087 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02091/1.03, allocations: 7.658 MB / 0.8162 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006621/1.031, allocations: 273.6 kB / 0.8165 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005752/1.031, allocations: 34.47 kB / 0.8165 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.033, allocations: 207.5 kB / 0.8167 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/1.034, allocations: 307.8 kB / 0.817 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/1.035, allocations: 40.25 kB / 0.817 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00194/1.037, allocations: 1.014 MB / 0.818 GB, free: 123 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.037, allocations: 4 kB / 0.818 GB, free: 123 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002906/1.039, allocations: 0.7782 MB / 0.8188 GB, free: 123 MB / 0.5573 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 (97): * Single equations (assignments): 95 * 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.000444/1.04, allocations: 189.1 kB / 0.819 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01499/1.055, allocations: 5.608 MB / 0.8244 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.055, allocations: 0.9375 kB / 0.8244 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006397/1.061, allocations: 2.451 MB / 0.8268 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/1.063, allocations: 156 kB / 0.827 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/1.068, allocations: 4.135 MB / 0.831 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/1.069, allocations: 1.375 MB / 0.8324 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007157/1.07, allocations: 153.2 kB / 0.8325 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/1.07, allocations: 92.16 kB / 0.8326 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/1.07, allocations: 0 / 0.8326 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.03901/1.109, allocations: 34.07 MB / 0.8659 GB, free: 104.8 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.o OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.c In file included from OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.c:7: In file included from ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV_model.h:24: ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV_functions.h:153:1: error: unknown type name 'OpenIPSL_Types_ComplexPower' OpenIPSL_Types_ComplexPower omc_OpenIPSL_Types_ComplexPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.o] Error 1