Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.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.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXNI") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXNI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008947/0.0008949, allocations: 173 kB / 16.12 MB, free: 5.691 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.31/1.31, allocations: 205.4 MB / 222.3 MB, free: 9.035 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.0008218/0.0008218, allocations: 90.36 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2805/0.2805, allocations: 42.29 MB / 361.2 MB, free: 49.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005032, allocations: 16 kB / 429.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 57.56 MB / 487 MB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3287/0.4372, allocations: 105.3 MB / 0.5784 GB, free: 2.488 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.4375, allocations: 95.94 kB / 0.5785 GB, free: 2.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1085/0.546, allocations: 40.77 MB / 0.6183 GB, free: 9.406 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5461, allocations: 4 kB / 0.6183 GB, free: 9.402 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.416e-05/0.5462, allocations: 24 kB / 0.6183 GB, free: 9.379 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.006207/0.5524, allocations: 2.438 MB / 0.6207 GB, free: 6.887 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.5525, allocations: 8.031 kB / 0.6207 GB, free: 6.879 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.5555, allocations: 0.5651 MB / 0.6213 GB, free: 6.312 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.5573, allocations: 1.055 MB / 0.6223 GB, free: 5.203 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004176/0.5577, allocations: 466.4 kB / 0.6227 GB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.5579, allocations: 103.9 kB / 0.6228 GB, free: 4.574 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.5609, allocations: 1.528 MB / 0.6243 GB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.5609, allocations: 0 / 0.6243 GB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.561, allocations: 47.94 kB / 0.6244 GB, free: 2.984 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.5611, allocations: 24 kB / 0.6244 GB, free: 2.961 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003385/0.5645, allocations: 1.448 MB / 0.6258 GB, free: 1.512 MB / 442.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.008955/0.5734, allocations: 4.928 MB / 0.6306 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009053/0.5825, allocations: 3.577 MB / 0.6341 GB, free: 8.637 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.5848, allocations: 0.9972 MB / 0.6351 GB, free: 7.633 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.5849, allocations: 28.97 kB / 0.6351 GB, free: 7.602 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.585, allocations: 47.5 kB / 0.6352 GB, free: 7.547 MB / 458.7 MB Notification: Performance of pre-optimization done (n=127): time 3.376e-06/0.585, allocations: 0 / 0.6352 GB, free: 7.547 MB / 458.7 MB Notification: Performance of matching and sorting (n=127): time 0.04117/0.6262, allocations: 11.74 MB / 0.6466 GB, free: 11.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.6263, allocations: 141.5 kB / 0.6468 GB, free: 11.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.6285, allocations: 1.302 MB / 0.648 GB, free: 10.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003219/0.6288, allocations: 49.7 kB / 0.6481 GB, free: 10.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005084/0.6293, allocations: 0.6437 MB / 0.6487 GB, free: 9.555 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005262/0.6299, allocations: 453.3 kB / 0.6491 GB, free: 9.105 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/0.63, allocations: 24 kB / 0.6492 GB, free: 9.082 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.6301, allocations: 357.9 kB / 0.6495 GB, free: 8.727 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.6321, allocations: 0.8511 MB / 0.6503 GB, free: 7.879 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.6341, allocations: 1.042 MB / 0.6513 GB, free: 6.781 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00407/0.6382, allocations: 1.897 MB / 0.6532 GB, free: 4.832 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.6382, allocations: 0 / 0.6532 GB, free: 4.832 MB / 474.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006878/0.6451, allocations: 2.993 MB / 0.6561 GB, free: 1.824 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.6453, allocations: 197.5 kB / 0.6563 GB, free: 1.582 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.6453, allocations: 4 kB / 0.6563 GB, free: 1.578 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/0.6561, allocations: 3.407 MB / 0.6596 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008932/0.657, allocations: 167.7 kB / 0.6598 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0083/0.6653, allocations: 3.376 MB / 0.6631 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.6676, allocations: 238.8 kB / 0.6633 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/0.6678, allocations: 51.92 kB / 0.6634 GB, free: 10.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.6678, allocations: 4 kB / 0.6634 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006461/0.6743, allocations: 2.775 MB / 0.6661 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/0.6743, allocations: 7.984 kB / 0.6661 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01033/0.6847, allocations: 3.376 MB / 0.6694 GB, free: 4.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008889/0.6856, allocations: 163.8 kB / 0.6696 GB, free: 3.977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007461/0.6931, allocations: 3.313 MB / 0.6728 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.6952, allocations: 230.8 kB / 0.673 GB, free: 420 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.6954, allocations: 43.98 kB / 0.673 GB, free: 376 kB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (eXNI.booleanConstant.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {34 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008142/0.6962, allocations: 356.8 kB / 0.6734 GB, free: 8 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2062/0.9024, allocations: 159.5 kB / 0.6735 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01755/0.92, allocations: 6.006 MB / 0.6794 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.92, allocations: 11.44 kB / 0.6794 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.92, allocations: 5.312 kB / 0.6794 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-05/0.9201, allocations: 7.031 kB / 0.6794 GB, free: 117.2 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.01897/0.9391, allocations: 8.112 MB / 0.6874 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.9391, allocations: 0 / 0.6874 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008637/0.94, allocations: 146 kB / 0.6875 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007222/0.9472, allocations: 2.587 MB / 0.69 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002547/0.9475, allocations: 30.88 kB / 0.69 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02333/0.9708, allocations: 12.01 MB / 0.7018 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9709, allocations: 8.516 kB / 0.7018 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/0.9891, allocations: 7.227 MB / 0.7088 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000668/0.9898, allocations: 278.3 kB / 0.7091 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.9901, allocations: 31.5 kB / 0.7091 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.9916, allocations: 163.5 kB / 0.7093 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009238/0.9925, allocations: 257.3 kB / 0.7095 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.9926, allocations: 33.42 kB / 0.7096 GB, free: 111.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001533/0.9942, allocations: 0.8925 MB / 0.7104 GB, free: 111.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.9942, allocations: 0 / 0.7104 GB, free: 111.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002137/0.9963, allocations: 0.7742 MB / 0.7112 GB, free: 111.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * 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 {1 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003588/0.9967, allocations: 178.9 kB / 0.7114 GB, free: 111 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01452/1.011, allocations: 4.871 MB / 0.7161 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.011, allocations: 0 / 0.7161 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006177/1.017, allocations: 2.298 MB / 0.7184 GB, free: 109.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/1.019, allocations: 151.2 kB / 0.7185 GB, free: 109 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005485/1.025, allocations: 3.681 MB / 0.7221 GB, free: 106.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/1.025, allocations: 1.234 MB / 0.7233 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005919/1.026, allocations: 120.4 kB / 0.7234 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/1.026, allocations: 78.56 kB / 0.7235 GB, free: 106.1 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/1.026, allocations: 0 / 0.7235 GB, free: 106.1 MB / 490.7 MB Notification: Performance of Templates: time 0.04203/1.068, allocations: 31.39 MB / 0.7542 GB, free: 99.08 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.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_EXNI -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXNI_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXNI_functions.h:147: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.EXNI.o] Error 1