Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.IEEEX1.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.IEEEX1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.IEEEX1") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.IEEEX1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.IEEEX1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 178.4 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.384/1.384, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0007963/0.0007964, allocations: 88.86 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.3185/0.3185, allocations: 42.28 MB / 361.2 MB, free: 49.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004125, allocations: 20 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.5596, allocations: 108 MB / 0.5811 GB, free: 15.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.56, allocations: 91.94 kB / 0.5812 GB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1231/0.6831, allocations: 44.65 MB / 0.6248 GB, free: 2.715 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6831, allocations: 0 / 0.6248 GB, free: 2.715 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002421/0.6834, allocations: 32 kB / 0.6248 GB, free: 2.684 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.008708/0.6921, allocations: 2.592 MB / 0.6273 GB, free: 36 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.6921, allocations: 16.02 kB / 0.6274 GB, free: 20 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003563/0.6957, allocations: 0.5733 MB / 0.6279 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/0.699, allocations: 1.174 MB / 0.6291 GB, free: 14.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005773/0.6996, allocations: 462.4 kB / 0.6295 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005165/0.7001, allocations: 115.9 kB / 0.6296 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004091/0.7042, allocations: 1.566 MB / 0.6311 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.7042, allocations: 4 kB / 0.6312 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.7044, allocations: 40 kB / 0.6312 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.7045, allocations: 24 kB / 0.6312 GB, free: 11.89 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/0.708, allocations: 1.476 MB / 0.6327 GB, free: 10.41 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.01169/0.7197, allocations: 5.306 MB / 0.6378 GB, free: 4.867 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009067/0.7288, allocations: 3.577 MB / 0.6413 GB, free: 1.152 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/0.7312, allocations: 1.026 MB / 0.6423 GB, free: 124 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006796/0.7319, allocations: 0.7297 MB / 0.643 GB, free: 15.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002676/0.7346, allocations: 1.169 MB / 0.6442 GB, free: 14.03 MB / 474.7 MB Notification: Performance of pre-optimization done (n=132): time 8.416e-06/0.7347, allocations: 0 / 0.6442 GB, free: 14.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.03808/0.7727, allocations: 10.81 MB / 0.6547 GB, free: 3.188 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.7729, allocations: 120.1 kB / 0.6549 GB, free: 3.047 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/0.7756, allocations: 1.473 MB / 0.6563 GB, free: 1.566 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005272/0.7762, allocations: 49.7 kB / 0.6563 GB, free: 1.512 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006756/0.7768, allocations: 0.6756 MB / 0.657 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007344/0.7776, allocations: 489 kB / 0.6575 GB, free: 348 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.7778, allocations: 32 kB / 0.6575 GB, free: 316 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.778, allocations: 357.9 kB / 0.6578 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.78, allocations: 0.9058 MB / 0.6587 GB, free: 15.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.7821, allocations: 1.094 MB / 0.6598 GB, free: 13.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003974/0.7861, allocations: 2 MB / 0.6617 GB, free: 11.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.7861, allocations: 0 / 0.6617 GB, free: 11.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.006806/0.7929, allocations: 3.024 MB / 0.6647 GB, free: 8.812 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.793, allocations: 11.94 kB / 0.6647 GB, free: 8.801 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.793, allocations: 4 kB / 0.6647 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009681/0.8027, allocations: 3.05 MB / 0.6677 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.804, allocations: 231.7 kB / 0.6679 GB, free: 5.516 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007245/0.8113, allocations: 3.007 MB / 0.6708 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.814, allocations: 266.6 kB / 0.6711 GB, free: 2.223 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/0.8143, allocations: 55.97 kB / 0.6712 GB, free: 2.168 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,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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.001136/0.8155, allocations: 309.3 kB / 0.6714 GB, free: 1.855 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006201/0.8161, allocations: 173.8 kB / 0.6716 GB, free: 1.684 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2968/1.113, allocations: 5.966 MB / 0.6774 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/1.113, allocations: 13.75 kB / 0.6775 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.113, allocations: 1.375 kB / 0.6775 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.457e-05/1.113, allocations: 8.953 kB / 0.6775 GB, free: 114.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.02091/1.134, allocations: 8.071 MB / 0.6853 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.134, allocations: 5.219 kB / 0.6854 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.135, allocations: 152.3 kB / 0.6855 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0073/1.143, allocations: 2.513 MB / 0.6879 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003701/1.143, allocations: 34.31 kB / 0.688 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02306/1.166, allocations: 10.31 MB / 0.6981 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.166, allocations: 3.828 kB / 0.6981 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01926/1.185, allocations: 7.169 MB / 0.7051 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.187, allocations: 289.5 kB / 0.7053 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/1.187, allocations: 28.23 kB / 0.7054 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/1.189, allocations: 189.1 kB / 0.7055 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008704/1.189, allocations: 257.3 kB / 0.7058 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.19, allocations: 36.25 kB / 0.7058 GB, free: 111.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001923/1.191, allocations: 1.011 MB / 0.7068 GB, free: 110.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.191, allocations: 2.781 kB / 0.7068 GB, free: 110.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002227/1.194, allocations: 0.5446 MB / 0.7073 GB, free: 110.8 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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.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 (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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004833/1.194, allocations: 203.9 kB / 0.7075 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009213/1.203, allocations: 2.989 MB / 0.7105 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.203, allocations: 4.484 kB / 0.7105 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007042/1.211, allocations: 2.196 MB / 0.7126 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/1.213, allocations: 167.8 kB / 0.7128 GB, free: 109.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/1.219, allocations: 3.764 MB / 0.7164 GB, free: 106.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.22, allocations: 1.27 MB / 0.7177 GB, free: 106.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008764/1.221, allocations: 139.8 kB / 0.7178 GB, free: 106.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/1.222, allocations: 89.19 kB / 0.7179 GB, free: 106.2 MB / 490.7 MB Notification: Performance of SimCode: time 2.204e-06/1.222, allocations: 0 / 0.7179 GB, free: 106.2 MB / 490.7 MB Notification: Performance of Templates: time 0.04085/1.262, allocations: 25.61 MB / 0.7429 GB, free: 104.8 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.IEEEX1.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.IEEEX1.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_IEEEX1 -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_release_OpenIPSL.Examples.Controls.PSSE.ES.IEEEX1.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.IEEEX1.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.IEEEX1.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.IEEEX1_model.h:26: ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.IEEEX1_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.IEEEX1.o] Error 1