Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00997/0.009969, 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.508/1.508, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001048/0.001048, allocations: 78.89 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.08131/0.08131, allocations: 12.6 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.4328/0.4328, allocations: 78.52 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005355/0.0005355, allocations: 21.52 kB / 0.5285 GB, free: 35.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1493, allocations: 69.34 MB / 0.5962 GB, free: 3.809 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5308/0.6801, allocations: 113.3 MB / 0.7068 GB, free: 32.79 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.6805, allocations: 91.7 kB / 0.7069 GB, free: 32.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1235/0.8041, allocations: 46.74 MB / 0.7525 GB, free: 22.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.8041, allocations: 0 / 0.7525 GB, free: 22.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002047/0.8043, allocations: 34.66 kB / 0.7525 GB, free: 22.39 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.008996/0.8133, allocations: 2.698 MB / 0.7552 GB, free: 20.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8134, allocations: 19.52 kB / 0.7552 GB, free: 20.84 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/0.817, allocations: 0.5794 MB / 0.7558 GB, free: 20.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/0.8206, allocations: 1.152 MB / 0.7569 GB, free: 20.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006068/0.8213, allocations: 0.5707 MB / 0.7574 GB, free: 19.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005644/0.8219, allocations: 113 kB / 0.7576 GB, free: 19.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004353/0.8262, allocations: 1.663 MB / 0.7592 GB, free: 19.04 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.8263, allocations: 0 / 0.7592 GB, free: 19.04 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/0.8265, allocations: 44.34 kB / 0.7592 GB, free: 19.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.8266, allocations: 31.08 kB / 0.7592 GB, free: 19.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003492/0.8301, allocations: 1.591 MB / 0.7608 GB, free: 18.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.01063/0.8407, allocations: 5.58 MB / 0.7663 GB, free: 16.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0084/0.8491, allocations: 3.679 MB / 0.7698 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.8493, allocations: 30.7 kB / 0.7699 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002197/0.8515, allocations: 1.22 MB / 0.7711 GB, free: 14.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 4.288e-06/0.8515, allocations: 0 / 0.7711 GB, free: 14.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=139): time 0.03723/0.8888, allocations: 11.38 MB / 0.7822 GB, free: 8.207 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.8889, allocations: 175.5 kB / 0.7824 GB, free: 8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.8918, allocations: 1.348 MB / 0.7837 GB, free: 7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003559/0.8921, allocations: 47.33 kB / 0.7837 GB, free: 6.965 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/0.8927, allocations: 0.7111 MB / 0.7844 GB, free: 6.609 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005083/0.8932, allocations: 0.4888 MB / 0.7849 GB, free: 6.191 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.913e-05/0.8933, allocations: 25.44 kB / 0.7849 GB, free: 6.188 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.8934, allocations: 367.8 kB / 0.7853 GB, free: 5.848 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/0.8953, allocations: 0.9359 MB / 0.7862 GB, free: 5.203 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.8971, allocations: 1.117 MB / 0.7873 GB, free: 4.352 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.899, allocations: 1.026 MB / 0.7883 GB, free: 3.684 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.899, allocations: 0 / 0.7883 GB, free: 3.684 MB / 474.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006203/0.9052, allocations: 3.178 MB / 0.7914 GB, free: 1.395 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003743/0.9056, allocations: 1.476 MB / 0.7928 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.9057, allocations: 4 kB / 0.7928 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009115/0.9148, allocations: 2.942 MB / 0.7957 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.9158, allocations: 215.7 kB / 0.7959 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006852/0.9227, allocations: 3.209 MB / 0.799 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.9254, allocations: 302.5 kB / 0.7993 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.9256, allocations: 51.98 kB / 0.7994 GB, free: 9.238 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.9256, allocations: 7.438 kB / 0.7994 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006203/0.9318, allocations: 2.964 MB / 0.8023 GB, free: 6.262 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.9319, allocations: 4 kB / 0.8023 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009089/0.941, allocations: 2.939 MB / 0.8051 GB, free: 3.316 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.9421, allocations: 211.7 kB / 0.8053 GB, free: 3.109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006983/0.9491, allocations: 3.203 MB / 0.8085 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.9516, allocations: 290.5 kB / 0.8087 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/0.9519, allocations: 51.98 kB / 0.8088 GB, free: 15.54 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {29 43} Notification: Performance of prepare postOptimizeDAE: time 0.001114/0.953, allocations: 392.9 kB / 0.8092 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006859/0.9537, allocations: 185.8 kB / 0.8093 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0177/0.9714, allocations: 5.998 MB / 0.8152 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/0.9715, allocations: 19.94 kB / 0.8152 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.9715, allocations: 4 kB / 0.8152 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.711e-05/0.9715, allocations: 11.97 kB / 0.8152 GB, free: 8.91 MB / 0.4948 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.02402/0.9956, allocations: 8.482 MB / 0.8235 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/0.9957, allocations: 4 kB / 0.8235 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.9971, allocations: 187.8 kB / 0.8237 GB, free: 140 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008089/1.005, allocations: 2.497 MB / 0.8261 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004587/1.006, allocations: 31.98 kB / 0.8262 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02722/1.033, allocations: 10.9 MB / 0.8368 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.033, allocations: 3.984 kB / 0.8368 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02135/1.054, allocations: 7.355 MB / 0.844 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009503/1.055, allocations: 294.6 kB / 0.8443 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007615/1.056, allocations: 28 kB / 0.8443 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/1.059, allocations: 211.8 kB / 0.8445 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/1.06, allocations: 277.2 kB / 0.8448 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002309/1.06, allocations: 39.98 kB / 0.8448 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002711/1.063, allocations: 1.053 MB / 0.8458 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.1e-07/1.063, allocations: 0 / 0.8458 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003012/1.066, allocations: 0.8306 MB / 0.8467 GB, free: 8.438 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.state) * 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 (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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004401/1.066, allocations: 182.4 kB / 0.8468 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01514/1.081, allocations: 5.179 MB / 0.8519 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.081, allocations: 0 / 0.8519 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007088/1.088, allocations: 2.253 MB / 0.8541 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.09, allocations: 137.8 kB / 0.8542 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/1.098, allocations: 4.039 MB / 0.8582 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.099, allocations: 1.342 MB / 0.8595 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001007/1.1, allocations: 173.8 kB / 0.8596 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/1.1, allocations: 95.41 kB / 0.8597 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of SimCode: time 1.743e-06/1.1, allocations: 0 / 0.8597 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.05481/1.155, allocations: 31.97 MB / 0.8909 GB, free: 10.98 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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_TG_IEESGO -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.PSSE.TG.IEESGO.o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO_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.PSSE.TG.IEESGO.o] Error 1