Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXAC2.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.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXAC2") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXAC2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 183.2 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.387/1.387, allocations: 205.4 MB / 222.3 MB, free: 9.023 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.0007001/0.0007001, allocations: 92.97 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.2831/0.2831, allocations: 42.28 MB / 361.2 MB, free: 49.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 12 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.105, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3428/0.4479, allocations: 111.5 MB / 0.5844 GB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4482, allocations: 85.73 kB / 0.5845 GB, free: 12.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1551/0.6033, allocations: 48.59 MB / 0.632 GB, free: 11.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.6034, allocations: 0 / 0.632 GB, free: 11.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001711/0.6036, allocations: 36 kB / 0.632 GB, free: 11.33 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.01489/0.6185, allocations: 2.792 MB / 0.6347 GB, free: 8.477 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.6185, allocations: 8.031 kB / 0.6347 GB, free: 8.469 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006221/0.6248, allocations: 0.6037 MB / 0.6353 GB, free: 7.863 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005139/0.63, allocations: 1.277 MB / 0.6366 GB, free: 6.535 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001118/0.6311, allocations: 0.5043 MB / 0.6371 GB, free: 5.949 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005743/0.6317, allocations: 120 kB / 0.6372 GB, free: 5.832 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007451/0.6392, allocations: 1.747 MB / 0.6389 GB, free: 4.035 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.6393, allocations: 4 kB / 0.6389 GB, free: 4.031 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002539/0.6396, allocations: 48 kB / 0.6389 GB, free: 3.984 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.6396, allocations: 35.94 kB / 0.639 GB, free: 3.949 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006294/0.6459, allocations: 1.645 MB / 0.6406 GB, free: 2.297 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.02139/0.6674, allocations: 5.709 MB / 0.6462 GB, free: 12.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.6786, allocations: 3.827 MB / 0.6499 GB, free: 8.406 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/0.6814, allocations: 1.104 MB / 0.651 GB, free: 7.293 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000653/0.6821, allocations: 0.7336 MB / 0.6517 GB, free: 6.395 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002762/0.6848, allocations: 1.274 MB / 0.6529 GB, free: 5.098 MB / 474.7 MB Notification: Performance of pre-optimization done (n=143): time 3.477e-06/0.6849, allocations: 0 / 0.6529 GB, free: 5.098 MB / 474.7 MB Notification: Performance of matching and sorting (n=143): time 0.04641/0.7313, allocations: 12.62 MB / 0.6653 GB, free: 8.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/0.7314, allocations: 149.8 kB / 0.6654 GB, free: 8.254 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/0.7346, allocations: 1.556 MB / 0.6669 GB, free: 6.695 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004823/0.7351, allocations: 53.7 kB / 0.667 GB, free: 6.637 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006278/0.7357, allocations: 0.7346 MB / 0.6677 GB, free: 5.895 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006778/0.7364, allocations: 0.4928 MB / 0.6682 GB, free: 5.395 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.7365, allocations: 32 kB / 0.6682 GB, free: 5.363 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.7367, allocations: 361.9 kB / 0.6685 GB, free: 5.004 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.7391, allocations: 0.98 MB / 0.6695 GB, free: 4.023 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002433/0.7415, allocations: 1.184 MB / 0.6707 GB, free: 2.785 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004582/0.7461, allocations: 2.129 MB / 0.6727 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.7462, allocations: 0 / 0.6727 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.2177/0.9639, allocations: 3.289 MB / 0.6759 GB, free: 110.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002162/0.9641, allocations: 209.3 kB / 0.6761 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.9642, allocations: 9.406 kB / 0.6762 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/0.9749, allocations: 3.154 MB / 0.6792 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.9762, allocations: 242.1 kB / 0.6795 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006919/0.9831, allocations: 3.68 MB / 0.6831 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.9855, allocations: 298.6 kB / 0.6833 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000296/0.9858, allocations: 55.84 kB / 0.6834 GB, free: 109.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.9858, allocations: 7.344 kB / 0.6834 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006867/0.9927, allocations: 3.076 MB / 0.6864 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.9928, allocations: 4.062 kB / 0.6864 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009273/1.002, allocations: 3.159 MB / 0.6895 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/1.003, allocations: 242.5 kB / 0.6897 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006891/1.01, allocations: 3.682 MB / 0.6933 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/1.013, allocations: 281.9 kB / 0.6936 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002896/1.013, allocations: 56.59 kB / 0.6936 GB, free: 108.3 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,eXAC2.rotatingExciterWithDemagnetizationLimited.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: 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.001066/1.014, allocations: 405.6 kB / 0.694 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004911/1.015, allocations: 186.6 kB / 0.6942 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/1.03, allocations: 6.078 MB / 0.7001 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/1.03, allocations: 23.41 kB / 0.7002 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.03, allocations: 0 / 0.7002 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.843e-05/1.03, allocations: 13.89 kB / 0.7002 GB, free: 107.6 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.01981/1.05, allocations: 8.431 MB / 0.7084 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/1.05, allocations: 4.578 kB / 0.7084 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/1.051, allocations: 201.5 kB / 0.7086 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00766/1.059, allocations: 2.503 MB / 0.7111 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003154/1.059, allocations: 30.64 kB / 0.7111 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02427/1.084, allocations: 10.32 MB / 0.7212 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.084, allocations: 3.875 kB / 0.7212 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01893/1.103, allocations: 7.471 MB / 0.7285 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/1.103, allocations: 300.9 kB / 0.7287 GB, free: 99.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/1.104, allocations: 33.31 kB / 0.7288 GB, free: 99.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.106, allocations: 214.9 kB / 0.729 GB, free: 99.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000986/1.107, allocations: 280.2 kB / 0.7293 GB, free: 99.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.107, allocations: 42.53 kB / 0.7293 GB, free: 99.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0016/1.108, allocations: 1.069 MB / 0.7303 GB, free: 99.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.108, allocations: 0 / 0.7303 GB, free: 99.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002257/1.111, allocations: 0.8724 MB / 0.7312 GB, free: 99.25 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,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.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 (100): * Single equations (assignments): 99 * 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.0004882/1.111, allocations: 210.7 kB / 0.7314 GB, free: 99.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01474/1.126, allocations: 5.272 MB / 0.7365 GB, free: 97.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.126, allocations: 0.875 kB / 0.7365 GB, free: 97.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006262/1.132, allocations: 2.299 MB / 0.7388 GB, free: 97.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/1.134, allocations: 179.5 kB / 0.739 GB, free: 97.01 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/1.14, allocations: 4.16 MB / 0.743 GB, free: 94.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006837/1.141, allocations: 1.323 MB / 0.7443 GB, free: 93.87 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009279/1.142, allocations: 180.9 kB / 0.7445 GB, free: 93.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/1.142, allocations: 93.56 kB / 0.7446 GB, free: 93.83 MB / 490.7 MB Notification: Performance of SimCode: time 1.103e-06/1.142, allocations: 0 / 0.7446 GB, free: 93.83 MB / 490.7 MB Notification: Performance of Templates: time 0.04472/1.187, allocations: 33.58 MB / 0.7774 GB, free: 74.31 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXAC2.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXAC2.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_EXAC2 -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_OpenIPSL.Examples.Controls.PSSE.ES.EXAC2.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXAC2.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXAC2.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXAC2_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.EXAC2_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.EXAC2.o] Error 1