Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Examples.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 175.8 kB / 16.12 MB, free: 5.699 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.656/1.656, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0008342/0.0008341, allocations: 88.55 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3223/0.3223, allocations: 42.28 MB / 361.2 MB, free: 49.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004863, allocations: 16 kB / 429.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1379, allocations: 57.55 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3924/0.5304, allocations: 109.1 MB / 0.5821 GB, free: 14.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.5308, allocations: 87.95 kB / 0.5822 GB, free: 14.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1331/0.6639, allocations: 46.44 MB / 0.6275 GB, free: 15.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.664, allocations: 6.188 kB / 0.6275 GB, free: 15.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002172/0.6642, allocations: 32 kB / 0.6276 GB, free: 15.87 MB / 458.7 MB 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.009722/0.6739, allocations: 2.715 MB / 0.6302 GB, free: 13.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.024e-05/0.674, allocations: 12.03 kB / 0.6302 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003763/0.6778, allocations: 0.5843 MB / 0.6308 GB, free: 12.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/0.681, allocations: 1.206 MB / 0.632 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000594/0.6817, allocations: 0.4927 MB / 0.6325 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003755/0.6821, allocations: 135.9 kB / 0.6326 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003809/0.6859, allocations: 1.771 MB / 0.6343 GB, free: 8.695 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.6859, allocations: 4 kB / 0.6343 GB, free: 8.691 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.6861, allocations: 48 kB / 0.6344 GB, free: 8.645 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.6862, allocations: 28 kB / 0.6344 GB, free: 8.617 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.6899, allocations: 1.617 MB / 0.636 GB, free: 6.992 MB / 458.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.01217/0.7021, allocations: 5.907 MB / 0.6417 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009255/0.7114, allocations: 3.659 MB / 0.6453 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/0.7142, allocations: 1.077 MB / 0.6464 GB, free: 11.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.7144, allocations: 29.22 kB / 0.6464 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002737/0.7172, allocations: 1.249 MB / 0.6476 GB, free: 10.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 4.328e-06/0.7172, allocations: 0 / 0.6476 GB, free: 10.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.04764/0.7649, allocations: 14.86 MB / 0.6621 GB, free: 11.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.765, allocations: 197.2 kB / 0.6623 GB, free: 11.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.7678, allocations: 1.5 MB / 0.6638 GB, free: 9.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004778/0.7683, allocations: 49.7 kB / 0.6638 GB, free: 9.875 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006351/0.769, allocations: 0.747 MB / 0.6646 GB, free: 9.121 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007099/0.7697, allocations: 0.5044 MB / 0.665 GB, free: 8.609 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.7698, allocations: 32 kB / 0.6651 GB, free: 8.578 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.77, allocations: 369.9 kB / 0.6654 GB, free: 8.211 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.7722, allocations: 0.9604 MB / 0.6664 GB, free: 7.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.7746, allocations: 1.196 MB / 0.6675 GB, free: 5.992 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004545/0.7792, allocations: 2.176 MB / 0.6697 GB, free: 3.754 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.7792, allocations: 0 / 0.6697 GB, free: 3.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007916/0.7872, allocations: 3.491 MB / 0.6731 GB, free: 244 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2497/1.037, allocations: 259.9 kB / 0.6733 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.419e-05/1.037, allocations: 2.656 kB / 0.6733 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/1.047, allocations: 3.08 MB / 0.6763 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.048, allocations: 202.5 kB / 0.6765 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.059, allocations: 5.334 MB / 0.6817 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/1.061, allocations: 219.1 kB / 0.6819 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/1.061, allocations: 57.77 kB / 0.682 GB, free: 110.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/1.061, allocations: 5.531 kB / 0.682 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006723/1.068, allocations: 3.203 MB / 0.6851 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/1.068, allocations: 7.531 kB / 0.6851 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00865/1.077, allocations: 3.042 MB / 0.6881 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000968/1.078, allocations: 205.8 kB / 0.6883 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009011/1.087, allocations: 5.331 MB / 0.6935 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/1.089, allocations: 214.1 kB / 0.6937 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/1.089, allocations: 60.2 kB / 0.6938 GB, free: 108.6 MB / 490.7 MB 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.000901/1.09, allocations: 403.3 kB / 0.6942 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/1.09, allocations: 186.1 kB / 0.6943 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/1.107, allocations: 6.236 MB / 0.7004 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.015e-05/1.107, allocations: 13.22 kB / 0.7004 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.107, allocations: 7.281 kB / 0.7004 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-05/1.107, allocations: 6.141 kB / 0.7004 GB, free: 108 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.02024/1.127, allocations: 8.585 MB / 0.7088 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/1.127, allocations: 1 kB / 0.7088 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.129, allocations: 169 kB / 0.709 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008157/1.137, allocations: 2.654 MB / 0.7116 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003535/1.137, allocations: 32.66 kB / 0.7116 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02819/1.165, allocations: 12.39 MB / 0.7237 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.165, allocations: 4.062 kB / 0.7237 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01922/1.185, allocations: 7.622 MB / 0.7312 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007903/1.185, allocations: 275.9 kB / 0.7314 GB, free: 98.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/1.186, allocations: 29.22 kB / 0.7315 GB, free: 98.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.187, allocations: 213.2 kB / 0.7317 GB, free: 98.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/1.188, allocations: 307.1 kB / 0.732 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.188, allocations: 42.05 kB / 0.732 GB, free: 98.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001449/1.19, allocations: 1.013 MB / 0.733 GB, free: 98.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.19, allocations: 0 / 0.733 GB, free: 98.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002258/1.192, allocations: 0.7848 MB / 0.7337 GB, free: 97.97 MB / 490.7 MB 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.0003791/1.193, allocations: 185.7 kB / 0.7339 GB, free: 97.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01417/1.207, allocations: 5.748 MB / 0.7395 GB, free: 96.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.207, allocations: 1.312 kB / 0.7395 GB, free: 96.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006227/1.213, allocations: 2.451 MB / 0.7419 GB, free: 95.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/1.215, allocations: 173.8 kB / 0.7421 GB, free: 95.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/1.221, allocations: 4.11 MB / 0.7461 GB, free: 92.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/1.222, allocations: 1.336 MB / 0.7474 GB, free: 92.06 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008111/1.223, allocations: 154.6 kB / 0.7476 GB, free: 92.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/1.223, allocations: 92.14 kB / 0.7477 GB, free: 92.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/1.223, allocations: 7.359 kB / 0.7477 GB, free: 92.02 MB / 490.7 MB Notification: Performance of Templates: time 0.04782/1.271, allocations: 34.5 MB / 0.7813 GB, free: 69.98 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_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_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV_functions.h:147: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_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV.o] Error 1