Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.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.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 176.1 kB / 16.12 MB, free: 5.668 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.463/1.463, 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.0007615/0.0007615, allocations: 92.94 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.3341/0.3341, allocations: 42.28 MB / 361.2 MB, free: 49.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004519, allocations: 16 kB / 429.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1132, allocations: 57.55 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4627, allocations: 111.8 MB / 0.5848 GB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.463, allocations: 91.94 kB / 0.5849 GB, free: 11.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1328/0.5959, allocations: 47.28 MB / 0.6311 GB, free: 12.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5959, allocations: 0 / 0.6311 GB, free: 12.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002082/0.5961, allocations: 39.94 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.009416/0.6056, allocations: 2.816 MB / 0.6338 GB, free: 9.352 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.6056, allocations: 8.031 kB / 0.6339 GB, free: 9.344 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/0.6093, allocations: 0.5984 MB / 0.6344 GB, free: 8.742 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/0.613, allocations: 1.273 MB / 0.6357 GB, free: 7.418 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007464/0.6138, allocations: 0.5663 MB / 0.6362 GB, free: 6.758 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006293/0.6145, allocations: 135.9 kB / 0.6364 GB, free: 6.625 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004585/0.6191, allocations: 1.802 MB / 0.6381 GB, free: 4.781 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.6192, allocations: 0 / 0.6381 GB, free: 4.781 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.6194, allocations: 52 kB / 0.6382 GB, free: 4.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.6194, allocations: 32 kB / 0.6382 GB, free: 4.699 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004192/0.6236, allocations: 1.704 MB / 0.6399 GB, free: 2.988 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.01338/0.637, allocations: 5.905 MB / 0.6456 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.6471, allocations: 3.891 MB / 0.6494 GB, free: 8.844 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002866/0.65, allocations: 1.188 MB / 0.6506 GB, free: 7.648 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007316/0.6508, allocations: 0.7453 MB / 0.6513 GB, free: 6.738 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003257/0.6541, allocations: 1.317 MB / 0.6526 GB, free: 5.398 MB / 474.7 MB Notification: Performance of pre-optimization done (n=156): time 4.969e-06/0.6541, allocations: 0 / 0.6526 GB, free: 5.398 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.05323/0.7073, allocations: 14.69 MB / 0.6669 GB, free: 6.637 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.7075, allocations: 179.5 kB / 0.6671 GB, free: 6.426 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/0.7106, allocations: 1.564 MB / 0.6686 GB, free: 4.859 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003368/0.711, allocations: 53.7 kB / 0.6687 GB, free: 4.801 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006563/0.7116, allocations: 0.7351 MB / 0.6694 GB, free: 4.059 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007719/0.7124, allocations: 0.5314 MB / 0.6699 GB, free: 3.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.7126, allocations: 32 kB / 0.67 GB, free: 3.488 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.7128, allocations: 369.8 kB / 0.6703 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.7152, allocations: 1.007 MB / 0.6713 GB, free: 2.113 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.7178, allocations: 1.194 MB / 0.6725 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2032/0.921, allocations: 2.25 MB / 0.6747 GB, free: 110.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.9211, allocations: 0.9688 kB / 0.6747 GB, free: 110.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.008745/0.9298, allocations: 3.567 MB / 0.6781 GB, free: 110.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.93, allocations: 233 kB / 0.6784 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.93, allocations: 2.75 kB / 0.6784 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/0.9408, allocations: 3.86 MB / 0.6821 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007764/0.9416, allocations: 169.6 kB / 0.6823 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008448/0.9501, allocations: 4.13 MB / 0.6863 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/0.9523, allocations: 306.5 kB / 0.6866 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/0.9526, allocations: 64 kB / 0.6867 GB, free: 109.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.9526, allocations: 3.438 kB / 0.6867 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006592/0.9592, allocations: 3.408 MB / 0.69 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.9592, allocations: 3.25 kB / 0.69 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.9693, allocations: 3.819 MB / 0.6938 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007999/0.9701, allocations: 174.4 kB / 0.6939 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007915/0.978, allocations: 4.014 MB / 0.6978 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/0.9803, allocations: 289.7 kB / 0.6981 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.9805, allocations: 54.47 kB / 0.6982 GB, free: 108.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {35 69} Notification: Performance of prepare postOptimizeDAE: time 0.001124/0.9817, allocations: 455 kB / 0.6986 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006833/0.9824, allocations: 200.9 kB / 0.6988 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01867/1.001, allocations: 6.619 MB / 0.7053 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/1.001, allocations: 16.25 kB / 0.7053 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.001, allocations: 1.188 kB / 0.7053 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.77e-05/1.001, allocations: 6.984 kB / 0.7053 GB, free: 107.5 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.02438/1.026, allocations: 9.223 MB / 0.7143 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/1.026, allocations: 8.281 kB / 0.7143 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000923/1.027, allocations: 141 kB / 0.7144 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009102/1.036, allocations: 2.944 MB / 0.7173 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000283/1.036, allocations: 39.19 kB / 0.7173 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02385/1.06, allocations: 11.5 MB / 0.7286 GB, free: 98.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.06, allocations: 3 kB / 0.7286 GB, free: 98.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/1.08, allocations: 8.146 MB / 0.7365 GB, free: 96.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/1.081, allocations: 318 kB / 0.7368 GB, free: 96.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007501/1.082, allocations: 34.88 kB / 0.7369 GB, free: 96.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/1.084, allocations: 213 kB / 0.7371 GB, free: 96.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/1.085, allocations: 290 kB / 0.7374 GB, free: 96.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/1.086, allocations: 47.77 kB / 0.7374 GB, free: 96.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001887/1.088, allocations: 1.072 MB / 0.7384 GB, free: 95.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.088, allocations: 0 / 0.7384 GB, free: 95.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003198/1.091, allocations: 0.9028 MB / 0.7393 GB, free: 95.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSAC2A.imLeadLag.TF.x_scaled[1],eSAC2A.imSimpleLag.state,eSAC2A.simpleLagLim.state,eSAC2A.derivative.x,eSAC2A.rotatingExciterWithDemagnetization.sISO.w) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 5 (eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising) * 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 23,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005287/1.091, allocations: 213.6 kB / 0.7395 GB, free: 95.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01549/1.107, allocations: 5.825 MB / 0.7452 GB, free: 93.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.107, allocations: 2.344 kB / 0.7452 GB, free: 93.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006601/1.113, allocations: 2.517 MB / 0.7477 GB, free: 93.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/1.116, allocations: 179.1 kB / 0.7479 GB, free: 92.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/1.123, allocations: 4.256 MB / 0.752 GB, free: 90.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008806/1.124, allocations: 1.346 MB / 0.7533 GB, free: 88.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000908/1.124, allocations: 154.8 kB / 0.7535 GB, free: 88.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/1.125, allocations: 86.47 kB / 0.7536 GB, free: 88.72 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/1.125, allocations: 0 / 0.7536 GB, free: 88.72 MB / 490.7 MB Notification: Performance of Templates: time 0.0533/1.178, allocations: 38.87 MB / 0.7915 GB, free: 59.65 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.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_ESAC2A -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A_model.h:26: ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A_functions.h:155: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.ESAC2A.o] Error 1