Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005606/0.005606, allocations: 173.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 221.3 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000861/0.0008611, allocations: 102.8 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07803/0.07803, allocations: 12.59 MB / 330.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.446/0.446, allocations: 78.51 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005199/0.0005199, allocations: 23.16 kB / 0.5285 GB, free: 35.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1513, allocations: 69.34 MB / 0.5962 GB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5507/0.702, allocations: 114.2 MB / 0.7077 GB, free: 32.55 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.7024, allocations: 91.39 kB / 0.7078 GB, free: 32.55 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1188/0.8212, allocations: 46.78 MB / 0.7535 GB, free: 22 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.8213, allocations: 0 / 0.7535 GB, free: 22 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000218/0.8215, allocations: 35.06 kB / 0.7535 GB, free: 22 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.009243/0.8307, allocations: 2.77 MB / 0.7562 GB, free: 20.47 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.8308, allocations: 11.77 kB / 0.7563 GB, free: 20.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/0.8343, allocations: 0.6904 MB / 0.7569 GB, free: 20.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.8363, allocations: 1.115 MB / 0.758 GB, free: 19.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004639/0.8368, allocations: 0.5071 MB / 0.7585 GB, free: 19.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.837, allocations: 121.9 kB / 0.7586 GB, free: 19.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00313/0.8402, allocations: 1.787 MB / 0.7604 GB, free: 18.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.8402, allocations: 0 / 0.7604 GB, free: 18.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.8404, allocations: 47.38 kB / 0.7604 GB, free: 18.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.8404, allocations: 27.12 kB / 0.7604 GB, free: 18.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/0.8435, allocations: 1.668 MB / 0.7621 GB, free: 18.38 MB / 474.7 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.008519/0.852, allocations: 5.948 MB / 0.7679 GB, free: 15.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009317/0.8614, allocations: 4.094 MB / 0.7719 GB, free: 13.76 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.8615, allocations: 23.97 kB / 0.7719 GB, free: 13.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.8616, allocations: 50.66 kB / 0.772 GB, free: 13.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=136): time 3.566e-06/0.8616, allocations: 7.938 kB / 0.772 GB, free: 13.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=136): time 0.04129/0.9029, allocations: 12.63 MB / 0.7843 GB, free: 5.559 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/0.903, allocations: 205 kB / 0.7845 GB, free: 5.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/0.9059, allocations: 1.233 MB / 0.7857 GB, free: 4.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005872/0.9065, allocations: 47.52 kB / 0.7857 GB, free: 4.375 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006946/0.9072, allocations: 0.7079 MB / 0.7864 GB, free: 4.004 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000998/0.9082, allocations: 487.6 kB / 0.7869 GB, free: 3.598 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.9085, allocations: 29 kB / 0.7869 GB, free: 3.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.9087, allocations: 357.7 kB / 0.7873 GB, free: 3.258 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/0.911, allocations: 0.9929 MB / 0.7882 GB, free: 2.555 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.9133, allocations: 1.216 MB / 0.7894 GB, free: 1.586 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/0.9156, allocations: 1.053 MB / 0.7905 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.9156, allocations: 0 / 0.7905 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.008333/0.9239, allocations: 3.416 MB / 0.7938 GB, free: 14.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007566/0.9247, allocations: 1.726 MB / 0.7955 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.9248, allocations: 4 kB / 0.7955 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0139/0.9387, allocations: 4.025 MB / 0.7994 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/0.9397, allocations: 183.1 kB / 0.7996 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009093/0.9488, allocations: 3.803 MB / 0.8033 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/0.9514, allocations: 298.4 kB / 0.8036 GB, free: 4.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/0.9517, allocations: 55.97 kB / 0.8036 GB, free: 4.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.9517, allocations: 7.938 kB / 0.8036 GB, free: 4.922 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007378/0.9591, allocations: 3.096 MB / 0.8067 GB, free: 1.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.9592, allocations: 4 kB / 0.8067 GB, free: 1.816 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01338/0.9726, allocations: 3.922 MB / 0.8105 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009783/0.9736, allocations: 175.8 kB / 0.8107 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009029/0.9826, allocations: 3.627 MB / 0.8142 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/0.9854, allocations: 266.8 kB / 0.8145 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000329/0.9857, allocations: 47.98 kB / 0.8145 GB, free: 9.758 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (eSST4B.VM1.local_reset,eSST4B.VR1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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 {35 58} Notification: Performance of prepare postOptimizeDAE: time 0.001232/0.987, allocations: 372.9 kB / 0.8149 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007922/0.9878, allocations: 177.8 kB / 0.815 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0193/1.007, allocations: 6.267 MB / 0.8212 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.636e-05/1.007, allocations: 15.98 kB / 0.8212 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.583e-05/1.007, allocations: 7.953 kB / 0.8212 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.197e-05/1.007, allocations: 3.984 kB / 0.8212 GB, free: 2.883 MB / 0.4948 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.02471/1.032, allocations: 8.523 MB / 0.8295 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.032, allocations: 0 / 0.8295 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/1.033, allocations: 187.8 kB / 0.8297 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007862/1.041, allocations: 2.604 MB / 0.8322 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002271/1.041, allocations: 27.98 kB / 0.8323 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02981/1.071, allocations: 12.71 MB / 0.8447 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.071, allocations: 80 / 0.8447 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02347/1.095, allocations: 7.649 MB / 0.8521 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009505/1.096, allocations: 290.4 kB / 0.8524 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007421/1.097, allocations: 28 kB / 0.8524 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/1.099, allocations: 207.8 kB / 0.8526 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/1.1, allocations: 293.2 kB / 0.8529 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/1.1, allocations: 35.98 kB / 0.853 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00217/1.102, allocations: 0.9538 MB / 0.8539 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/1.102, allocations: 0 / 0.8539 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00393/1.106, allocations: 0.8462 MB / 0.8547 GB, free: 120 kB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSST4B.VA.state,eSST4B.VR1.y,eSST4B.VM1.y,eSST4B.TransducerDelay.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * 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.0006323/1.107, allocations: 167 kB / 0.8549 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01764/1.125, allocations: 5.361 MB / 0.8601 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.125, allocations: 0 / 0.8601 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007541/1.132, allocations: 2.443 MB / 0.8625 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/1.134, allocations: 141.6 kB / 0.8626 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009778/1.144, allocations: 4.166 MB / 0.8667 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/1.145, allocations: 1.319 MB / 0.868 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001012/1.146, allocations: 149.5 kB / 0.8681 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/1.147, allocations: 83.42 kB / 0.8682 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of SimCode: time 1.002e-06/1.147, allocations: 0 / 0.8682 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of Templates: time 0.06663/1.214, allocations: 35.47 MB / 0.9028 GB, free: 14.73 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B -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_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B_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_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.o] Error 1