Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.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.URST5T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.URST5T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00437/0.00437, allocations: 169.2 kB / 15.11 MB, free: 5.973 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.362/1.362, 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.0008407/0.0008407, allocations: 101.1 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4514/0.4514, allocations: 79.44 MB / 420.8 MB, free: 43.7 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003582, allocations: 8 kB / 0.489 GB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3693, allocations: 69.51 MB / 0.5569 GB, free: 39 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.5041, allocations: 111.7 MB / 0.666 GB, free: 9.875 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5044, allocations: 94.83 kB / 0.6661 GB, free: 9.785 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.117/0.6215, allocations: 44.06 MB / 0.7091 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6215, allocations: 4 kB / 0.7091 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000184/0.6217, allocations: 32 kB / 0.7091 GB, free: 13.46 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.008957/0.6307, allocations: 2.654 MB / 0.7117 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.6307, allocations: 8.031 kB / 0.7117 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/0.635, allocations: 0.7078 MB / 0.7124 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002966/0.638, allocations: 1.133 MB / 0.7135 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005202/0.6385, allocations: 441 kB / 0.7139 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004483/0.639, allocations: 128 kB / 0.7141 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/0.643, allocations: 1.719 MB / 0.7157 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.643, allocations: 0 / 0.7157 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.6432, allocations: 48 kB / 0.7158 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.6432, allocations: 28 kB / 0.7158 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/0.6467, allocations: 1.609 MB / 0.7174 GB, free: 4.746 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.01252/0.6592, allocations: 5.777 MB / 0.723 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009321/0.6686, allocations: 3.576 MB / 0.7265 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.6689, allocations: 29.28 kB / 0.7265 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002809/0.6717, allocations: 1.224 MB / 0.7277 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=139): time 4.369e-06/0.6717, allocations: 8 kB / 0.7278 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.04216/0.7139, allocations: 11.77 MB / 0.7392 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.714, allocations: 205.3 kB / 0.7394 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/0.7166, allocations: 1.296 MB / 0.7407 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003796/0.717, allocations: 49.7 kB / 0.7408 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006008/0.7176, allocations: 0.6951 MB / 0.7414 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007389/0.7184, allocations: 496.8 kB / 0.7419 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.7186, allocations: 28 kB / 0.7419 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7188, allocations: 361.9 kB / 0.7423 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.7208, allocations: 0.9253 MB / 0.7432 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.723, allocations: 1.148 MB / 0.7443 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.7251, allocations: 0.9864 MB / 0.7453 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.7251, allocations: 0 / 0.7453 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.007094/0.7322, allocations: 3.275 MB / 0.7485 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007065/0.7329, allocations: 1.727 MB / 0.7502 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.733, allocations: 4 kB / 0.7502 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01185/0.7448, allocations: 3.821 MB / 0.7539 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.7456, allocations: 151.8 kB / 0.754 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008829/0.7545, allocations: 3.887 MB / 0.7578 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.7569, allocations: 278.6 kB / 0.7581 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/0.7572, allocations: 55.97 kB / 0.7581 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.7572, allocations: 7.953 kB / 0.7582 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00637/0.7636, allocations: 2.943 MB / 0.761 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.7637, allocations: 4 kB / 0.761 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/0.775, allocations: 3.703 MB / 0.7647 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007707/0.7758, allocations: 155.8 kB / 0.7648 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2905/1.066, allocations: 3.603 MB / 0.7683 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/1.069, allocations: 250.1 kB / 0.7686 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/1.069, allocations: 53.53 kB / 0.7686 GB, free: 134 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,uRST5T.LL2.integrator.local_reset,uRST5T.LL1.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 {36 62} Notification: Performance of prepare postOptimizeDAE: time 0.0008825/1.07, allocations: 383.5 kB / 0.769 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/1.07, allocations: 182 kB / 0.7691 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/1.087, allocations: 6.007 MB / 0.775 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/1.087, allocations: 14.81 kB / 0.775 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.087, allocations: 3.953 kB / 0.775 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.425e-05/1.087, allocations: 6.656 kB / 0.775 GB, free: 133.7 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.01897/1.106, allocations: 8.32 MB / 0.7832 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.106, allocations: 3.422 kB / 0.7832 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009914/1.107, allocations: 184 kB / 0.7833 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007062/1.114, allocations: 2.504 MB / 0.7858 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/1.115, allocations: 30.98 kB / 0.7858 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02355/1.138, allocations: 10.89 MB / 0.7964 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.138, allocations: 7.328 kB / 0.7965 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/1.157, allocations: 7.351 MB / 0.8036 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007168/1.158, allocations: 297.2 kB / 0.8039 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/1.158, allocations: 29.92 kB / 0.8039 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.16, allocations: 187.4 kB / 0.8041 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000833/1.161, allocations: 267.4 kB / 0.8044 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.161, allocations: 41.03 kB / 0.8044 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001504/1.162, allocations: 1.001 MB / 0.8054 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.162, allocations: 0 / 0.8054 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00224/1.164, allocations: 0.8317 MB / 0.8062 GB, free: 129.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,uRST5T.LL1.integrator.y,uRST5T.LL2.integrator.y,uRST5T.simpleLagLimVar.state,uRST5T.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * 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.0003678/1.165, allocations: 192.3 kB / 0.8064 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0154/1.18, allocations: 5.29 MB / 0.8116 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.18, allocations: 4.25 kB / 0.8116 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005952/1.186, allocations: 2.254 MB / 0.8138 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/1.188, allocations: 148.3 kB / 0.8139 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/1.193, allocations: 3.977 MB / 0.8178 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007905/1.194, allocations: 1.315 MB / 0.8191 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007485/1.195, allocations: 145.2 kB / 0.8192 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/1.195, allocations: 87.47 kB / 0.8193 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.012e-06/1.195, allocations: 3.188 kB / 0.8193 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.04606/1.241, allocations: 34.32 MB / 0.8528 GB, free: 118.1 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.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_URST5T -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_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T_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.URST5T.o] Error 1