Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004205/0.004205, allocations: 170.2 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 223.2 MB / 239 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007945/0.0007945, allocations: 106 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3938/0.3938, allocations: 78.51 MB / 419.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 16 kB / 499.7 MB, free: 2.75 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3053, allocations: 69.35 MB / 0.5557 GB, free: 38.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4274, allocations: 116.9 MB / 0.6699 GB, free: 5.484 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.4276, allocations: 91.95 kB / 0.6699 GB, free: 5.395 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1217/0.5493, allocations: 48.89 MB / 0.7177 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.91e-07/0.5494, allocations: 0 / 0.7177 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001278/0.5495, allocations: 40 kB / 0.7177 GB, free: 4.219 MB / 0.5105 GB 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.007609/0.5571, allocations: 2.84 MB / 0.7205 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.389e-05/0.5572, allocations: 8.031 kB / 0.7205 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/0.5603, allocations: 0.6062 MB / 0.7211 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.5627, allocations: 1.193 MB / 0.7223 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005603/0.5633, allocations: 0.5702 MB / 0.7228 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/0.5637, allocations: 127.9 kB / 0.7229 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.5672, allocations: 1.794 MB / 0.7247 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.5673, allocations: 4 kB / 0.7247 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.5674, allocations: 52 kB / 0.7247 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.5675, allocations: 28 kB / 0.7248 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003484/0.571, allocations: 1.712 MB / 0.7264 GB, free: 11.03 MB / 0.5261 GB 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.009766/0.5807, allocations: 5.896 MB / 0.7322 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009354/0.5901, allocations: 3.911 MB / 0.736 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004866/0.5906, allocations: 0.7343 MB / 0.7367 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002347/0.593, allocations: 1.313 MB / 0.738 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=156): time 3.276e-06/0.593, allocations: 0 / 0.738 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=156): time 0.04849/0.6415, allocations: 14.59 MB / 0.7523 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.6416, allocations: 179.5 kB / 0.7524 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.6439, allocations: 1.376 MB / 0.7538 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001863/0.6441, allocations: 53.7 kB / 0.7538 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.6446, allocations: 0.735 MB / 0.7546 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005047/0.6451, allocations: 0.5313 MB / 0.7551 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.6453, allocations: 32 kB / 0.7551 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6454, allocations: 365.9 kB / 0.7555 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.6475, allocations: 1.003 MB / 0.7564 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.6496, allocations: 1.187 MB / 0.7576 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.6517, allocations: 1.097 MB / 0.7587 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.6518, allocations: 0 / 0.7587 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.006841/0.6586, allocations: 3.566 MB / 0.7621 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005313/0.6592, allocations: 1.4 MB / 0.7635 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.6592, allocations: 4 kB / 0.7635 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/0.6702, allocations: 3.853 MB / 0.7673 GB, free: 364 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008587/0.6711, allocations: 175.7 kB / 0.7674 GB, free: 188 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.232/0.9031, allocations: 4.124 MB / 0.7715 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.9054, allocations: 301.9 kB / 0.7718 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.9055, allocations: 66.03 kB / 0.7718 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.9055, allocations: 3.594 kB / 0.7718 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006532/0.9121, allocations: 3.402 MB / 0.7751 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.9121, allocations: 5.625 kB / 0.7752 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009903/0.922, allocations: 3.819 MB / 0.7789 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.9228, allocations: 171.2 kB / 0.779 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007089/0.9299, allocations: 4.017 MB / 0.783 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.9319, allocations: 292.8 kB / 0.7832 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.9321, allocations: 61.64 kB / 0.7833 GB, free: 130.4 MB / 0.5573 GB 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.0008216/0.9329, allocations: 445.3 kB / 0.7837 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.9332, allocations: 192.3 kB / 0.7839 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/0.949, allocations: 6.624 MB / 0.7904 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.949, allocations: 19.06 kB / 0.7904 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.949, allocations: 0.8438 kB / 0.7904 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.787e-05/0.9491, allocations: 11.52 kB / 0.7904 GB, free: 129.8 MB / 0.5573 GB 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.02008/0.9692, allocations: 9.219 MB / 0.7994 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.9692, allocations: 1.312 kB / 0.7994 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000953/0.9702, allocations: 146.5 kB / 0.7996 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008318/0.9785, allocations: 2.943 MB / 0.8024 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.9788, allocations: 34.17 kB / 0.8025 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0256/1.004, allocations: 12.08 MB / 0.8143 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.004, allocations: 3.047 kB / 0.8143 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02112/1.026, allocations: 8.193 MB / 0.8223 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007708/1.026, allocations: 309.5 kB / 0.8226 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006835/1.027, allocations: 36 kB / 0.8226 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/1.029, allocations: 216.6 kB / 0.8228 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/1.03, allocations: 288.6 kB / 0.8231 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.031, allocations: 47.17 kB / 0.8231 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002005/1.033, allocations: 1.068 MB / 0.8242 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.61e-07/1.033, allocations: 2.25 kB / 0.8242 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003148/1.036, allocations: 0.9094 MB / 0.8251 GB, free: 120.2 MB / 0.5573 GB 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.000552/1.036, allocations: 211.7 kB / 0.8253 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.051, allocations: 5.821 MB / 0.8309 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.051, allocations: 0 / 0.8309 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006329/1.058, allocations: 2.515 MB / 0.8334 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.059, allocations: 155.3 kB / 0.8335 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/1.066, allocations: 4.318 MB / 0.8378 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008782/1.067, allocations: 1.38 MB / 0.8391 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008709/1.068, allocations: 152.6 kB / 0.8393 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/1.068, allocations: 87.59 kB / 0.8393 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/1.068, allocations: 0 / 0.8393 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.05223/1.121, allocations: 38.78 MB / 0.8772 GB, free: 93.16 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Tests_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_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.o OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.c In file included from OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.c:7: In file included from ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A_model.h:24: ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A_functions.h:161: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.Tests.Controls.PSSE.ES.ESAC2A.o] Error 1