Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.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.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007366/0.007366, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.497/1.497, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0008637/0.0008635, allocations: 90.84 kB / 269.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07443/0.07443, allocations: 12.61 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5022/0.5022, allocations: 78.51 MB / 460 MB, free: 3.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005146, allocations: 19.94 kB / 0.5285 GB, free: 35.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1433, allocations: 69.33 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.462/0.6053, allocations: 112.3 MB / 0.7059 GB, free: 32.61 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.6057, allocations: 93.66 kB / 0.706 GB, free: 32.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1099/0.7157, allocations: 42.07 MB / 0.747 GB, free: 24.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7157, allocations: 0 / 0.747 GB, free: 24.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001563/0.7159, allocations: 27.25 kB / 0.7471 GB, free: 24.3 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.008066/0.724, allocations: 2.559 MB / 0.7496 GB, free: 22.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.724, allocations: 15.64 kB / 0.7496 GB, free: 22.86 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.7276, allocations: 0.5617 MB / 0.7501 GB, free: 22.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/0.7306, allocations: 1.087 MB / 0.7512 GB, free: 22.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004553/0.731, allocations: 431.5 kB / 0.7516 GB, free: 21.72 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004599/0.7315, allocations: 100.4 kB / 0.7517 GB, free: 21.72 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/0.7349, allocations: 1.519 MB / 0.7532 GB, free: 21.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.735, allocations: 3.984 kB / 0.7532 GB, free: 21.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.7351, allocations: 36.84 kB / 0.7532 GB, free: 21.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.7352, allocations: 23.12 kB / 0.7532 GB, free: 21.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.7382, allocations: 1.469 MB / 0.7547 GB, free: 21.07 MB / 474.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.008883/0.7471, allocations: 4.947 MB / 0.7595 GB, free: 18.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008291/0.7554, allocations: 3.542 MB / 0.763 GB, free: 17.25 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.7555, allocations: 24.11 kB / 0.763 GB, free: 17.24 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002152/0.7577, allocations: 1.159 MB / 0.7641 GB, free: 16.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 4.729e-06/0.7577, allocations: 0 / 0.7641 GB, free: 16.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=126): time 0.03796/0.7957, allocations: 11.29 MB / 0.7751 GB, free: 13.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.7958, allocations: 149.1 kB / 0.7753 GB, free: 12.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/0.7987, allocations: 1.272 MB / 0.7765 GB, free: 12.28 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003615/0.7991, allocations: 47.33 kB / 0.7766 GB, free: 12.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/0.7996, allocations: 0.642 MB / 0.7772 GB, free: 11.92 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000668/0.8003, allocations: 443.5 kB / 0.7776 GB, free: 11.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.8005, allocations: 21.44 kB / 0.7776 GB, free: 11.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8006, allocations: 359.6 kB / 0.778 GB, free: 11.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.8024, allocations: 0.8578 MB / 0.7788 GB, free: 10.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.8043, allocations: 1.023 MB / 0.7798 GB, free: 9.824 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.8063, allocations: 0.9181 MB / 0.7807 GB, free: 9.234 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.8063, allocations: 0 / 0.7807 GB, free: 9.234 MB / 474.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006035/0.8123, allocations: 2.854 MB / 0.7835 GB, free: 7.184 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002893/0.8126, allocations: 1.353 MB / 0.7848 GB, free: 5.734 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.8126, allocations: 4 kB / 0.7848 GB, free: 5.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008534/0.8212, allocations: 3.018 MB / 0.7878 GB, free: 3.008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009197/0.8221, allocations: 194.7 kB / 0.788 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005709/0.8278, allocations: 3.005 MB / 0.7909 GB, free: 480 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.8302, allocations: 273 kB / 0.7912 GB, free: 224 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.8305, allocations: 41.86 kB / 0.7912 GB, free: 192 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.8305, allocations: 11.88 kB / 0.7912 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005848/0.8364, allocations: 2.651 MB / 0.7938 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.8364, allocations: 8 kB / 0.7938 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009734/0.8461, allocations: 3.023 MB / 0.7968 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.8474, allocations: 199.7 kB / 0.797 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006742/0.8541, allocations: 3 MB / 0.7999 GB, free: 8.223 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/0.8569, allocations: 262.8 kB / 0.8001 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/0.8572, allocations: 47.98 kB / 0.8002 GB, free: 7.918 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.001239/0.8584, allocations: 368.8 kB / 0.8005 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007327/0.8592, allocations: 165.9 kB / 0.8007 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/0.8767, allocations: 5.886 MB / 0.8064 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-05/0.8768, allocations: 19.98 kB / 0.8065 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.8768, allocations: 0 / 0.8065 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-05/0.8768, allocations: 3.984 kB / 0.8065 GB, free: 1.453 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.02228/0.8991, allocations: 8.005 MB / 0.8143 GB, free: 9.344 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.8992, allocations: 8.031 kB / 0.8143 GB, free: 9.336 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.9004, allocations: 143.8 kB / 0.8144 GB, free: 9.195 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00771/0.9081, allocations: 2.497 MB / 0.8169 GB, free: 6.695 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000352/0.9085, allocations: 31.98 kB / 0.8169 GB, free: 6.664 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02638/0.9349, allocations: 10.88 MB / 0.8275 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.9349, allocations: 7.938 kB / 0.8275 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02054/0.9555, allocations: 7.164 MB / 0.8345 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009936/0.9565, allocations: 286.6 kB / 0.8348 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006836/0.9572, allocations: 27.98 kB / 0.8348 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/0.9595, allocations: 203.8 kB / 0.835 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009671/0.9605, allocations: 257.3 kB / 0.8353 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/0.9607, allocations: 39.92 kB / 0.8353 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002514/0.9633, allocations: 1.003 MB / 0.8363 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.62e-07/0.9633, allocations: 4 kB / 0.8363 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0034/0.9667, allocations: 0.7606 MB / 0.837 GB, free: 1.848 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1],sEXS.transferFunction.x_scaled[1]) * 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 (83): * Single equations (assignments): 82 * 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.0005422/0.9672, allocations: 184.7 kB / 0.8372 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01466/0.9819, allocations: 4.798 MB / 0.8419 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.982, allocations: 0 / 0.8419 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006448/0.9884, allocations: 2.183 MB / 0.844 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.9903, allocations: 137.4 kB / 0.8441 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/0.9976, allocations: 3.675 MB / 0.8477 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.9987, allocations: 1.275 MB / 0.849 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009188/0.9996, allocations: 156.7 kB / 0.8491 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/1, allocations: 87.42 kB / 0.8492 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.493e-06/1, allocations: 0 / 0.8492 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.05087/1.051, allocations: 30.14 MB / 0.8786 GB, free: 7.133 MB / 0.5574 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.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_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS -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_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS_functions.h:153: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_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.o] Error 1