Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC1A.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Examples.Controls.PSSE.ES.ESDC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC1A") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.ESDC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001292/0.001292, allocations: 171.7 kB / 16.12 MB, free: 5.676 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.43/1.43, allocations: 205.4 MB / 222.3 MB, free: 8.934 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.0007904/0.0007904, allocations: 91.91 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2789/0.2789, allocations: 42.29 MB / 361.2 MB, free: 49.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004256, allocations: 15.98 kB / 429.4 MB, free: 7.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09823, allocations: 57.55 MB / 487 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2993/0.3975, allocations: 108.5 MB / 0.5816 GB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.3979, allocations: 90.84 kB / 0.5817 GB, free: 15.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1284/0.5262, allocations: 46.05 MB / 0.6266 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5263, allocations: 0 / 0.6266 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001435/0.5264, allocations: 31.94 kB / 0.6267 GB, free: 0.8047 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.008142/0.5346, allocations: 2.639 MB / 0.6292 GB, free: 14.11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5346, allocations: 16.02 kB / 0.6293 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/0.538, allocations: 0.5728 MB / 0.6298 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.5406, allocations: 1.205 MB / 0.631 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004829/0.5411, allocations: 474.4 kB / 0.6314 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.5414, allocations: 112 kB / 0.6316 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/0.5447, allocations: 1.594 MB / 0.6331 GB, free: 9.969 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.5447, allocations: 3.938 kB / 0.6331 GB, free: 9.965 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.5449, allocations: 44 kB / 0.6332 GB, free: 9.922 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.5449, allocations: 28 kB / 0.6332 GB, free: 9.895 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.5483, allocations: 1.503 MB / 0.6347 GB, free: 8.383 MB / 458.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.0105/0.5588, allocations: 5.39 MB / 0.6399 GB, free: 2.758 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009396/0.5682, allocations: 3.641 MB / 0.6435 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.5705, allocations: 1.05 MB / 0.6445 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000593/0.5711, allocations: 0.7375 MB / 0.6452 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002435/0.5735, allocations: 1.2 MB / 0.6464 GB, free: 11.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=133): time 4.448e-06/0.5736, allocations: 0 / 0.6464 GB, free: 11.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=133): time 0.04504/0.6186, allocations: 12.5 MB / 0.6586 GB, free: 15.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.6187, allocations: 120.2 kB / 0.6587 GB, free: 15.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.6217, allocations: 1.489 MB / 0.6602 GB, free: 13.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002938/0.6221, allocations: 49.7 kB / 0.6602 GB, free: 13.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/0.6226, allocations: 0.6795 MB / 0.6609 GB, free: 12.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008037/0.6234, allocations: 473.1 kB / 0.6613 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.6237, allocations: 24 kB / 0.6614 GB, free: 12.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.6239, allocations: 365.9 kB / 0.6617 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00267/0.6266, allocations: 0.9253 MB / 0.6626 GB, free: 11.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/0.6289, allocations: 1.121 MB / 0.6637 GB, free: 9.926 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004342/0.6332, allocations: 2.027 MB / 0.6657 GB, free: 7.844 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.6333, allocations: 7.938 kB / 0.6657 GB, free: 7.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.006973/0.6402, allocations: 3.091 MB / 0.6687 GB, free: 4.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.6403, allocations: 4 kB / 0.6687 GB, free: 4.727 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.6403, allocations: 8 kB / 0.6687 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009869/0.6502, allocations: 3.05 MB / 0.6717 GB, free: 1.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.6514, allocations: 239.6 kB / 0.6719 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2135/0.8649, allocations: 3 MB / 0.6749 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/0.8672, allocations: 280.3 kB / 0.6751 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.8674, allocations: 53.98 kB / 0.6752 GB, free: 112.7 MB / 490.7 MB 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,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * 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.0007139/0.8681, allocations: 307.2 kB / 0.6755 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.8684, allocations: 182 kB / 0.6756 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01666/0.8851, allocations: 6.019 MB / 0.6815 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.8851, allocations: 15.94 kB / 0.6815 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.8851, allocations: 0 / 0.6815 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.978e-05/0.8852, allocations: 6.844 kB / 0.6815 GB, free: 112.4 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.01833/0.9035, allocations: 8.167 MB / 0.6895 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.9036, allocations: 0 / 0.6895 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008899/0.9045, allocations: 170.9 kB / 0.6897 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00663/0.9111, allocations: 2.506 MB / 0.6921 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.9113, allocations: 29.47 kB / 0.6922 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0214/0.9327, allocations: 10.3 MB / 0.7022 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9327, allocations: 6.969 kB / 0.7022 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/0.9523, allocations: 7.241 MB / 0.7093 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/0.9529, allocations: 291 kB / 0.7096 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.9532, allocations: 28.22 kB / 0.7096 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.9549, allocations: 194.7 kB / 0.7098 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008469/0.9557, allocations: 275.5 kB / 0.71 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.9558, allocations: 35.66 kB / 0.7101 GB, free: 108.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001591/0.9574, allocations: 1.024 MB / 0.7111 GB, free: 108 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9575, allocations: 1.469 kB / 0.7111 GB, free: 108 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001345/0.9588, allocations: 0.536 MB / 0.7116 GB, free: 107.9 MB / 490.7 MB 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.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 (90): * Single equations (assignments): 89 * 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.0003608/0.9592, allocations: 203.5 kB / 0.7118 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008302/0.9675, allocations: 3.031 MB / 0.7148 GB, free: 107 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9675, allocations: 1.219 kB / 0.7148 GB, free: 107 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006104/0.9736, allocations: 2.234 MB / 0.7169 GB, free: 106.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.9749, allocations: 165.3 kB / 0.7171 GB, free: 106.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.9802, allocations: 3.877 MB / 0.7209 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.9808, allocations: 1.272 MB / 0.7221 GB, free: 103.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005807/0.9814, allocations: 136.7 kB / 0.7223 GB, free: 103.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.9817, allocations: 93.44 kB / 0.7223 GB, free: 103.2 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.9817, allocations: 0 / 0.7223 GB, free: 103.2 MB / 490.7 MB Notification: Performance of Templates: time 0.0343/1.016, allocations: 25.86 MB / 0.7476 GB, free: 101.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC1A.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC1A.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_Controls_PSSE_ES_ESDC1A -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC1A.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC1A.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC1A.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC1A_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESDC1A_functions.h:163: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.Examples.Controls.PSSE.ES.ESDC1A.o] Error 1