Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007779/0.007779, allocations: 171.7 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.217/1.217, allocations: 223.2 MB / 239 MB, free: 64 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008004/0.0008004, allocations: 97.34 kB / 290.2 MB, free: 4.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4304/0.4304, allocations: 79.43 MB / 420.8 MB, free: 36.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 12 kB / 0.4891 GB, free: 6.379 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 69.51 MB / 0.5569 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3228/0.4386, allocations: 116.9 MB / 0.6711 GB, free: 344 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4389, allocations: 97.16 kB / 0.6712 GB, free: 248 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1263/0.5652, allocations: 47.36 MB / 0.7174 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5652, allocations: 0 / 0.7174 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001193/0.5653, allocations: 36 kB / 0.7175 GB, free: 0.8477 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.007938/0.5733, allocations: 2.766 MB / 0.7202 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.5733, allocations: 8.031 kB / 0.7202 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004183/0.5775, allocations: 0.7545 MB / 0.7209 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.5801, allocations: 1.239 MB / 0.7221 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005377/0.5806, allocations: 0.5003 MB / 0.7226 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000286/0.5809, allocations: 116 kB / 0.7227 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003389/0.5843, allocations: 1.699 MB / 0.7244 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.5843, allocations: 0 / 0.7244 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.5845, allocations: 51.98 kB / 0.7244 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.5845, allocations: 24 kB / 0.7244 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003467/0.588, allocations: 1.605 MB / 0.726 GB, free: 7.836 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.01087/0.5989, allocations: 5.699 MB / 0.7316 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00961/0.6085, allocations: 3.76 MB / 0.7352 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/0.6092, allocations: 0.7336 MB / 0.736 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002728/0.612, allocations: 1.251 MB / 0.7372 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=139): time 3.898e-06/0.612, allocations: 0 / 0.7372 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.04536/0.6574, allocations: 12.53 MB / 0.7494 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.6575, allocations: 151.3 kB / 0.7496 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.6602, allocations: 1.404 MB / 0.7509 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/0.6604, allocations: 49.7 kB / 0.751 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006062/0.661, allocations: 0.7072 MB / 0.7517 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005768/0.6616, allocations: 0.489 MB / 0.7521 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.6617, allocations: 32 kB / 0.7522 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6619, allocations: 357.9 kB / 0.7525 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.664, allocations: 0.9643 MB / 0.7535 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.6661, allocations: 1.157 MB / 0.7546 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.6683, allocations: 1.025 MB / 0.7556 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.6684, allocations: 0 / 0.7556 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007213/0.6756, allocations: 3.239 MB / 0.7588 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005489/0.6761, allocations: 1.543 MB / 0.7603 GB, free: 3.918 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.6762, allocations: 4 kB / 0.7603 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009848/0.686, allocations: 3.164 MB / 0.7634 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/0.687, allocations: 243.6 kB / 0.7636 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006625/0.6937, allocations: 3.679 MB / 0.7672 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/0.6958, allocations: 294.6 kB / 0.7675 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.696, allocations: 59.92 kB / 0.7675 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.696, allocations: 4 kB / 0.7675 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006367/0.7023, allocations: 3.033 MB / 0.7705 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.7024, allocations: 4 kB / 0.7705 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01/0.7124, allocations: 3.164 MB / 0.7736 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.7136, allocations: 231.7 kB / 0.7738 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007037/0.7206, allocations: 3.677 MB / 0.7774 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/0.7231, allocations: 282.6 kB / 0.7777 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.7234, allocations: 55.98 kB / 0.7777 GB, free: 1.93 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008887/0.7243, allocations: 393.4 kB / 0.7781 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005226/0.7248, allocations: 181.8 kB / 0.7783 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/0.7415, allocations: 6.06 MB / 0.7842 GB, free: 11.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.7415, allocations: 12 kB / 0.7842 GB, free: 11.26 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.7415, allocations: 8 kB / 0.7842 GB, free: 11.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.7416, allocations: 7.969 kB / 0.7842 GB, free: 11.25 MB / 0.573 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.01944/0.761, allocations: 8.377 MB / 0.7924 GB, free: 2.738 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.761, allocations: 4.031 kB / 0.7924 GB, free: 2.734 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.7621, allocations: 187.7 kB / 0.7926 GB, free: 2.551 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007262/0.7693, allocations: 2.509 MB / 0.795 GB, free: 36 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.7695, allocations: 31.94 kB / 0.7951 GB, free: 4 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2586/1.028, allocations: 10.87 MB / 0.8057 GB, free: 140.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.028, allocations: 0 / 0.8057 GB, free: 140.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02099/1.049, allocations: 7.455 MB / 0.8129 GB, free: 140 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008115/1.05, allocations: 306.7 kB / 0.8132 GB, free: 139.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/1.05, allocations: 30.27 kB / 0.8133 GB, free: 139.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.052, allocations: 208.1 kB / 0.8135 GB, free: 139.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008832/1.053, allocations: 281.1 kB / 0.8137 GB, free: 139.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/1.053, allocations: 42.25 kB / 0.8138 GB, free: 139.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001601/1.055, allocations: 1.083 MB / 0.8148 GB, free: 139.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.11e-07/1.055, allocations: 3.844 kB / 0.8148 GB, free: 139.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002156/1.057, allocations: 0.862 MB / 0.8157 GB, free: 139.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.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 (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.000533/1.057, allocations: 200.3 kB / 0.8159 GB, free: 139.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01522/1.073, allocations: 5.215 MB / 0.821 GB, free: 139.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.073, allocations: 0 / 0.821 GB, free: 139.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006147/1.079, allocations: 2.288 MB / 0.8232 GB, free: 139.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.08, allocations: 150.9 kB / 0.8233 GB, free: 139.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/1.086, allocations: 4.101 MB / 0.8273 GB, free: 137.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/1.087, allocations: 1.335 MB / 0.8286 GB, free: 136.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008745/1.087, allocations: 176.2 kB / 0.8288 GB, free: 136.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/1.088, allocations: 91.34 kB / 0.8289 GB, free: 136.3 MB / 0.573 GB Notification: Performance of SimCode: time 6.42e-07/1.088, allocations: 0 / 0.8289 GB, free: 136.3 MB / 0.573 GB Notification: Performance of Templates: time 0.04784/1.136, allocations: 33.73 MB / 0.8618 GB, free: 134.6 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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_ES_ESAC1A -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A_functions.h:169: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.ES.ESAC1A.o] Error 1