Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1.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.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 183 kB / 16.12 MB, free: 5.691 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.705/1.705, allocations: 205.4 MB / 222.3 MB, free: 9.031 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.0007863/0.0007861, allocations: 96.97 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.3182/0.3182, allocations: 42.29 MB / 361.2 MB, free: 49.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004562, allocations: 12 kB / 429.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1326, allocations: 57.55 MB / 487 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4189/0.5516, allocations: 111.3 MB / 0.5843 GB, free: 12.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.552, allocations: 95.94 kB / 0.5844 GB, free: 12.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1494/0.7014, allocations: 51.58 MB / 0.6347 GB, free: 8.516 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.7015, allocations: 0 / 0.6347 GB, free: 8.516 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002686/0.7017, allocations: 47.94 kB / 0.6348 GB, free: 8.469 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.01007/0.7118, allocations: 2.964 MB / 0.6377 GB, free: 5.445 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.7119, allocations: 8.031 kB / 0.6377 GB, free: 5.438 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00373/0.7156, allocations: 0.6269 MB / 0.6383 GB, free: 4.809 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004095/0.7197, allocations: 1.365 MB / 0.6396 GB, free: 3.395 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007276/0.7205, allocations: 0.5915 MB / 0.6402 GB, free: 2.703 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006155/0.7211, allocations: 147.8 kB / 0.6404 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004756/0.7259, allocations: 1.883 MB / 0.6422 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.726, allocations: 0 / 0.6422 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/0.7262, allocations: 52 kB / 0.6422 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.7262, allocations: 36 kB / 0.6423 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004334/0.7306, allocations: 1.739 MB / 0.644 GB, free: 14.79 MB / 474.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.01322/0.7438, allocations: 6.296 MB / 0.6501 GB, free: 8.273 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009572/0.7534, allocations: 3.889 MB / 0.6539 GB, free: 4.246 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00264/0.7561, allocations: 1.158 MB / 0.6551 GB, free: 3.082 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/0.7568, allocations: 0.7378 MB / 0.6558 GB, free: 2.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002893/0.7597, allocations: 1.333 MB / 0.6571 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of pre-optimization done (n=159): time 4.339e-06/0.7597, allocations: 0 / 0.6571 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of matching and sorting (n=159): time 0.04299/0.8027, allocations: 12.29 MB / 0.6691 GB, free: 4.484 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.8028, allocations: 149.9 kB / 0.6692 GB, free: 4.309 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003659/0.8065, allocations: 1.69 MB / 0.6709 GB, free: 2.574 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005225/0.8071, allocations: 57.7 kB / 0.6709 GB, free: 2.512 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007647/0.8078, allocations: 0.8176 MB / 0.6717 GB, free: 1.688 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009985/0.8088, allocations: 0.5544 MB / 0.6723 GB, free: 1.125 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002959/0.8092, allocations: 36 kB / 0.6723 GB, free: 1.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.8094, allocations: 369.9 kB / 0.6727 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2601/1.069, allocations: 1.014 MB / 0.6736 GB, free: 108.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003251/1.073, allocations: 1.236 MB / 0.6749 GB, free: 108.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005046/1.078, allocations: 2.257 MB / 0.6771 GB, free: 108.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/1.078, allocations: 0 / 0.6771 GB, free: 108.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007587/1.085, allocations: 3.315 MB / 0.6803 GB, free: 108.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.086, allocations: 229.1 kB / 0.6805 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/1.086, allocations: 5.219 kB / 0.6805 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008879/1.095, allocations: 3.008 MB / 0.6835 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.096, allocations: 306 kB / 0.6837 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006242/1.102, allocations: 3.014 MB / 0.6867 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/1.105, allocations: 309.5 kB / 0.687 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/1.105, allocations: 66.09 kB / 0.687 GB, free: 107.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/1.105, allocations: 3.25 kB / 0.687 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006706/1.112, allocations: 3.078 MB / 0.6901 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/1.112, allocations: 6.906 kB / 0.6901 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008466/1.121, allocations: 3.011 MB / 0.693 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.122, allocations: 298.2 kB / 0.6933 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006208/1.128, allocations: 3.013 MB / 0.6962 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/1.131, allocations: 295.4 kB / 0.6965 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003311/1.131, allocations: 61.77 kB / 0.6966 GB, free: 106.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.001273/1.133, allocations: 425.8 kB / 0.697 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007126/1.133, allocations: 209.4 kB / 0.6972 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01725/1.151, allocations: 6.237 MB / 0.7033 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-05/1.151, allocations: 18.5 kB / 0.7033 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/1.151, allocations: 2.875 kB / 0.7033 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.381e-05/1.151, allocations: 8.094 kB / 0.7033 GB, free: 105.9 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.02383/1.175, allocations: 8.683 MB / 0.7118 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.175, allocations: 1.219 kB / 0.7118 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/1.176, allocations: 235.5 kB / 0.712 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008649/1.185, allocations: 2.495 MB / 0.7144 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004356/1.185, allocations: 42.58 kB / 0.7145 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02548/1.211, allocations: 10.31 MB / 0.7245 GB, free: 99.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.211, allocations: 3.906 kB / 0.7245 GB, free: 99.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/1.231, allocations: 7.639 MB / 0.732 GB, free: 97.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.232, allocations: 326.3 kB / 0.7323 GB, free: 96.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007824/1.233, allocations: 31.66 kB / 0.7323 GB, free: 96.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002395/1.235, allocations: 212.1 kB / 0.7325 GB, free: 96.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/1.237, allocations: 289.6 kB / 0.7328 GB, free: 96.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000255/1.237, allocations: 46.95 kB / 0.7329 GB, free: 96.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00237/1.239, allocations: 1.158 MB / 0.734 GB, free: 96.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.239, allocations: 3.844 kB / 0.734 GB, free: 96.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003419/1.243, allocations: 0.9303 MB / 0.7349 GB, free: 96.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * 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 (116): * Single equations (assignments): 115 * 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.0005977/1.243, allocations: 209.1 kB / 0.7351 GB, free: 96.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01582/1.259, allocations: 5.466 MB / 0.7405 GB, free: 94.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.259, allocations: 3.625 kB / 0.7405 GB, free: 94.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006521/1.266, allocations: 2.357 MB / 0.7428 GB, free: 93.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/1.269, allocations: 199.4 kB / 0.7429 GB, free: 93.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009216/1.278, allocations: 4.583 MB / 0.7474 GB, free: 91.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.279, allocations: 1.393 MB / 0.7488 GB, free: 90.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00123/1.28, allocations: 193.8 kB / 0.749 GB, free: 90.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/1.281, allocations: 111.2 kB / 0.7491 GB, free: 90.38 MB / 490.7 MB Notification: Performance of SimCode: time 8.82e-07/1.281, allocations: 0 / 0.7491 GB, free: 90.38 MB / 490.7 MB Notification: Performance of Templates: time 0.05401/1.335, allocations: 33.33 MB / 0.7816 GB, free: 69.36 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1.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_IEEEG1 -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_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1_functions.h:155: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.IEEEG1.o] Error 1