Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004315/0.004319, allocations: 170.6 kB / 15.11 MB, free: 5.992 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.153/1.153, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008937/0.0008938, allocations: 108.9 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3912/0.3912, allocations: 78.51 MB / 419.8 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003029, allocations: 12 kB / 499.7 MB, free: 2.785 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3001, allocations: 69.36 MB / 0.5557 GB, free: 38.75 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.4212, allocations: 111.7 MB / 0.6648 GB, free: 10.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.4215, allocations: 95.31 kB / 0.6649 GB, free: 10.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1189/0.5404, allocations: 47.8 MB / 0.7116 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5405, allocations: 0 / 0.7116 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001012/0.5406, allocations: 36 kB / 0.7116 GB, free: 10.53 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006858/0.5474, allocations: 2.695 MB / 0.7142 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.5475, allocations: 11.97 kB / 0.7142 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.5503, allocations: 0.5751 MB / 0.7148 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.5523, allocations: 1.152 MB / 0.7159 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005175/0.5529, allocations: 0.5717 MB / 0.7165 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.5531, allocations: 119.9 kB / 0.7166 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/0.5561, allocations: 1.654 MB / 0.7182 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.5561, allocations: 0 / 0.7182 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.5562, allocations: 48 kB / 0.7183 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.5563, allocations: 28 kB / 0.7183 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/0.5594, allocations: 1.59 MB / 0.7198 GB, free: 1.812 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 preOpt removeSimpleEquations (simulation): time 0.008629/0.5681, allocations: 5.575 MB / 0.7253 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008728/0.5768, allocations: 3.67 MB / 0.7289 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.5769, allocations: 25.3 kB / 0.7289 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002156/0.5791, allocations: 1.229 MB / 0.7301 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=139): time 5.52e-06/0.5791, allocations: 0 / 0.7301 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.0369/0.616, allocations: 11.39 MB / 0.7412 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.6161, allocations: 171.5 kB / 0.7414 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/0.6182, allocations: 1.342 MB / 0.7427 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.6184, allocations: 53.69 kB / 0.7427 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/0.6188, allocations: 0.7072 MB / 0.7434 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004338/0.6193, allocations: 0.489 MB / 0.7439 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.733e-05/0.6194, allocations: 24 kB / 0.7439 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6195, allocations: 365.9 kB / 0.7443 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/0.6214, allocations: 0.9331 MB / 0.7452 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.6234, allocations: 1.125 MB / 0.7463 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.6253, allocations: 1.023 MB / 0.7473 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6254, allocations: 3.938 kB / 0.7473 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006043/0.6314, allocations: 3.171 MB / 0.7504 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004504/0.6319, allocations: 1.487 MB / 0.7518 GB, free: 352 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6319, allocations: 4 kB / 0.7518 GB, free: 348 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008582/0.6405, allocations: 2.935 MB / 0.7547 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008916/0.6414, allocations: 219.7 kB / 0.7549 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/0.6477, allocations: 3.212 MB / 0.758 GB, free: 9.949 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.6495, allocations: 298.5 kB / 0.7583 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.6497, allocations: 63.97 kB / 0.7584 GB, free: 9.594 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.6497, allocations: 4 kB / 0.7584 GB, free: 9.59 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005739/0.6554, allocations: 2.964 MB / 0.7613 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.6554, allocations: 4 kB / 0.7613 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008425/0.6639, allocations: 2.932 MB / 0.7642 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/0.6647, allocations: 207.7 kB / 0.7644 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006185/0.6709, allocations: 3.197 MB / 0.7675 GB, free: 252 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2061/0.8771, allocations: 280.9 kB / 0.7677 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003788/0.8775, allocations: 51.94 kB / 0.7678 GB, free: 134.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 116 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {29 43} Notification: Performance of prepare postOptimizeDAE: time 0.0008049/0.8783, allocations: 398.5 kB / 0.7682 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004586/0.8787, allocations: 180.8 kB / 0.7683 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/0.8949, allocations: 6.009 MB / 0.7742 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.895, allocations: 16.05 kB / 0.7742 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.895, allocations: 2.938 kB / 0.7742 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.895, allocations: 6.891 kB / 0.7742 GB, free: 134.5 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.01754/0.9125, allocations: 8.483 MB / 0.7825 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.9126, allocations: 6.281 kB / 0.7825 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009023/0.9135, allocations: 188.1 kB / 0.7827 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006487/0.92, allocations: 2.493 MB / 0.7851 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.9201, allocations: 36.2 kB / 0.7852 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/0.9421, allocations: 10.89 MB / 0.7958 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.9422, allocations: 2.594 kB / 0.7958 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01811/0.9603, allocations: 7.35 MB / 0.803 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.9608, allocations: 304.7 kB / 0.8033 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/0.9611, allocations: 33.94 kB / 0.8033 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.9629, allocations: 206.3 kB / 0.8035 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006556/0.9635, allocations: 271 kB / 0.8038 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.9637, allocations: 37.31 kB / 0.8038 GB, free: 131 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001853/0.9655, allocations: 1.056 MB / 0.8048 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9655, allocations: 0 / 0.8048 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002101/0.9676, allocations: 0.8256 MB / 0.8056 GB, free: 130.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.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 (96): * 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: 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.0003515/0.968, allocations: 194.8 kB / 0.8058 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01422/0.9822, allocations: 5.186 MB / 0.8109 GB, free: 129 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.9822, allocations: 0 / 0.8109 GB, free: 129 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005818/0.9881, allocations: 2.249 MB / 0.8131 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007873/0.9889, allocations: 151 kB / 0.8132 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.9943, allocations: 4.023 MB / 0.8172 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007679/0.9951, allocations: 1.348 MB / 0.8185 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007105/0.9958, allocations: 168.9 kB / 0.8186 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.9961, allocations: 91.05 kB / 0.8187 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.242e-06/0.9961, allocations: 0 / 0.8187 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.03616/1.032, allocations: 31.95 MB / 0.8499 GB, free: 121.7 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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_IEESGO -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.IEESGO.o OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.c In file included from OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.c:7: In file included from ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO_model.h:24: ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO_functions.h:153: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.IEESGO.o] Error 1