Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004722/0.004722, allocations: 170.8 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.236/1.236, allocations: 223.2 MB / 239 MB, free: 64 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.0009345/0.0009343, allocations: 101.3 kB / 290.2 MB, free: 4.598 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4548/0.4548, allocations: 79.43 MB / 420.8 MB, free: 36.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.000382, allocations: 8 kB / 0.489 GB, free: 6.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1404, allocations: 69.51 MB / 0.5569 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3691/0.5095, allocations: 114.8 MB / 0.669 GB, free: 2.43 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.5098, allocations: 96.56 kB / 0.6691 GB, free: 2.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1228/0.6326, allocations: 45.66 MB / 0.7137 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6327, allocations: 0 / 0.7137 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001589/0.6328, allocations: 35.94 kB / 0.7137 GB, free: 4.633 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.007963/0.6408, allocations: 2.747 MB / 0.7164 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.6409, allocations: 12.03 kB / 0.7164 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004388/0.6452, allocations: 0.8053 MB / 0.7172 GB, free: 1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.6478, allocations: 1.2 MB / 0.7184 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000502/0.6483, allocations: 0.4966 MB / 0.7189 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/0.6486, allocations: 125.7 kB / 0.719 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003466/0.6521, allocations: 1.763 MB / 0.7207 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.6522, allocations: 3.938 kB / 0.7207 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.6523, allocations: 51.98 kB / 0.7208 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.6523, allocations: 36 kB / 0.7208 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.6557, allocations: 1.61 MB / 0.7224 GB, free: 11.52 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.01041/0.6661, allocations: 6.021 MB / 0.7282 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009139/0.6753, allocations: 3.658 MB / 0.7318 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.6755, allocations: 21.3 kB / 0.7318 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002677/0.6782, allocations: 1.245 MB / 0.733 GB, free: 160 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=142): time 4.067e-06/0.6782, allocations: 0 / 0.733 GB, free: 160 kB / 0.5105 GB Notification: Performance of matching and sorting (n=146): time 0.04785/0.726, allocations: 14.78 MB / 0.7475 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.7262, allocations: 209.3 kB / 0.7477 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.729, allocations: 1.386 MB / 0.749 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003392/0.7293, allocations: 53.7 kB / 0.7491 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006022/0.7299, allocations: 0.7344 MB / 0.7498 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007438/0.7307, allocations: 0.516 MB / 0.7503 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.7309, allocations: 31.38 kB / 0.7503 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.7311, allocations: 369.9 kB / 0.7507 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/0.7332, allocations: 0.9683 MB / 0.7516 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.7356, allocations: 1.189 MB / 0.7528 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/0.7378, allocations: 1.066 MB / 0.7538 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.7378, allocations: 0 / 0.7538 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007752/0.7456, allocations: 3.452 MB / 0.7572 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007768/0.7464, allocations: 1.851 MB / 0.759 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.7464, allocations: 14.53 kB / 0.759 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009724/0.7561, allocations: 3.085 MB / 0.762 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.7572, allocations: 199.7 kB / 0.7622 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007611/0.7648, allocations: 3.938 MB / 0.7661 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.7671, allocations: 223.9 kB / 0.7663 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/0.7674, allocations: 59.98 kB / 0.7663 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7674, allocations: 4 kB / 0.7664 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00694/0.7743, allocations: 3.203 MB / 0.7695 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.7744, allocations: 4 kB / 0.7695 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009328/0.7837, allocations: 3.046 MB / 0.7725 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009731/0.7847, allocations: 203.7 kB / 0.7727 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009895/0.7946, allocations: 5.364 MB / 0.7779 GB, free: 1.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.7971, allocations: 223.7 kB / 0.7781 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/0.7973, allocations: 55.98 kB / 0.7782 GB, free: 1.316 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 1 * 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,29 43} Notification: Performance of prepare postOptimizeDAE: time 0.000989/0.7983, allocations: 401.7 kB / 0.7785 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/0.7989, allocations: 181.8 kB / 0.7787 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01819/0.8172, allocations: 6.233 MB / 0.7848 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/0.8172, allocations: 15.98 kB / 0.7848 GB, free: 10.46 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.8172, allocations: 8 kB / 0.7848 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.844e-05/0.8173, allocations: 11.92 kB / 0.7848 GB, free: 10.44 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.02266/0.84, allocations: 8.634 MB / 0.7933 GB, free: 1.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.84, allocations: 0 / 0.7933 GB, free: 1.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.8411, allocations: 167.8 kB / 0.7934 GB, free: 1.496 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.252/1.093, allocations: 2.64 MB / 0.796 GB, free: 139.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003923/1.094, allocations: 34.97 kB / 0.796 GB, free: 139.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02842/1.122, allocations: 13.03 MB / 0.8088 GB, free: 137 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.122, allocations: 4.406 kB / 0.8088 GB, free: 137 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02168/1.144, allocations: 7.669 MB / 0.8163 GB, free: 136.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008549/1.145, allocations: 287.7 kB / 0.8165 GB, free: 136.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002781/1.145, allocations: 35.17 kB / 0.8166 GB, free: 136.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/1.147, allocations: 206 kB / 0.8168 GB, free: 136.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/1.148, allocations: 305.6 kB / 0.8171 GB, free: 136.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.148, allocations: 42.88 kB / 0.8171 GB, free: 136.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001693/1.15, allocations: 1.077 MB / 0.8181 GB, free: 136.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/1.15, allocations: 0 / 0.8181 GB, free: 136.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00206/1.152, allocations: 0.7832 MB / 0.8189 GB, free: 136.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,hYGOV.SimpleLag1.state,hYGOV.q.y,hYGOV.g.state,hYGOV.Position_Limiter.y,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (97): * 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: 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.0003747/1.152, allocations: 183.8 kB / 0.8191 GB, free: 136.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01499/1.167, allocations: 5.615 MB / 0.8246 GB, free: 136 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.167, allocations: 0 / 0.8246 GB, free: 136 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006282/1.174, allocations: 2.455 MB / 0.827 GB, free: 135.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/1.175, allocations: 150.4 kB / 0.8271 GB, free: 135.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006359/1.181, allocations: 4.157 MB / 0.8312 GB, free: 133.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009066/1.182, allocations: 1.37 MB / 0.8325 GB, free: 132.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008601/1.183, allocations: 157 kB / 0.8327 GB, free: 132.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/1.183, allocations: 96.48 kB / 0.8327 GB, free: 132.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.192e-06/1.183, allocations: 3 kB / 0.8328 GB, free: 132.7 MB / 0.573 GB Notification: Performance of Templates: time 0.05488/1.238, allocations: 34.82 MB / 0.8668 GB, free: 131 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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_TG_HYGOV -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV_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.TG.HYGOV.o] Error 1