Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005416/0.005416, allocations: 169.8 kB / 15.11 MB, free: 5.977 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.252/1.252, allocations: 223.2 MB / 239 MB, free: 88 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.0008392/0.0008388, allocations: 95.97 kB / 290.2 MB, free: 4.422 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4445/0.4445, allocations: 79.44 MB / 420.8 MB, free: 36.26 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 16 kB / 0.4891 GB, free: 6.402 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 69.51 MB / 0.5569 GB, free: 0.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3611/0.5021, allocations: 112.4 MB / 0.6667 GB, free: 4.871 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.5024, allocations: 91.94 kB / 0.6668 GB, free: 4.781 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1273/0.6296, allocations: 50.8 MB / 0.7164 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6297, allocations: 0 / 0.7164 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002662/0.63, allocations: 47.94 kB / 0.7164 GB, free: 1.941 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.009223/0.6392, allocations: 3.082 MB / 0.7195 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.6392, allocations: 8.031 kB / 0.7195 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/0.6439, allocations: 0.8013 MB / 0.7202 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/0.6472, allocations: 1.441 MB / 0.7217 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004761/0.6477, allocations: 473.5 kB / 0.7221 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004404/0.6481, allocations: 152 kB / 0.7222 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004391/0.6525, allocations: 2.134 MB / 0.7243 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.6526, allocations: 3.938 kB / 0.7243 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/0.6528, allocations: 63.94 kB / 0.7244 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.6528, allocations: 36 kB / 0.7244 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003996/0.6568, allocations: 1.943 MB / 0.7263 GB, free: 7.547 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.01329/0.6701, allocations: 7.527 MB / 0.7337 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009297/0.6794, allocations: 4.003 MB / 0.7376 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.6796, allocations: 37.19 kB / 0.7376 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002709/0.6823, allocations: 1.4 MB / 0.739 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=163): time 3.476e-06/0.6823, allocations: 4 kB / 0.739 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=163): time 0.04489/0.7272, allocations: 12.82 MB / 0.7515 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.7274, allocations: 300 kB / 0.7518 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004687/0.7321, allocations: 1.577 MB / 0.7533 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000583/0.7328, allocations: 57.7 kB / 0.7534 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.7338, allocations: 0.8838 MB / 0.7543 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001162/0.735, allocations: 0.5621 MB / 0.7548 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003846/0.7354, allocations: 36 kB / 0.7548 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000299/0.7357, allocations: 378 kB / 0.7552 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002707/0.7385, allocations: 1.093 MB / 0.7563 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/0.7412, allocations: 1.406 MB / 0.7576 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002576/0.7438, allocations: 1.181 MB / 0.7588 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.7438, allocations: 4 kB / 0.7588 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01043/0.7543, allocations: 4.378 MB / 0.7631 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000982/0.7553, allocations: 2.483 MB / 0.7655 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.7553, allocations: 11.98 kB / 0.7655 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01269/0.768, allocations: 4.156 MB / 0.7696 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008881/0.7689, allocations: 211.7 kB / 0.7698 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.7801, allocations: 6.601 MB / 0.7762 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/0.7832, allocations: 338.6 kB / 0.7765 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/0.7834, allocations: 67.98 kB / 0.7766 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.7834, allocations: 4 kB / 0.7766 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007514/0.791, allocations: 3.579 MB / 0.7801 GB, free: 15.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.791, allocations: 8.672 kB / 0.7801 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01208/0.8031, allocations: 3.895 MB / 0.7839 GB, free: 11.49 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/0.804, allocations: 203.7 kB / 0.7841 GB, free: 11.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.8168, allocations: 9.647 MB / 0.7935 GB, free: 1.078 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/0.8194, allocations: 278.6 kB / 0.7938 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/0.8197, allocations: 67.98 kB / 0.7939 GB, free: 0.7383 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.00134/0.8211, allocations: 449 kB / 0.7943 GB, free: 296 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000815/0.8219, allocations: 221.3 kB / 0.7945 GB, free: 72 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2727/1.095, allocations: 6.364 MB / 0.8007 GB, free: 136.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/1.095, allocations: 20.66 kB / 0.8007 GB, free: 136.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/1.095, allocations: 2.094 kB / 0.8007 GB, free: 136.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.674e-05/1.095, allocations: 10.03 kB / 0.8007 GB, free: 136.9 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.02111/1.116, allocations: 8.995 MB / 0.8095 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.116, allocations: 2.906 kB / 0.8095 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/1.117, allocations: 250.4 kB / 0.8098 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007685/1.125, allocations: 2.512 MB / 0.8122 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003811/1.125, allocations: 36.36 kB / 0.8123 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02455/1.15, allocations: 10.88 MB / 0.8229 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.15, allocations: 1.719 kB / 0.8229 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01945/1.169, allocations: 7.876 MB / 0.8306 GB, free: 133.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008843/1.17, allocations: 342.3 kB / 0.8309 GB, free: 133.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/1.171, allocations: 35.8 kB / 0.8309 GB, free: 133.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.172, allocations: 232.2 kB / 0.8312 GB, free: 133.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007893/1.173, allocations: 281.1 kB / 0.8314 GB, free: 133.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.173, allocations: 48.31 kB / 0.8315 GB, free: 133.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001748/1.175, allocations: 1.213 MB / 0.8327 GB, free: 133.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-07/1.175, allocations: 0 / 0.8327 GB, free: 133.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002406/1.178, allocations: 0.9913 MB / 0.8336 GB, free: 133.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * 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 (120): * Single equations (assignments): 119 * 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.0003551/1.178, allocations: 195.1 kB / 0.8338 GB, free: 133.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01738/1.195, allocations: 6.576 MB / 0.8402 GB, free: 132.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.195, allocations: 0 / 0.8402 GB, free: 132.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006814/1.202, allocations: 2.423 MB / 0.8426 GB, free: 132.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/1.204, allocations: 197.1 kB / 0.8428 GB, free: 132.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006945/1.211, allocations: 4.855 MB / 0.8475 GB, free: 129.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009779/1.212, allocations: 1.474 MB / 0.849 GB, free: 129 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009033/1.213, allocations: 187.5 kB / 0.8492 GB, free: 128.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/1.213, allocations: 110.1 kB / 0.8493 GB, free: 128.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/1.213, allocations: 0 / 0.8493 GB, free: 128.9 MB / 0.573 GB Notification: Performance of Templates: time 0.05062/1.264, allocations: 40.55 MB / 0.8889 GB, free: 122.7 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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_ST5B -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B_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.ST5B.o] Error 1