Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004174/0.004174, 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.207/1.207, allocations: 223.2 MB / 239 MB, free: 1.797 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.000894/0.000894, allocations: 98.89 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4076/0.4076, allocations: 78.51 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 16 kB / 499.7 MB, free: 2.75 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.295, allocations: 69.35 MB / 0.5557 GB, free: 38.68 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4159, allocations: 116.3 MB / 0.6693 GB, free: 6.109 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4162, allocations: 95.94 kB / 0.6693 GB, free: 6.016 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1236/0.5398, allocations: 49.52 MB / 0.7177 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5398, allocations: 0 / 0.7177 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.738e-05/0.5399, allocations: 36 kB / 0.7177 GB, free: 4.215 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.006943/0.5469, allocations: 2.748 MB / 0.7204 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.5469, allocations: 8.031 kB / 0.7204 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/0.5499, allocations: 0.5907 MB / 0.721 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.552, allocations: 1.177 MB / 0.7222 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004604/0.5525, allocations: 0.5041 MB / 0.7226 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.5527, allocations: 116 kB / 0.7228 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/0.5558, allocations: 1.706 MB / 0.7244 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.5558, allocations: 0 / 0.7244 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.556, allocations: 48 kB / 0.7245 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.556, allocations: 28 kB / 0.7245 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.5592, allocations: 1.605 MB / 0.7261 GB, free: 11.43 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.008527/0.5678, allocations: 5.581 MB / 0.7315 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008962/0.5767, allocations: 3.764 MB / 0.7352 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/0.5773, allocations: 0.7336 MB / 0.7359 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002234/0.5795, allocations: 1.254 MB / 0.7371 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=139): time 2.915e-06/0.5795, allocations: 0 / 0.7371 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=139): time 0.04203/0.6215, allocations: 12.52 MB / 0.7494 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/0.6216, allocations: 157.8 kB / 0.7495 GB, free: 2.812 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.6236, allocations: 1.33 MB / 0.7508 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.6238, allocations: 49.7 kB / 0.7509 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.6242, allocations: 0.7072 MB / 0.7515 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/0.6247, allocations: 496.8 kB / 0.752 GB, free: 224 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.901e-05/0.6248, allocations: 28 kB / 0.752 GB, free: 196 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6249, allocations: 365.9 kB / 0.7524 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.6268, allocations: 0.9604 MB / 0.7533 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.6288, allocations: 1.161 MB / 0.7545 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.6308, allocations: 1.017 MB / 0.7555 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6308, allocations: 8 kB / 0.7555 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.006357/0.6372, allocations: 3.239 MB / 0.7586 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004187/0.6376, allocations: 1.547 MB / 0.7601 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6376, allocations: 4 kB / 0.7601 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009607/0.6472, allocations: 3.163 MB / 0.7632 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009875/0.6482, allocations: 239.6 kB / 0.7635 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006458/0.6547, allocations: 3.684 MB / 0.7671 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.6567, allocations: 294.6 kB / 0.7673 GB, free: 272 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.6568, allocations: 51.98 kB / 0.7674 GB, free: 220 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.6568, allocations: 4 kB / 0.7674 GB, free: 216 kB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2232/0.88, allocations: 3.028 MB / 0.7703 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.8801, allocations: 4.062 kB / 0.7704 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.8901, allocations: 3.158 MB / 0.7734 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.8912, allocations: 231 kB / 0.7737 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005935/0.8972, allocations: 3.673 MB / 0.7772 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.8993, allocations: 283.4 kB / 0.7775 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.8995, allocations: 56.28 kB / 0.7776 GB, free: 131.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007976/0.9003, allocations: 389.8 kB / 0.7779 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.9005, allocations: 193.5 kB / 0.7781 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/0.9158, allocations: 6.054 MB / 0.784 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.9158, allocations: 18.91 kB / 0.7841 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.9158, allocations: 2.969 kB / 0.7841 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.9158, allocations: 6.75 kB / 0.7841 GB, free: 130.9 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.01766/0.9335, allocations: 8.334 MB / 0.7922 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.9335, allocations: 0 / 0.7922 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009712/0.9345, allocations: 189.4 kB / 0.7924 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007069/0.9416, allocations: 2.508 MB / 0.7948 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.9418, allocations: 33.56 kB / 0.7949 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02344/0.9652, allocations: 10.88 MB / 0.8055 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9653, allocations: 1.062 kB / 0.8055 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01967/0.9849, allocations: 7.447 MB / 0.8128 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007451/0.9857, allocations: 296 kB / 0.813 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.986, allocations: 28.34 kB / 0.8131 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.9877, allocations: 211.2 kB / 0.8133 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008743/0.9885, allocations: 285.1 kB / 0.8135 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.9887, allocations: 37.3 kB / 0.8136 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001489/0.9902, allocations: 1.033 MB / 0.8146 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9902, allocations: 0 / 0.8146 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001941/0.9921, allocations: 0.859 MB / 0.8154 GB, free: 125.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * 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.0003723/0.9925, allocations: 199.6 kB / 0.8156 GB, free: 125 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01427/1.007, allocations: 5.222 MB / 0.8207 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/1.007, allocations: 0 / 0.8207 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006297/1.013, allocations: 2.286 MB / 0.823 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/1.014, allocations: 151 kB / 0.8231 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/1.02, allocations: 4.101 MB / 0.8271 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/1.02, allocations: 1.331 MB / 0.8284 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007879/1.021, allocations: 173.1 kB / 0.8286 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/1.022, allocations: 96.41 kB / 0.8287 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/1.022, allocations: 0 / 0.8287 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.0389/1.06, allocations: 33.18 MB / 0.8611 GB, free: 110.2 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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_ES_ESAC1A -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.o OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.c In file included from OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.c:7: In file included from ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A_model.h:24: ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A_functions.h:169: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.ES.ESAC1A.o] Error 1