Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.IEEET2.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.IEEET2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.IEEET2") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.IEEET2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.IEEET2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001195, allocations: 172 kB / 16.11 MB, free: 5.695 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.418/1.418, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0008178/0.0008179, allocations: 88.86 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3097/0.3097, allocations: 42.27 MB / 361.2 MB, free: 49.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004267, allocations: 16 kB / 429.4 MB, free: 7.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 57.56 MB / 487 MB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3721/0.502, allocations: 106.9 MB / 0.58 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.5023, allocations: 94.41 kB / 0.5801 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1242/0.6265, allocations: 43.3 MB / 0.6224 GB, free: 5.188 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6266, allocations: 0 / 0.6224 GB, free: 5.188 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001755/0.6268, allocations: 31.94 kB / 0.6224 GB, free: 5.156 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.008786/0.6356, allocations: 2.523 MB / 0.6249 GB, free: 2.578 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.6356, allocations: 8.031 kB / 0.6249 GB, free: 2.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003688/0.6393, allocations: 0.5651 MB / 0.6254 GB, free: 2.004 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/0.6425, allocations: 1.095 MB / 0.6265 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005927/0.6432, allocations: 462.4 kB / 0.6269 GB, free: 336 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/0.6437, allocations: 107.9 kB / 0.627 GB, free: 228 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004248/0.648, allocations: 1.546 MB / 0.6285 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.6481, allocations: 4 kB / 0.6285 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.6483, allocations: 40 kB / 0.6286 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.6483, allocations: 28 kB / 0.6286 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003465/0.6518, allocations: 1.437 MB / 0.63 GB, free: 13.12 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.01065/0.6625, allocations: 5.205 MB / 0.6351 GB, free: 7.691 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008612/0.6711, allocations: 3.504 MB / 0.6385 GB, free: 4.051 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.6735, allocations: 1.011 MB / 0.6395 GB, free: 3.031 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007114/0.6743, allocations: 0.7336 MB / 0.6402 GB, free: 2.133 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002949/0.6772, allocations: 1.149 MB / 0.6413 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of pre-optimization done (n=131): time 5.911e-06/0.6773, allocations: 0 / 0.6413 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of matching and sorting (n=131): time 0.04683/0.7241, allocations: 12.64 MB / 0.6537 GB, free: 4.262 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/0.7242, allocations: 120.1 kB / 0.6538 GB, free: 4.117 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.7272, allocations: 1.376 MB / 0.6551 GB, free: 2.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004515/0.7277, allocations: 49.7 kB / 0.6552 GB, free: 2.676 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007134/0.7284, allocations: 0.6636 MB / 0.6558 GB, free: 2.004 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008898/0.7293, allocations: 465.1 kB / 0.6563 GB, free: 1.543 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.7296, allocations: 28 kB / 0.6563 GB, free: 1.516 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.7298, allocations: 365.8 kB / 0.6567 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/0.732, allocations: 0.8823 MB / 0.6575 GB, free: 276 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.7343, allocations: 1.066 MB / 0.6586 GB, free: 15.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004512/0.7388, allocations: 1.942 MB / 0.6605 GB, free: 13.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/0.7389, allocations: 4 kB / 0.6605 GB, free: 13.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007312/0.7462, allocations: 2.977 MB / 0.6634 GB, free: 10.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.7462, allocations: 4 kB / 0.6634 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/0.7463, allocations: 4 kB / 0.6634 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.7563, allocations: 3.05 MB / 0.6664 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.7575, allocations: 219.7 kB / 0.6666 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00711/0.7647, allocations: 3.011 MB / 0.6695 GB, free: 3.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.7672, allocations: 254.6 kB / 0.6698 GB, free: 3.598 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000305/0.7675, allocations: 51.98 kB / 0.6698 GB, free: 3.547 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,iEEET2.rotatingExciter.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: 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.001099/0.7686, allocations: 301.4 kB / 0.6701 GB, free: 3.242 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006701/0.7693, allocations: 165.9 kB / 0.6702 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2487/1.018, allocations: 6.036 MB / 0.6761 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/1.018, allocations: 13.44 kB / 0.6762 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/1.018, allocations: 4.719 kB / 0.6762 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.062e-05/1.018, allocations: 7.516 kB / 0.6762 GB, free: 115.1 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.0207/1.039, allocations: 8.082 MB / 0.6841 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.039, allocations: 5.281 kB / 0.6841 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.04, allocations: 152.5 kB / 0.6842 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007226/1.047, allocations: 2.56 MB / 0.6867 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000316/1.048, allocations: 29.91 kB / 0.6867 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02414/1.072, allocations: 11.92 MB / 0.6984 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.072, allocations: 2.75 kB / 0.6984 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/1.091, allocations: 7.201 MB / 0.7054 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.092, allocations: 278.3 kB / 0.7057 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/1.092, allocations: 24.28 kB / 0.7057 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.094, allocations: 172.4 kB / 0.7059 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009965/1.095, allocations: 266.6 kB / 0.7061 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/1.095, allocations: 35.59 kB / 0.7062 GB, free: 110.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001719/1.097, allocations: 0.9399 MB / 0.7071 GB, free: 110.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/1.097, allocations: 1.031 kB / 0.7071 GB, free: 110.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002226/1.099, allocations: 0.5296 MB / 0.7076 GB, free: 110.5 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,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.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 (85): * Single equations (assignments): 83 * 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 3,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004697/1.1, allocations: 205.3 kB / 0.7078 GB, free: 110.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009807/1.109, allocations: 2.937 MB / 0.7107 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.109, allocations: 1.031 kB / 0.7107 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007553/1.117, allocations: 2.306 MB / 0.7129 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/1.119, allocations: 161.6 kB / 0.7131 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00674/1.126, allocations: 3.714 MB / 0.7167 GB, free: 106.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.127, allocations: 1.246 MB / 0.7179 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008886/1.128, allocations: 132.7 kB / 0.718 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003455/1.128, allocations: 83.92 kB / 0.7181 GB, free: 105.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/1.128, allocations: 0 / 0.7181 GB, free: 105.7 MB / 490.7 MB Notification: Performance of Templates: time 0.04174/1.17, allocations: 25.51 MB / 0.743 GB, free: 104.4 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.IEEET2.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.IEEET2.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_IEEET2 -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.Examples.Controls.PSSE.ES.IEEET2.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.IEEET2.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.IEEET2.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.IEEET2_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.IEEET2_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.IEEET2.o] Error 1