Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004879/0.004879, allocations: 172.2 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.375/1.375, allocations: 223.2 MB / 239 MB, free: 1.77 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.0008938/0.0008939, allocations: 98.89 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4275/0.4275, allocations: 78.58 MB / 419.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 12 kB / 499.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.3999, allocations: 69.35 MB / 0.5558 GB, free: 38.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.5455, allocations: 111.7 MB / 0.6648 GB, free: 10.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.5458, allocations: 98.64 kB / 0.6649 GB, free: 10.71 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1254/0.6712, allocations: 47.8 MB / 0.7116 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6712, allocations: 0 / 0.7116 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.806e-05/0.6713, allocations: 36 kB / 0.7116 GB, free: 10.63 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007161/0.6785, allocations: 2.691 MB / 0.7143 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.6785, allocations: 8.031 kB / 0.7143 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/0.6815, allocations: 0.579 MB / 0.7148 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.6838, allocations: 1.156 MB / 0.716 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005871/0.6844, allocations: 0.5639 MB / 0.7165 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.6847, allocations: 127.8 kB / 0.7166 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/0.6882, allocations: 1.662 MB / 0.7183 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.6882, allocations: 0 / 0.7183 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.6884, allocations: 40 kB / 0.7183 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.6884, allocations: 28 kB / 0.7183 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/0.6919, allocations: 1.594 MB / 0.7199 GB, free: 1.914 MB / 0.5105 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.0104/0.7024, allocations: 5.575 MB / 0.7253 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009386/0.7118, allocations: 3.666 MB / 0.7289 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/0.712, allocations: 25.3 kB / 0.7289 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002641/0.7146, allocations: 1.228 MB / 0.7301 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=139): time 4.007e-06/0.7147, allocations: 0 / 0.7301 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.04012/0.7548, allocations: 11.38 MB / 0.7412 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.7549, allocations: 175.5 kB / 0.7414 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/0.7575, allocations: 1.35 MB / 0.7427 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003284/0.7578, allocations: 45.7 kB / 0.7428 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005292/0.7584, allocations: 0.7111 MB / 0.7435 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005175/0.7589, allocations: 496.8 kB / 0.7439 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.759, allocations: 28 kB / 0.744 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7592, allocations: 365.9 kB / 0.7443 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.7612, allocations: 0.9331 MB / 0.7452 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.7634, allocations: 1.117 MB / 0.7463 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.7655, allocations: 1.031 MB / 0.7473 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.7656, allocations: 0 / 0.7473 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006822/0.7724, allocations: 3.178 MB / 0.7504 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005586/0.773, allocations: 1.475 MB / 0.7519 GB, free: 468 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.773, allocations: 7.984 kB / 0.7519 GB, free: 460 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009322/0.7823, allocations: 2.947 MB / 0.7548 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.7834, allocations: 219.7 kB / 0.755 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00698/0.7904, allocations: 3.208 MB / 0.7581 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/0.7928, allocations: 298.5 kB / 0.7584 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.7929, allocations: 51.98 kB / 0.7584 GB, free: 9.707 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.7929, allocations: 4 kB / 0.7584 GB, free: 9.703 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006323/0.7993, allocations: 2.964 MB / 0.7613 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.7993, allocations: 4 kB / 0.7613 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009301/0.8086, allocations: 2.939 MB / 0.7642 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.8097, allocations: 207.7 kB / 0.7644 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006864/0.8166, allocations: 3.201 MB / 0.7675 GB, free: 356 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/0.8191, allocations: 286.6 kB / 0.7678 GB, free: 68 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.8192, allocations: 51.98 kB / 0.7679 GB, free: 16 kB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 116 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {29 43} Notification: Performance of prepare postOptimizeDAE: time 0.2571/1.076, allocations: 388.6 kB / 0.7682 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000749/1.077, allocations: 182.2 kB / 0.7684 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01895/1.096, allocations: 6.002 MB / 0.7743 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/1.096, allocations: 16.23 kB / 0.7743 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/1.096, allocations: 1.031 kB / 0.7743 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.874e-05/1.096, allocations: 11.16 kB / 0.7743 GB, free: 134.6 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.02055/1.117, allocations: 8.488 MB / 0.7826 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/1.117, allocations: 0 / 0.7826 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.118, allocations: 185.8 kB / 0.7828 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007319/1.125, allocations: 2.504 MB / 0.7852 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003158/1.126, allocations: 30.02 kB / 0.7852 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02476/1.151, allocations: 10.89 MB / 0.7959 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.151, allocations: 1.594 kB / 0.7959 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02025/1.171, allocations: 7.355 MB / 0.8031 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007702/1.172, allocations: 302.8 kB / 0.8033 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/1.172, allocations: 35.12 kB / 0.8034 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.174, allocations: 202.8 kB / 0.8036 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008646/1.175, allocations: 275.1 kB / 0.8038 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.175, allocations: 39.05 kB / 0.8039 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002013/1.177, allocations: 1.053 MB / 0.8049 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.714e-06/1.177, allocations: 0 / 0.8049 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002379/1.179, allocations: 0.8275 MB / 0.8057 GB, free: 130.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.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 (96): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003972/1.18, allocations: 185.8 kB / 0.8059 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01563/1.195, allocations: 5.185 MB / 0.8109 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.195, allocations: 3.797 kB / 0.8109 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006824/1.202, allocations: 2.254 MB / 0.8131 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/1.204, allocations: 142.9 kB / 0.8133 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006035/1.21, allocations: 4.023 MB / 0.8172 GB, free: 126 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008123/1.211, allocations: 1.35 MB / 0.8185 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008737/1.211, allocations: 166.6 kB / 0.8187 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/1.212, allocations: 93.48 kB / 0.8188 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.182e-06/1.212, allocations: 3.938 kB / 0.8188 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.04352/1.255, allocations: 31.95 MB / 0.85 GB, free: 121.8 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.o OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.c In file included from OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO_model.h:24: ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO_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_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.o] Error 1