Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005765/0.005765, allocations: 172 kB / 15.11 MB, free: 5.969 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.267/1.267, allocations: 223.2 MB / 239 MB, free: 1.816 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009739/0.0009738, allocations: 93.83 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4435/0.4435, allocations: 79.43 MB / 420.8 MB, free: 43.7 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.0005017, allocations: 12 kB / 0.489 GB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3706, allocations: 69.49 MB / 0.5569 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.503, allocations: 117 MB / 0.6712 GB, free: 4.59 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.5033, allocations: 95.94 kB / 0.6712 GB, free: 4.496 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1381/0.6414, allocations: 51.68 MB / 0.7217 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.869e-06/0.6414, allocations: 3.984 kB / 0.7217 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001248/0.6416, allocations: 39.94 kB / 0.7218 GB, free: 0.5234 MB / 0.5105 GB 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.00995/0.6515, allocations: 3.003 MB / 0.7247 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.6516, allocations: 12.02 kB / 0.7247 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004647/0.6563, allocations: 0.7309 MB / 0.7254 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/0.6598, allocations: 1.335 MB / 0.7267 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005849/0.6604, allocations: 0.5877 MB / 0.7273 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.6607, allocations: 139.9 kB / 0.7274 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003819/0.6645, allocations: 1.875 MB / 0.7293 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.6646, allocations: 3.938 kB / 0.7293 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.6648, allocations: 52 kB / 0.7293 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.6648, allocations: 32 kB / 0.7293 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/0.6684, allocations: 1.739 MB / 0.731 GB, free: 6.746 MB / 0.5261 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.01134/0.6797, allocations: 6.349 MB / 0.7372 GB, free: 176 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009273/0.689, allocations: 3.883 MB / 0.741 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007157/0.6898, allocations: 0.7339 MB / 0.7417 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003104/0.6929, allocations: 1.33 MB / 0.743 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=159): time 4.218e-06/0.6929, allocations: 0 / 0.743 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of matching and sorting (n=159): time 0.04705/0.74, allocations: 12.22 MB / 0.755 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/0.7401, allocations: 149.9 kB / 0.7551 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002843/0.743, allocations: 1.548 MB / 0.7566 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003847/0.7434, allocations: 49.7 kB / 0.7567 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006738/0.744, allocations: 0.8255 MB / 0.7575 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000612/0.7447, allocations: 0.5506 MB / 0.758 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.7448, allocations: 40 kB / 0.7581 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.745, allocations: 361.9 kB / 0.7584 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.7472, allocations: 1.015 MB / 0.7594 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.7495, allocations: 1.233 MB / 0.7606 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.7517, allocations: 1.091 MB / 0.7617 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.7518, allocations: 0 / 0.7617 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00707/0.7588, allocations: 3.328 MB / 0.7649 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006842/0.7595, allocations: 1.751 MB / 0.7666 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.7596, allocations: 4 kB / 0.7666 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.287/1.047, allocations: 3.008 MB / 0.7696 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.048, allocations: 306.8 kB / 0.7699 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006605/1.055, allocations: 3.008 MB / 0.7728 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/1.057, allocations: 311.2 kB / 0.7731 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/1.058, allocations: 61.92 kB / 0.7732 GB, free: 129 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.058, allocations: 4.312 kB / 0.7732 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006066/1.064, allocations: 3.083 MB / 0.7762 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.064, allocations: 5.625 kB / 0.7762 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00837/1.072, allocations: 3.014 MB / 0.7791 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.073, allocations: 294.7 kB / 0.7794 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005576/1.079, allocations: 3.007 MB / 0.7823 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/1.081, allocations: 300.1 kB / 0.7826 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.081, allocations: 62.78 kB / 0.7827 GB, free: 128.4 MB / 0.5573 GB 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.0009747/1.082, allocations: 421.5 kB / 0.7831 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/1.083, allocations: 206.6 kB / 0.7833 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/1.099, allocations: 6.244 MB / 0.7894 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/1.099, allocations: 16.25 kB / 0.7894 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.099, allocations: 0 / 0.7894 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.545e-05/1.099, allocations: 9.703 kB / 0.7894 GB, free: 127.9 MB / 0.5573 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.02005/1.119, allocations: 8.7 MB / 0.7979 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.119, allocations: 1.562 kB / 0.7979 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/1.121, allocations: 234.8 kB / 0.7981 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007359/1.128, allocations: 2.496 MB / 0.8006 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002437/1.128, allocations: 35.92 kB / 0.8006 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02472/1.153, allocations: 10.89 MB / 0.8112 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.153, allocations: 1.75 kB / 0.8112 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0199/1.173, allocations: 7.672 MB / 0.8187 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.174, allocations: 340.5 kB / 0.8191 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003912/1.175, allocations: 32.38 kB / 0.8191 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/1.177, allocations: 208.8 kB / 0.8193 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009733/1.178, allocations: 292.7 kB / 0.8196 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/1.178, allocations: 43.56 kB / 0.8196 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001726/1.179, allocations: 1.194 MB / 0.8208 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.51e-07/1.179, allocations: 2.438 kB / 0.8208 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002235/1.182, allocations: 0.942 MB / 0.8217 GB, free: 120.9 MB / 0.5573 GB 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.0003802/1.182, allocations: 201.9 kB / 0.8219 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01428/1.196, allocations: 5.471 MB / 0.8272 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/1.196, allocations: 3.562 kB / 0.8272 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006088/1.202, allocations: 2.352 MB / 0.8295 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/1.204, allocations: 168.3 kB / 0.8297 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006291/1.21, allocations: 4.622 MB / 0.8342 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/1.211, allocations: 1.439 MB / 0.8356 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009313/1.212, allocations: 191.4 kB / 0.8358 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/1.212, allocations: 113.5 kB / 0.8359 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/1.212, allocations: 4 kB / 0.8359 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.04153/1.254, allocations: 33.65 MB / 0.8688 GB, free: 101.3 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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_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_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1_functions.h:161: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.IEEEG1.o] Error 1