Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.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.Tests.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.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.007499/0.0075, allocations: 170.3 kB / 15.11 MB, free: 5.969 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.486/1.486, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0008971/0.000897, allocations: 102.8 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07971/0.07971, allocations: 12.6 MB / 330.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4548/0.4548, allocations: 78.52 MB / 460 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005036, allocations: 20.09 kB / 0.5285 GB, free: 35.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1365, allocations: 69.34 MB / 0.5962 GB, free: 3.805 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4836/0.6202, allocations: 118 MB / 0.7114 GB, free: 32.79 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.6204, allocations: 91.39 kB / 0.7115 GB, free: 32.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1272/0.7477, allocations: 52.03 MB / 0.7623 GB, free: 19.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.7477, allocations: 7.812 kB / 0.7623 GB, free: 19.17 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001163/0.7479, allocations: 38.78 kB / 0.7623 GB, free: 19.17 MB / 474.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.007379/0.7553, allocations: 2.987 MB / 0.7653 GB, free: 17.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.7553, allocations: 17.48 kB / 0.7653 GB, free: 17.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.7585, allocations: 0.6231 MB / 0.7659 GB, free: 17.24 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.7609, allocations: 1.288 MB / 0.7671 GB, free: 16.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/0.7614, allocations: 0.5849 MB / 0.7677 GB, free: 16.08 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.7616, allocations: 142.2 kB / 0.7678 GB, free: 16.08 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003243/0.7649, allocations: 1.869 MB / 0.7697 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.7649, allocations: 7.844 kB / 0.7697 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.765, allocations: 54.34 kB / 0.7697 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.7651, allocations: 35.08 kB / 0.7698 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00321/0.7683, allocations: 1.745 MB / 0.7715 GB, free: 15.25 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.009373/0.7777, allocations: 6.287 MB / 0.7776 GB, free: 12.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008499/0.7862, allocations: 3.882 MB / 0.7814 GB, free: 9.996 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004783/0.7867, allocations: 0.7408 MB / 0.7821 GB, free: 9.098 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002429/0.7891, allocations: 1.325 MB / 0.7834 GB, free: 8.117 MB / 474.7 MB Notification: Performance of pre-optimization done (n=159): time 3.387e-06/0.7892, allocations: 0 / 0.7834 GB, free: 8.117 MB / 474.7 MB Notification: Performance of matching and sorting (n=159): time 0.0412/0.8304, allocations: 12.24 MB / 0.7954 GB, free: 13.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.8306, allocations: 145.8 kB / 0.7955 GB, free: 12.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003345/0.8339, allocations: 1.494 MB / 0.797 GB, free: 11.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004334/0.8344, allocations: 59.12 kB / 0.797 GB, free: 11.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007089/0.8351, allocations: 0.8168 MB / 0.7978 GB, free: 11.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006662/0.8358, allocations: 0.5585 MB / 0.7984 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.8359, allocations: 34.94 kB / 0.7984 GB, free: 10.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.836, allocations: 369.2 kB / 0.7987 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.8383, allocations: 1.016 MB / 0.7997 GB, free: 9.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.8408, allocations: 1.238 MB / 0.801 GB, free: 8.766 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/0.8432, allocations: 1.088 MB / 0.802 GB, free: 7.684 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.8432, allocations: 4 kB / 0.802 GB, free: 7.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007436/0.8506, allocations: 3.321 MB / 0.8053 GB, free: 4.344 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007448/0.8514, allocations: 1.748 MB / 0.807 GB, free: 2.477 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.8514, allocations: 8 kB / 0.807 GB, free: 2.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0096/0.861, allocations: 3.007 MB / 0.8099 GB, free: 15.45 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.8626, allocations: 303.6 kB / 0.8102 GB, free: 15.16 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006637/0.8692, allocations: 3.011 MB / 0.8131 GB, free: 12.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/0.8719, allocations: 310.3 kB / 0.8134 GB, free: 11.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.8721, allocations: 59.98 kB / 0.8135 GB, free: 11.76 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.8721, allocations: 4 kB / 0.8135 GB, free: 11.75 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006511/0.8786, allocations: 3.083 MB / 0.8165 GB, free: 8.664 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.8787, allocations: 4 kB / 0.8165 GB, free: 8.66 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009351/0.888, allocations: 3.011 MB / 0.8195 GB, free: 5.652 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.8896, allocations: 299.6 kB / 0.8197 GB, free: 5.359 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006482/0.8961, allocations: 3.012 MB / 0.8227 GB, free: 2.316 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/0.8988, allocations: 290.5 kB / 0.823 GB, free: 2.031 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.899, allocations: 63.98 kB / 0.823 GB, free: 1.969 MB / 0.4949 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.001071/0.9, allocations: 424.8 kB / 0.8234 GB, free: 1.543 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004018/0.9004, allocations: 205.5 kB / 0.8236 GB, free: 1.34 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/0.9182, allocations: 6.241 MB / 0.8297 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/0.9183, allocations: 23.95 kB / 0.8297 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.9183, allocations: 0 / 0.8297 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.315e-05/0.9183, allocations: 7.969 kB / 0.8297 GB, free: 11.05 MB / 0.5105 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.0219/0.9402, allocations: 8.675 MB / 0.8382 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/0.9403, allocations: 7.969 kB / 0.8382 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.9418, allocations: 227.7 kB / 0.8384 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007834/0.9497, allocations: 2.505 MB / 0.8409 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003715/0.9501, allocations: 39.98 kB / 0.8409 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0265/0.9766, allocations: 10.88 MB / 0.8515 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9766, allocations: 3.953 kB / 0.8516 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/0.9983, allocations: 7.671 MB / 0.859 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009449/0.9993, allocations: 326 kB / 0.8594 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003664/0.9997, allocations: 36 kB / 0.8594 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/1.002, allocations: 211.8 kB / 0.8596 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000955/1.003, allocations: 285.4 kB / 0.8599 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.003, allocations: 47.94 kB / 0.8599 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002157/1.005, allocations: 1.164 MB / 0.861 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/1.005, allocations: 0 / 0.861 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002619/1.008, allocations: 0.9242 MB / 0.8619 GB, free: 9.727 MB / 0.5417 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.0005103/1.008, allocations: 200.2 kB / 0.8621 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01595/1.024, allocations: 5.473 MB / 0.8675 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.024, allocations: 0 / 0.8675 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006694/1.031, allocations: 2.363 MB / 0.8698 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/1.032, allocations: 170.5 kB / 0.87 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008013/1.04, allocations: 4.618 MB / 0.8745 GB, free: 12.84 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009415/1.041, allocations: 1.438 MB / 0.8759 GB, free: 11.37 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001143/1.043, allocations: 195.1 kB / 0.8761 GB, free: 11.18 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/1.043, allocations: 107.4 kB / 0.8762 GB, free: 11.07 MB / 0.5574 GB Notification: Performance of SimCode: time 3.206e-06/1.043, allocations: 0 / 0.8762 GB, free: 11.07 MB / 0.5574 GB Notification: Performance of Templates: time 0.05312/1.096, allocations: 33.28 MB / 0.9087 GB, free: 9.816 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.makefile make -j1 -f OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1_model.h:24: ./OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.o] Error 1