Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001446/0.001446, allocations: 170.1 kB / 16.11 MB, free: 5.582 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.592/1.592, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0008381/0.0008381, allocations: 90.36 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3008/0.3008, allocations: 42.29 MB / 361.2 MB, free: 49.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007202/0.0007203, allocations: 16 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1594, allocations: 57.55 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/0.6573, allocations: 109.1 MB / 0.5821 GB, free: 14.67 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004914/0.6579, allocations: 91.94 kB / 0.5822 GB, free: 14.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2008/0.8586, allocations: 46.43 MB / 0.6275 GB, free: 15.92 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.8587, allocations: 6.25 kB / 0.6275 GB, free: 15.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001603/0.8589, allocations: 32 kB / 0.6276 GB, free: 15.88 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.01224/0.8711, allocations: 2.715 MB / 0.6302 GB, free: 13.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.8712, allocations: 8.031 kB / 0.6302 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/0.8764, allocations: 0.5882 MB / 0.6308 GB, free: 12.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/0.8816, allocations: 1.198 MB / 0.632 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009653/0.8826, allocations: 0.5005 MB / 0.6325 GB, free: 10.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005781/0.8832, allocations: 131.9 kB / 0.6326 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006453/0.8897, allocations: 1.767 MB / 0.6343 GB, free: 8.715 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/0.8898, allocations: 4 kB / 0.6343 GB, free: 8.711 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/0.89, allocations: 44 kB / 0.6344 GB, free: 8.668 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.8901, allocations: 32 kB / 0.6344 GB, free: 8.637 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005944/0.896, allocations: 1.617 MB / 0.636 GB, free: 7.012 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.01782/0.9139, allocations: 5.911 MB / 0.6417 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/0.9284, allocations: 3.659 MB / 0.6453 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003964/0.9325, allocations: 1.081 MB / 0.6464 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/0.9327, allocations: 25.28 kB / 0.6464 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00433/0.9371, allocations: 1.249 MB / 0.6476 GB, free: 10.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 4.588e-06/0.9371, allocations: 0 / 0.6476 GB, free: 10.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.08031/1.017, allocations: 14.86 MB / 0.6621 GB, free: 11.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/1.018, allocations: 197.2 kB / 0.6623 GB, free: 11.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005243/1.023, allocations: 1.5 MB / 0.6638 GB, free: 9.945 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006812/1.024, allocations: 53.7 kB / 0.6638 GB, free: 9.887 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/1.025, allocations: 0.7391 MB / 0.6645 GB, free: 9.141 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001891/1.027, allocations: 0.5083 MB / 0.665 GB, free: 8.625 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007159/1.028, allocations: 35.94 kB / 0.6651 GB, free: 8.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004453/1.028, allocations: 369.9 kB / 0.6654 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004403/1.033, allocations: 0.9644 MB / 0.6664 GB, free: 7.258 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003941/1.036, allocations: 1.192 MB / 0.6675 GB, free: 6.004 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006793/1.043, allocations: 2.18 MB / 0.6697 GB, free: 3.762 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/1.043, allocations: 0 / 0.6697 GB, free: 3.762 MB / 490.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01443/1.058, allocations: 3.487 MB / 0.6731 GB, free: 256 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3029/1.361, allocations: 262.6 kB / 0.6733 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.733e-05/1.361, allocations: 5.156 kB / 0.6733 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/1.373, allocations: 3.074 MB / 0.6763 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/1.374, allocations: 202 kB / 0.6765 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/1.384, allocations: 5.338 MB / 0.6817 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/1.387, allocations: 218.2 kB / 0.6819 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/1.387, allocations: 59.28 kB / 0.682 GB, free: 110.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/1.387, allocations: 5.656 kB / 0.682 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006889/1.394, allocations: 3.201 MB / 0.6851 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.394, allocations: 3.094 kB / 0.6851 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009046/1.403, allocations: 3.05 MB / 0.6881 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009023/1.404, allocations: 202.8 kB / 0.6883 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008948/1.413, allocations: 5.336 MB / 0.6935 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/1.415, allocations: 208.8 kB / 0.6937 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/1.416, allocations: 61.48 kB / 0.6938 GB, free: 108.2 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.0008494/1.416, allocations: 404.1 kB / 0.6942 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/1.417, allocations: 185.1 kB / 0.6943 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/1.433, allocations: 6.234 MB / 0.7004 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/1.433, allocations: 13.19 kB / 0.7004 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.433, allocations: 3.406 kB / 0.7004 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/1.433, allocations: 5.906 kB / 0.7004 GB, free: 107.7 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.02021/1.453, allocations: 8.589 MB / 0.7088 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/1.453, allocations: 3.375 kB / 0.7088 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.454, allocations: 175.7 kB / 0.709 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008144/1.463, allocations: 2.642 MB / 0.7116 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003622/1.463, allocations: 37.06 kB / 0.7116 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02784/1.491, allocations: 12.4 MB / 0.7237 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.491, allocations: 1.031 kB / 0.7237 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/1.51, allocations: 7.622 MB / 0.7312 GB, free: 98.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000771/1.511, allocations: 280.4 kB / 0.7314 GB, free: 98.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/1.511, allocations: 29.81 kB / 0.7315 GB, free: 98.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.513, allocations: 205.9 kB / 0.7317 GB, free: 98.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/1.514, allocations: 303.3 kB / 0.7319 GB, free: 98.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.514, allocations: 45.5 kB / 0.732 GB, free: 98.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001548/1.516, allocations: 1.013 MB / 0.733 GB, free: 97.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.516, allocations: 1.219 kB / 0.733 GB, free: 97.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002259/1.518, allocations: 0.7827 MB / 0.7337 GB, free: 97.59 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.0004162/1.518, allocations: 191.1 kB / 0.7339 GB, free: 97.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01451/1.533, allocations: 5.733 MB / 0.7395 GB, free: 95.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/1.533, allocations: 3.438 kB / 0.7395 GB, free: 95.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006472/1.539, allocations: 2.455 MB / 0.7419 GB, free: 94.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/1.541, allocations: 175.5 kB / 0.7421 GB, free: 94.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006306/1.548, allocations: 4.111 MB / 0.7461 GB, free: 92.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/1.549, allocations: 1.337 MB / 0.7474 GB, free: 91.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007965/1.549, allocations: 160.8 kB / 0.7476 GB, free: 91.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/1.55, allocations: 94.86 kB / 0.7477 GB, free: 91.64 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/1.55, allocations: 3.75 kB / 0.7477 GB, free: 91.64 MB / 490.7 MB Notification: Performance of Templates: time 0.05035/1.6, allocations: 34.49 MB / 0.7813 GB, free: 69.59 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV.makefile make -j1 -f OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV_model.h:26: ./OpenIPSL_release_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_release_OpenIPSL.Examples.Controls.PSSE.TG.HYGOV.o] Error 1