Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.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/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.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.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.007215/0.007215, allocations: 170.3 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.456/1.456, allocations: 205.4 MB / 221.2 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.0008894/0.0008894, allocations: 98.8 kB / 269.6 MB, free: 13.36 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.06832/0.06832, allocations: 12.59 MB / 330.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4127/0.4127, allocations: 78.51 MB / 460 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004937, allocations: 22.97 kB / 0.5285 GB, free: 35.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1268, allocations: 69.33 MB / 0.5962 GB, free: 3.805 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4497/0.5766, allocations: 118.5 MB / 0.7119 GB, free: 32.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/0.577, allocations: 93.56 kB / 0.712 GB, free: 32.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.118/0.695, allocations: 47.75 MB / 0.7586 GB, free: 20.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.6951, allocations: 0 / 0.7586 GB, free: 20.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001224/0.6952, allocations: 38.91 kB / 0.7587 GB, free: 20.5 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.008401/0.7036, allocations: 2.841 MB / 0.7614 GB, free: 18.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7037, allocations: 11.67 kB / 0.7614 GB, free: 18.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003547/0.7073, allocations: 0.6128 MB / 0.762 GB, free: 18.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.7101, allocations: 1.201 MB / 0.7632 GB, free: 18.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000481/0.7106, allocations: 0.5619 MB / 0.7638 GB, free: 17.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.7108, allocations: 136 kB / 0.7639 GB, free: 17.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/0.7141, allocations: 1.797 MB / 0.7656 GB, free: 17.06 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.7142, allocations: 0 / 0.7656 GB, free: 17.06 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.7143, allocations: 51.47 kB / 0.7657 GB, free: 17.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.7144, allocations: 30.44 kB / 0.7657 GB, free: 17.06 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/0.7176, allocations: 1.712 MB / 0.7674 GB, free: 16.78 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.01056/0.7281, allocations: 5.887 MB / 0.7731 GB, free: 14.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008695/0.7369, allocations: 3.915 MB / 0.777 GB, free: 12.67 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006101/0.7375, allocations: 0.7275 MB / 0.7777 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002666/0.7402, allocations: 1.32 MB / 0.779 GB, free: 11.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=156): time 5.771e-06/0.7402, allocations: 0 / 0.779 GB, free: 11.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.04952/0.7898, allocations: 14.58 MB / 0.7932 GB, free: 14.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.7899, allocations: 186.7 kB / 0.7934 GB, free: 14.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/0.7926, allocations: 1.372 MB / 0.7947 GB, free: 13.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000423/0.793, allocations: 60.14 kB / 0.7948 GB, free: 13.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005706/0.7936, allocations: 0.736 MB / 0.7955 GB, free: 12.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006529/0.7943, allocations: 0.5327 MB / 0.796 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.7944, allocations: 32.81 kB / 0.7961 GB, free: 12.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7946, allocations: 370.4 kB / 0.7964 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.7968, allocations: 0.9997 MB / 0.7974 GB, free: 11.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/0.7991, allocations: 1.188 MB / 0.7985 GB, free: 10.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/0.8014, allocations: 1.097 MB / 0.7996 GB, free: 9.766 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.8015, allocations: 0 / 0.7996 GB, free: 9.766 MB / 490.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007759/0.8092, allocations: 3.568 MB / 0.8031 GB, free: 6.383 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006966/0.81, allocations: 1.401 MB / 0.8045 GB, free: 4.867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.81, allocations: 4 kB / 0.8045 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/0.822, allocations: 3.849 MB / 0.8082 GB, free: 1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009678/0.823, allocations: 171.8 kB / 0.8084 GB, free: 0.832 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009459/0.8324, allocations: 4.132 MB / 0.8124 GB, free: 12.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.8352, allocations: 302.5 kB / 0.8127 GB, free: 12.38 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.8354, allocations: 59.97 kB / 0.8128 GB, free: 12.32 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.8354, allocations: 7.938 kB / 0.8128 GB, free: 12.31 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007262/0.8427, allocations: 3.406 MB / 0.8161 GB, free: 8.895 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.8427, allocations: 4 kB / 0.8161 GB, free: 8.891 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/0.8543, allocations: 3.821 MB / 0.8198 GB, free: 5.059 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009505/0.8553, allocations: 183.7 kB / 0.82 GB, free: 4.879 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008746/0.864, allocations: 3.999 MB / 0.8239 GB, free: 0.8438 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/0.8666, allocations: 294.5 kB / 0.8242 GB, free: 0.5547 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.8668, allocations: 59.98 kB / 0.8243 GB, free: 0.4961 MB / 0.4949 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.001098/0.8679, allocations: 457.1 kB / 0.8247 GB, free: 36 kB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005076/0.8684, allocations: 197.7 kB / 0.8249 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01924/0.8877, allocations: 6.621 MB / 0.8314 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.8877, allocations: 16 kB / 0.8314 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.8878, allocations: 0 / 0.8314 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-05/0.8878, allocations: 11.97 kB / 0.8314 GB, free: 9.164 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 postOpt removeSimpleEquations (simulation): time 0.02491/0.9127, allocations: 9.216 MB / 0.8404 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/0.9128, allocations: 0 / 0.8404 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.914, allocations: 143.8 kB / 0.8405 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009903/0.9239, allocations: 2.945 MB / 0.8434 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004354/0.9244, allocations: 47.88 kB / 0.8434 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02919/0.9536, allocations: 12.07 MB / 0.8552 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.9536, allocations: 7.969 kB / 0.8552 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02408/0.9777, allocations: 8.193 MB / 0.8632 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.9789, allocations: 302.4 kB / 0.8635 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009991/0.9799, allocations: 39.95 kB / 0.8636 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/0.9825, allocations: 219.8 kB / 0.8638 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001235/0.9837, allocations: 289.2 kB / 0.864 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002998/0.9841, allocations: 47.98 kB / 0.8641 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002583/0.9867, allocations: 1.07 MB / 0.8651 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9867, allocations: 4 kB / 0.8651 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004307/0.991, allocations: 0.9087 MB / 0.866 GB, free: 5.297 MB / 0.5417 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.0007959/0.9918, allocations: 198.3 kB / 0.8662 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01817/1.01, allocations: 5.827 MB / 0.8719 GB, free: 15.25 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.01, allocations: 0 / 0.8719 GB, free: 15.25 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.007795/1.018, allocations: 2.514 MB / 0.8744 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/1.02, allocations: 151.3 kB / 0.8745 GB, free: 12.57 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009265/1.029, allocations: 4.333 MB / 0.8787 GB, free: 8.195 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/1.031, allocations: 1.379 MB / 0.8801 GB, free: 6.785 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001068/1.032, allocations: 154.3 kB / 0.8802 GB, free: 6.633 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004901/1.032, allocations: 83.42 kB / 0.8803 GB, free: 6.551 MB / 0.5574 GB Notification: Performance of SimCode: time 1.002e-06/1.032, allocations: 0 / 0.8803 GB, free: 6.551 MB / 0.5574 GB Notification: Performance of Templates: time 0.353/1.385, allocations: 38.79 MB / 0.9182 GB, free: 180 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.makefile make -j1 -f OpenIPSL_2.0.0_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_2_0_0_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_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A_model.h:24: ./OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.o] Error 1