Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXAC1.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.EXAC1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXAC1") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.EXAC1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXAC1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009108/0.0009108, allocations: 171.6 kB / 16.11 MB, free: 5.582 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.547/1.547, 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.00071/0.00071, allocations: 96.83 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.2814/0.2814, allocations: 42.3 MB / 361.2 MB, free: 49.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 19.98 kB / 429.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1013, allocations: 57.55 MB / 487 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3098/0.4111, allocations: 110.2 MB / 0.5832 GB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.4115, allocations: 93.92 kB / 0.5832 GB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1315/0.543, allocations: 47.01 MB / 0.6292 GB, free: 14.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.543, allocations: 4 kB / 0.6292 GB, free: 14.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001743/0.5432, allocations: 39.92 kB / 0.6292 GB, free: 14.21 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.008177/0.5514, allocations: 2.686 MB / 0.6318 GB, free: 11.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5515, allocations: 12.03 kB / 0.6318 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.5549, allocations: 0.5882 MB / 0.6324 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/0.5578, allocations: 1.229 MB / 0.6336 GB, free: 9.578 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005835/0.5584, allocations: 0.4963 MB / 0.6341 GB, free: 9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003725/0.5588, allocations: 115.9 kB / 0.6342 GB, free: 8.887 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.5623, allocations: 1.662 MB / 0.6358 GB, free: 7.176 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.5623, allocations: 0 / 0.6358 GB, free: 7.176 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.5625, allocations: 40 kB / 0.6359 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.5625, allocations: 32 kB / 0.6359 GB, free: 7.105 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003567/0.5661, allocations: 1.566 MB / 0.6374 GB, free: 5.531 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.01054/0.5767, allocations: 5.474 MB / 0.6428 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008878/0.5856, allocations: 3.694 MB / 0.6464 GB, free: 12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/0.5878, allocations: 1.078 MB / 0.6474 GB, free: 10.92 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006186/0.5885, allocations: 0.7297 MB / 0.6481 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00256/0.591, allocations: 1.235 MB / 0.6493 GB, free: 8.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=136): time 3.556e-06/0.5911, allocations: 0 / 0.6493 GB, free: 8.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=136): time 0.0409/0.632, allocations: 12.17 MB / 0.6612 GB, free: 12.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.6321, allocations: 120.1 kB / 0.6613 GB, free: 12.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.6348, allocations: 1.49 MB / 0.6628 GB, free: 10.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002757/0.6351, allocations: 53.7 kB / 0.6629 GB, free: 10.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/0.6356, allocations: 0.703 MB / 0.6635 GB, free: 10.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006173/0.6363, allocations: 488.9 kB / 0.664 GB, free: 9.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.6364, allocations: 36 kB / 0.664 GB, free: 9.625 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.6366, allocations: 357.9 kB / 0.6644 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.6389, allocations: 0.9409 MB / 0.6653 GB, free: 8.328 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.6411, allocations: 1.141 MB / 0.6664 GB, free: 7.137 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004271/0.6454, allocations: 2.062 MB / 0.6684 GB, free: 5.027 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.6454, allocations: 0 / 0.6684 GB, free: 5.027 MB / 490.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007159/0.6526, allocations: 3.216 MB / 0.6716 GB, free: 1.793 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6526, allocations: 4 kB / 0.6716 GB, free: 1.789 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.6526, allocations: 4 kB / 0.6716 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2556/0.9082, allocations: 3.157 MB / 0.6747 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.9102, allocations: 229 kB / 0.6749 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.9218, allocations: 3.683 MB / 0.6785 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/0.9251, allocations: 282.7 kB / 0.6787 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/0.9254, allocations: 51.31 kB / 0.6788 GB, free: 111.4 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,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * 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.001132/0.9266, allocations: 314.6 kB / 0.6791 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000565/0.9272, allocations: 183 kB / 0.6793 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02517/0.9523, allocations: 6.074 MB / 0.6852 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/0.9524, allocations: 12.97 kB / 0.6852 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.9525, allocations: 6.891 kB / 0.6852 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.541e-05/0.9525, allocations: 9.969 kB / 0.6852 GB, free: 111.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.02898/0.9815, allocations: 8.235 MB / 0.6933 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.9815, allocations: 0 / 0.6933 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.983, allocations: 179.3 kB / 0.6934 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01014/0.9931, allocations: 2.504 MB / 0.6959 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/0.9934, allocations: 31.69 kB / 0.6959 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03594/1.029, allocations: 10.31 MB / 0.706 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.029, allocations: 1.062 kB / 0.706 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03166/1.061, allocations: 7.339 MB / 0.7132 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009929/1.062, allocations: 295.6 kB / 0.7134 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000842/1.063, allocations: 28.36 kB / 0.7135 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003149/1.066, allocations: 196.8 kB / 0.7137 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001551/1.068, allocations: 283.1 kB / 0.7139 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003147/1.068, allocations: 41.97 kB / 0.714 GB, free: 106.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003383/1.072, allocations: 1.027 MB / 0.715 GB, free: 106.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.6e-07/1.072, allocations: 0 / 0.715 GB, free: 106.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003265/1.075, allocations: 0.5497 MB / 0.7155 GB, free: 106 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,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.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 (93): * Single equations (assignments): 92 * 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.0007981/1.076, allocations: 196.1 kB / 0.7157 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01428/1.09, allocations: 3.062 MB / 0.7187 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.09, allocations: 0 / 0.7187 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01005/1.1, allocations: 2.271 MB / 0.7209 GB, free: 104.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/1.103, allocations: 169.3 kB / 0.7211 GB, free: 104.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/1.114, allocations: 3.976 MB / 0.7249 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/1.115, allocations: 1.296 MB / 0.7262 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001363/1.116, allocations: 138.9 kB / 0.7263 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/1.117, allocations: 85.95 kB / 0.7264 GB, free: 101.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/1.117, allocations: 0 / 0.7264 GB, free: 101.2 MB / 490.7 MB Notification: Performance of Templates: time 0.06121/1.178, allocations: 26.93 MB / 0.7527 GB, free: 99.46 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXAC1.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXAC1.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_EXAC1 -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_release_OpenIPSL.Examples.Controls.PSSE.ES.EXAC1.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXAC1.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXAC1.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXAC1_model.h:26: ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXAC1_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.EXAC1.o] Error 1