Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A.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.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 174.7 kB / 16.12 MB, free: 5.699 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.475/1.475, allocations: 205.4 MB / 222.3 MB, free: 9.031 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.0007799/0.00078, allocations: 94.23 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.3894/0.3894, allocations: 42.28 MB / 361.2 MB, free: 49.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004261, allocations: 16 kB / 429.4 MB, free: 7.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1157, allocations: 57.55 MB / 487 MB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.335/0.4508, allocations: 111.3 MB / 0.5842 GB, free: 12.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/0.4512, allocations: 91.94 kB / 0.5843 GB, free: 12.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1389/0.5901, allocations: 47.86 MB / 0.6311 GB, free: 12.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5901, allocations: 0 / 0.6311 GB, free: 12.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002024/0.5903, allocations: 35.98 kB / 0.6311 GB, free: 12.23 MB / 458.7 MB 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.008992/0.5994, allocations: 2.731 MB / 0.6338 GB, free: 9.445 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5994, allocations: 16.02 kB / 0.6338 GB, free: 9.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003491/0.6029, allocations: 0.5844 MB / 0.6343 GB, free: 8.844 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003293/0.6062, allocations: 1.249 MB / 0.6356 GB, free: 7.543 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007667/0.607, allocations: 0.5002 MB / 0.6361 GB, free: 6.961 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004743/0.6075, allocations: 123.9 kB / 0.6362 GB, free: 6.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/0.6117, allocations: 1.703 MB / 0.6378 GB, free: 5.086 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.6117, allocations: 3.938 kB / 0.6378 GB, free: 5.082 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.6119, allocations: 48 kB / 0.6379 GB, free: 5.035 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.612, allocations: 24 kB / 0.6379 GB, free: 5.012 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/0.6157, allocations: 1.613 MB / 0.6395 GB, free: 3.391 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.01108/0.6268, allocations: 5.584 MB / 0.6449 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009542/0.6364, allocations: 3.771 MB / 0.6486 GB, free: 9.684 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002334/0.6387, allocations: 1.098 MB / 0.6497 GB, free: 8.578 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000632/0.6394, allocations: 0.7336 MB / 0.6504 GB, free: 7.68 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002657/0.6421, allocations: 1.251 MB / 0.6516 GB, free: 6.406 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 4.789e-06/0.6421, allocations: 4 kB / 0.6516 GB, free: 6.402 MB / 474.7 MB Notification: Performance of matching and sorting (n=139): time 0.04513/0.6872, allocations: 12.58 MB / 0.6639 GB, free: 9.773 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.6873, allocations: 145.8 kB / 0.6641 GB, free: 9.602 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003005/0.6904, allocations: 1.515 MB / 0.6655 GB, free: 8.082 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003614/0.6907, allocations: 49.7 kB / 0.6656 GB, free: 8.027 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006685/0.6914, allocations: 0.711 MB / 0.6663 GB, free: 7.309 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008327/0.6923, allocations: 496.8 kB / 0.6667 GB, free: 6.816 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.6924, allocations: 28 kB / 0.6668 GB, free: 6.789 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.6926, allocations: 357.9 kB / 0.6671 GB, free: 6.434 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/0.6949, allocations: 0.9643 MB / 0.6681 GB, free: 5.469 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.6975, allocations: 1.165 MB / 0.6692 GB, free: 4.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004772/0.7022, allocations: 2.102 MB / 0.6712 GB, free: 2.102 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.7023, allocations: 4 kB / 0.6713 GB, free: 2.098 MB / 490.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.2065/0.9088, allocations: 3.238 MB / 0.6744 GB, free: 111 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.909, allocations: 208.8 kB / 0.6746 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.909, allocations: 6.844 kB / 0.6746 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/0.9195, allocations: 3.163 MB / 0.6777 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.921, allocations: 233.9 kB / 0.6779 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007095/0.9281, allocations: 3.687 MB / 0.6815 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.9303, allocations: 292.5 kB / 0.6818 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.9305, allocations: 55.28 kB / 0.6819 GB, free: 109.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.9305, allocations: 6.656 kB / 0.6819 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006451/0.9369, allocations: 3.028 MB / 0.6848 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.937, allocations: 5.938 kB / 0.6848 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009209/0.9462, allocations: 3.166 MB / 0.6879 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.9473, allocations: 235 kB / 0.6881 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006539/0.9538, allocations: 3.674 MB / 0.6917 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.9562, allocations: 278.9 kB / 0.692 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.9563, allocations: 56.02 kB / 0.6921 GB, free: 108.5 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,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.000853/0.9572, allocations: 397.7 kB / 0.6924 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/0.9576, allocations: 186.9 kB / 0.6926 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/0.9733, allocations: 6.055 MB / 0.6985 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.9734, allocations: 16.84 kB / 0.6985 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.9734, allocations: 3.625 kB / 0.6985 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-05/0.9735, allocations: 15.06 kB / 0.6986 GB, free: 108 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.01962/0.9931, allocations: 8.335 MB / 0.7067 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.9931, allocations: 3.188 kB / 0.7067 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.9944, allocations: 185.1 kB / 0.7069 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007449/1.002, allocations: 2.509 MB / 0.7093 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003445/1.002, allocations: 31.25 kB / 0.7094 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02437/1.027, allocations: 10.3 MB / 0.7194 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.027, allocations: 3.875 kB / 0.7194 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/1.046, allocations: 7.434 MB / 0.7267 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006916/1.046, allocations: 295.2 kB / 0.727 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005323/1.047, allocations: 27.75 kB / 0.727 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/1.049, allocations: 206.7 kB / 0.7272 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009198/1.05, allocations: 282.1 kB / 0.7275 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.05, allocations: 42.09 kB / 0.7275 GB, free: 100.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001767/1.052, allocations: 1.035 MB / 0.7285 GB, free: 100.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.894e-06/1.052, allocations: 4.938 kB / 0.7285 GB, free: 100.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002487/1.054, allocations: 0.8605 MB / 0.7294 GB, free: 100.1 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,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.0004663/1.055, allocations: 203.3 kB / 0.7295 GB, free: 100 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01457/1.069, allocations: 5.21 MB / 0.7346 GB, free: 98.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.069, allocations: 0 / 0.7346 GB, free: 98.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006453/1.076, allocations: 2.295 MB / 0.7369 GB, free: 98.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/1.078, allocations: 171.8 kB / 0.737 GB, free: 97.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00659/1.085, allocations: 4.06 MB / 0.741 GB, free: 95.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009012/1.086, allocations: 1.301 MB / 0.7423 GB, free: 94.83 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001012/1.087, allocations: 175.1 kB / 0.7424 GB, free: 94.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/1.087, allocations: 89.55 kB / 0.7425 GB, free: 94.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.693e-06/1.087, allocations: 0 / 0.7425 GB, free: 94.79 MB / 490.7 MB Notification: Performance of Templates: time 0.07924/1.167, allocations: 33.27 MB / 0.775 GB, free: 76.76 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A.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_release_OpenIPSL_Examples_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_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A_model.h:26: ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A_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_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A.o] Error 1