Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.004482/0.004482, allocations: 173 kB / 15.12 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.154/1.154, allocations: 223.2 MB / 239 MB, free: 1.742 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.0008331/0.0008331, allocations: 115.3 kB / 290.2 MB, free: 13.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.403/0.403, allocations: 78.52 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 16 kB / 499.7 MB, free: 2.723 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3033, allocations: 69.34 MB / 0.5557 GB, free: 38.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.4194, allocations: 116.3 MB / 0.6693 GB, free: 6.012 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4197, allocations: 95.94 kB / 0.6694 GB, free: 5.918 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1323/0.552, allocations: 53.23 MB / 0.7214 GB, free: 448 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5521, allocations: 0 / 0.7214 GB, free: 448 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.594e-05/0.5522, allocations: 43.94 kB / 0.7214 GB, free: 404 kB / 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.007196/0.5594, allocations: 2.995 MB / 0.7243 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.5594, allocations: 8.031 kB / 0.7244 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/0.5623, allocations: 0.6177 MB / 0.725 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.5644, allocations: 1.296 MB / 0.7262 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004869/0.5649, allocations: 0.5877 MB / 0.7268 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.5652, allocations: 139.9 kB / 0.7269 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003293/0.5685, allocations: 1.871 MB / 0.7288 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.5685, allocations: 0 / 0.7288 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.5687, allocations: 56 kB / 0.7288 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.5687, allocations: 35.98 kB / 0.7288 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00336/0.572, allocations: 1.732 MB / 0.7305 GB, free: 6.789 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.009299/0.5814, allocations: 6.302 MB / 0.7367 GB, free: 268 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008996/0.5904, allocations: 3.891 MB / 0.7405 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005079/0.5909, allocations: 0.7297 MB / 0.7412 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002383/0.5933, allocations: 1.326 MB / 0.7425 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=159): time 3.066e-06/0.5933, allocations: 3.938 kB / 0.7425 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of matching and sorting (n=159): time 0.04106/0.6344, allocations: 12.23 MB / 0.7544 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.6345, allocations: 149.9 kB / 0.7546 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.6368, allocations: 1.493 MB / 0.756 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002773/0.6371, allocations: 57.7 kB / 0.7561 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/0.6377, allocations: 0.8138 MB / 0.7569 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.6382, allocations: 0.5545 MB / 0.7574 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.6383, allocations: 32 kB / 0.7575 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6385, allocations: 373.9 kB / 0.7578 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/0.6405, allocations: 1.019 MB / 0.7588 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/0.6427, allocations: 1.233 MB / 0.76 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.6447, allocations: 1.095 MB / 0.7611 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6448, allocations: 0 / 0.7611 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006438/0.6512, allocations: 3.317 MB / 0.7643 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000578/0.6518, allocations: 1.755 MB / 0.766 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.6518, allocations: 7.938 kB / 0.766 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2314/0.8833, allocations: 3.003 MB / 0.769 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.8848, allocations: 302 kB / 0.7693 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006176/0.891, allocations: 3.008 MB / 0.7722 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.8934, allocations: 314 kB / 0.7725 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.8936, allocations: 63.44 kB / 0.7726 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.8936, allocations: 3.25 kB / 0.7726 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005937/0.8995, allocations: 3.08 MB / 0.7756 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.8996, allocations: 7.375 kB / 0.7756 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008421/0.908, allocations: 3.012 MB / 0.7785 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.9092, allocations: 304.7 kB / 0.7788 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005439/0.9146, allocations: 2.997 MB / 0.7817 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.9167, allocations: 303.9 kB / 0.782 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.9168, allocations: 62.86 kB / 0.7821 GB, free: 128.1 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.0007432/0.9176, allocations: 420.4 kB / 0.7825 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.9179, allocations: 211.4 kB / 0.7827 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/0.9338, allocations: 6.234 MB / 0.7888 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.9339, allocations: 15.75 kB / 0.7888 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9339, allocations: 3.469 kB / 0.7888 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.9339, allocations: 9.891 kB / 0.7888 GB, free: 127.7 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.01862/0.9525, allocations: 8.669 MB / 0.7973 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.9525, allocations: 4.438 kB / 0.7973 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.9538, allocations: 230.4 kB / 0.7975 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007/0.9608, allocations: 2.504 MB / 0.7999 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.9609, allocations: 34.48 kB / 0.8 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02338/0.9843, allocations: 10.89 MB / 0.8106 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9843, allocations: 1.281 kB / 0.8106 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01872/1.003, allocations: 7.67 MB / 0.8181 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000663/1.004, allocations: 323.3 kB / 0.8184 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/1.004, allocations: 32.61 kB / 0.8184 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.006, allocations: 213 kB / 0.8186 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008223/1.007, allocations: 287.8 kB / 0.8189 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.007, allocations: 46.62 kB / 0.819 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001567/1.008, allocations: 1.161 MB / 0.8201 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/1.008, allocations: 4 kB / 0.8201 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001857/1.01, allocations: 0.9334 MB / 0.821 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.00034/1.01, allocations: 208.7 kB / 0.8212 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01348/1.024, allocations: 5.468 MB / 0.8266 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.024, allocations: 6.375 kB / 0.8266 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005484/1.029, allocations: 2.35 MB / 0.8289 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/1.03, allocations: 170.3 kB / 0.829 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/1.036, allocations: 4.616 MB / 0.8335 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/1.037, allocations: 1.441 MB / 0.8349 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008166/1.037, allocations: 196.3 kB / 0.8351 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/1.038, allocations: 107.9 kB / 0.8352 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of SimCode: time 8.71e-07/1.038, allocations: 0 / 0.8352 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.03632/1.074, allocations: 33.25 MB / 0.8677 GB, free: 102.6 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_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_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.o OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.c In file included from OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.c:7: In file included from ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1_model.h:24: ./OpenIPSL_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_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.o] Error 1