Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.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.ES.ESST1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004509/0.004509, allocations: 172 kB / 15.11 MB, free: 5.98 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.242/1.242, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008752, allocations: 102.4 kB / 290.2 MB, free: 4.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4554/0.4554, allocations: 79.43 MB / 420.8 MB, free: 36.29 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 12 kB / 0.4891 GB, free: 6.395 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 69.51 MB / 0.5569 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3652/0.4843, allocations: 114.4 MB / 0.6686 GB, free: 2.906 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.4847, allocations: 91.95 kB / 0.6687 GB, free: 2.816 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1217/0.6064, allocations: 46.17 MB / 0.7138 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6064, allocations: 4 kB / 0.7138 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001008/0.6065, allocations: 36 kB / 0.7138 GB, free: 4.586 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.007654/0.6142, allocations: 2.813 MB / 0.7166 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.6142, allocations: 11.22 kB / 0.7166 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004318/0.6186, allocations: 0.7623 MB / 0.7173 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/0.6213, allocations: 1.29 MB / 0.7186 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004878/0.6218, allocations: 0.4887 MB / 0.7191 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.6221, allocations: 123.9 kB / 0.7192 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/0.6256, allocations: 1.738 MB / 0.7209 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.6256, allocations: 0 / 0.7209 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.6257, allocations: 48 kB / 0.7209 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.6258, allocations: 28 kB / 0.721 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003651/0.6294, allocations: 1.676 MB / 0.7226 GB, free: 11.37 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.01136/0.6408, allocations: 5.647 MB / 0.7281 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009872/0.6507, allocations: 3.802 MB / 0.7318 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.6509, allocations: 29.23 kB / 0.7318 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002601/0.6536, allocations: 1.27 MB / 0.7331 GB, free: 256 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=143): time 3.216e-06/0.6536, allocations: 4 kB / 0.7331 GB, free: 252 kB / 0.5105 GB Notification: Performance of matching and sorting (n=143): time 0.04887/0.7024, allocations: 12.97 MB / 0.7458 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.7026, allocations: 167.5 kB / 0.7459 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/0.7056, allocations: 1.494 MB / 0.7474 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004079/0.706, allocations: 49.7 kB / 0.7474 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006156/0.7066, allocations: 0.7348 MB / 0.7481 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005878/0.7072, allocations: 0.4928 MB / 0.7486 GB, free: 224 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.7073, allocations: 32 kB / 0.7487 GB, free: 192 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.7075, allocations: 365.8 kB / 0.749 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.7097, allocations: 0.9761 MB / 0.75 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.712, allocations: 1.172 MB / 0.7511 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/0.7143, allocations: 1.041 MB / 0.7521 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7143, allocations: 0 / 0.7521 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.007516/0.7218, allocations: 3.369 MB / 0.7554 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006098/0.7225, allocations: 1.372 MB / 0.7567 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.7225, allocations: 0 / 0.7567 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/0.7342, allocations: 3.655 MB / 0.7603 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009536/0.7352, allocations: 183.7 kB / 0.7605 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00835/0.7435, allocations: 3.781 MB / 0.7642 GB, free: 80 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.7461, allocations: 316.4 kB / 0.7645 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.7463, allocations: 51.98 kB / 0.7645 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7463, allocations: 4.938 kB / 0.7645 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006389/0.7527, allocations: 3.022 MB / 0.7675 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.7527, allocations: 4 kB / 0.7675 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01091/0.7636, allocations: 3.515 MB / 0.7709 GB, free: 9.168 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009936/0.7647, allocations: 187.7 kB / 0.7711 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007529/0.7722, allocations: 3.506 MB / 0.7745 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/0.7748, allocations: 286.6 kB / 0.7748 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.7749, allocations: 55.98 kB / 0.7749 GB, free: 5.117 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (99): * Single equations (assignments): 98 * 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 {34 61} Notification: Performance of prepare postOptimizeDAE: time 0.0008809/0.7758, allocations: 396.9 kB / 0.7752 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/0.7762, allocations: 189.7 kB / 0.7754 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01854/0.7948, allocations: 6.389 MB / 0.7817 GB, free: 14.11 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.7948, allocations: 12 kB / 0.7817 GB, free: 14.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7948, allocations: 4 kB / 0.7817 GB, free: 14.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.324e-05/0.7949, allocations: 11.97 kB / 0.7817 GB, free: 14.09 MB / 0.573 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.02116/0.816, allocations: 8.683 MB / 0.7902 GB, free: 5.273 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.8161, allocations: 0 / 0.7902 GB, free: 5.273 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009684/0.817, allocations: 171.8 kB / 0.7903 GB, free: 5.105 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008043/0.8251, allocations: 2.687 MB / 0.7929 GB, free: 2.406 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.8253, allocations: 35.98 kB / 0.793 GB, free: 2.371 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2671/1.092, allocations: 13.38 MB / 0.806 GB, free: 140 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.093, allocations: 0 / 0.806 GB, free: 140 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02266/1.115, allocations: 7.728 MB / 0.8136 GB, free: 139.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.117, allocations: 321.2 kB / 0.8139 GB, free: 139.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004923/1.117, allocations: 27.81 kB / 0.8139 GB, free: 139.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/1.119, allocations: 231.6 kB / 0.8141 GB, free: 139.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/1.12, allocations: 281.7 kB / 0.8144 GB, free: 139.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.12, allocations: 39.3 kB / 0.8144 GB, free: 139.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002001/1.122, allocations: 1.168 MB / 0.8156 GB, free: 139.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.21e-07/1.122, allocations: 0 / 0.8156 GB, free: 139.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002239/1.125, allocations: 0.8725 MB / 0.8164 GB, free: 139.3 MB / 0.573 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,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.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 (91): * Single equations (assignments): 89 * 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 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003784/1.125, allocations: 181 kB / 0.8166 GB, free: 139.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01486/1.14, allocations: 5.303 MB / 0.8218 GB, free: 139 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.954e-06/1.14, allocations: 3.906 kB / 0.8218 GB, free: 139 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006778/1.147, allocations: 2.445 MB / 0.8242 GB, free: 138.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/1.148, allocations: 158.5 kB / 0.8243 GB, free: 138.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005855/1.154, allocations: 4.169 MB / 0.8284 GB, free: 136.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/1.155, allocations: 1.375 MB / 0.8297 GB, free: 135.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007509/1.156, allocations: 175.6 kB / 0.8299 GB, free: 135.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/1.156, allocations: 92.56 kB / 0.83 GB, free: 135.7 MB / 0.573 GB Notification: Performance of SimCode: time 6.61e-07/1.156, allocations: 0 / 0.83 GB, free: 135.7 MB / 0.573 GB Notification: Performance of Templates: time 0.05705/1.213, allocations: 36.09 MB / 0.8652 GB, free: 133.9 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A_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_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.o] Error 1