Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.005391/0.005391, allocations: 171.5 kB / 15.11 MB, free: 5.973 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.219/1.219, allocations: 223.2 MB / 239 MB, free: 44 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007939/0.000794, allocations: 100.3 kB / 290.2 MB, free: 4.602 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4571/0.4571, allocations: 79.43 MB / 420.8 MB, free: 36.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 15.98 kB / 0.489 GB, free: 6.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1363, allocations: 69.53 MB / 0.5569 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3641/0.5005, allocations: 117.5 MB / 0.6717 GB, free: 15.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5008, allocations: 92.73 kB / 0.6718 GB, free: 15.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1241/0.6249, allocations: 47.33 MB / 0.718 GB, free: 224 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6249, allocations: 0 / 0.718 GB, free: 224 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.827e-05/0.625, allocations: 40 kB / 0.718 GB, free: 184 kB / 0.4948 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.007556/0.6326, allocations: 2.842 MB / 0.7208 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.6326, allocations: 8.031 kB / 0.7208 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/0.6366, allocations: 0.7272 MB / 0.7215 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.6391, allocations: 1.232 MB / 0.7227 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005848/0.6397, allocations: 0.5663 MB / 0.7233 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.64, allocations: 135.9 kB / 0.7234 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003349/0.6433, allocations: 1.797 MB / 0.7252 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.6434, allocations: 3.938 kB / 0.7252 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.6435, allocations: 60 kB / 0.7252 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.6435, allocations: 32 kB / 0.7253 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003393/0.6469, allocations: 1.7 MB / 0.7269 GB, free: 6.824 MB / 0.5105 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.01037/0.6573, allocations: 5.943 MB / 0.7327 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009375/0.6667, allocations: 3.903 MB / 0.7365 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005686/0.6673, allocations: 0.7413 MB / 0.7373 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002566/0.6699, allocations: 1.305 MB / 0.7385 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=156): time 4.779e-06/0.6699, allocations: 0 / 0.7385 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156): time 0.05145/0.7213, allocations: 14.6 MB / 0.7528 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.7215, allocations: 175.5 kB / 0.753 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.7241, allocations: 1.423 MB / 0.7544 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003356/0.7245, allocations: 53.7 kB / 0.7544 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005642/0.7251, allocations: 0.735 MB / 0.7551 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/0.7257, allocations: 0.5313 MB / 0.7556 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.7258, allocations: 36 kB / 0.7557 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7259, allocations: 361.9 kB / 0.756 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.728, allocations: 1.003 MB / 0.757 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.7301, allocations: 1.194 MB / 0.7582 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.7323, allocations: 1.093 MB / 0.7592 GB, free: 5.027 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.7323, allocations: 7.984 kB / 0.7592 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007452/0.7398, allocations: 3.562 MB / 0.7627 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006439/0.7404, allocations: 1.396 MB / 0.7641 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.7405, allocations: 0 / 0.7641 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/0.7521, allocations: 3.863 MB / 0.7679 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.7531, allocations: 171.7 kB / 0.768 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008735/0.7618, allocations: 4.134 MB / 0.7721 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/0.7642, allocations: 306.5 kB / 0.7724 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.7644, allocations: 59.97 kB / 0.7724 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7644, allocations: 4 kB / 0.7724 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006581/0.771, allocations: 3.406 MB / 0.7757 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.771, allocations: 7.984 kB / 0.7757 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/0.7822, allocations: 3.822 MB / 0.7795 GB, free: 104 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008979/0.7831, allocations: 167.7 kB / 0.7796 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008199/0.7913, allocations: 4.019 MB / 0.7836 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.7937, allocations: 290.6 kB / 0.7838 GB, free: 11.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.7939, allocations: 59.98 kB / 0.7839 GB, free: 11.54 MB / 0.573 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.0008994/0.7948, allocations: 438.7 kB / 0.7843 GB, free: 11.09 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003753/0.7952, allocations: 193.7 kB / 0.7845 GB, free: 10.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0184/0.8136, allocations: 6.631 MB / 0.791 GB, free: 4.242 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/0.8137, allocations: 16 kB / 0.791 GB, free: 4.227 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.8137, allocations: 0 / 0.791 GB, free: 4.227 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-05/0.8137, allocations: 8.719 kB / 0.791 GB, free: 4.219 MB / 0.573 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.242/1.056, allocations: 9.25 MB / 0.8 GB, free: 137.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.056, allocations: 0 / 0.8 GB, free: 137.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009334/1.057, allocations: 146.5 kB / 0.8002 GB, free: 137.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008662/1.065, allocations: 2.946 MB / 0.8031 GB, free: 137.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002855/1.066, allocations: 34.53 kB / 0.8031 GB, free: 137.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02781/1.094, allocations: 12.08 MB / 0.8149 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.094, allocations: 3.281 kB / 0.8149 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/1.114, allocations: 8.194 MB / 0.8229 GB, free: 135.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008216/1.115, allocations: 319.2 kB / 0.8232 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000608/1.115, allocations: 32.41 kB / 0.8232 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.117, allocations: 215.3 kB / 0.8234 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009662/1.118, allocations: 290 kB / 0.8237 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.118, allocations: 47.88 kB / 0.8237 GB, free: 135.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001543/1.12, allocations: 1.101 MB / 0.8248 GB, free: 135.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.12, allocations: 4 kB / 0.8248 GB, free: 135.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002014/1.122, allocations: 0.9079 MB / 0.8257 GB, free: 135 MB / 0.573 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.0003772/1.122, allocations: 208.4 kB / 0.8259 GB, free: 134.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01671/1.139, allocations: 5.828 MB / 0.8316 GB, free: 134.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.139, allocations: 0 / 0.8316 GB, free: 134.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006675/1.146, allocations: 2.508 MB / 0.8341 GB, free: 134.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/1.147, allocations: 154.9 kB / 0.8342 GB, free: 134.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/1.153, allocations: 4.32 MB / 0.8384 GB, free: 132 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008298/1.154, allocations: 1.381 MB / 0.8398 GB, free: 131.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008362/1.155, allocations: 154.9 kB / 0.8399 GB, free: 131.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/1.155, allocations: 89.64 kB / 0.84 GB, free: 131.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.723e-06/1.155, allocations: 0 / 0.84 GB, free: 131.2 MB / 0.573 GB Notification: Performance of Templates: time 0.05099/1.206, allocations: 39.19 MB / 0.8783 GB, free: 129 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_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_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.o] Error 1