Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005742/0.005742, allocations: 173.6 kB / 15.12 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.466/1.466, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0009372/0.0009372, allocations: 102.8 kB / 269.6 MB, free: 13.37 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.0804/0.0804, 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.4515/0.4515, allocations: 78.52 MB / 460 MB, free: 3.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.000507, allocations: 16.97 kB / 0.5285 GB, free: 35.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1636, allocations: 69.33 MB / 0.5962 GB, free: 3.828 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.467/0.6306, allocations: 113.3 MB / 0.7069 GB, free: 32.95 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.631, allocations: 90.44 kB / 0.7069 GB, free: 32.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1232/0.7543, allocations: 51.95 MB / 0.7577 GB, free: 20.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7543, allocations: 0 / 0.7577 GB, free: 20.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001301/0.7544, allocations: 48.8 kB / 0.7577 GB, free: 20.45 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.007434/0.7619, allocations: 3.081 MB / 0.7607 GB, free: 18.72 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.7619, allocations: 15.58 kB / 0.7607 GB, free: 18.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/0.7651, allocations: 0.6321 MB / 0.7614 GB, free: 18.47 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.7675, allocations: 1.417 MB / 0.7627 GB, free: 17.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003693/0.7678, allocations: 470.3 kB / 0.7632 GB, free: 17.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/0.7681, allocations: 147.1 kB / 0.7633 GB, free: 17.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.7717, allocations: 2.138 MB / 0.7654 GB, free: 16.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.7717, allocations: 0 / 0.7654 GB, free: 16.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.7719, allocations: 69.19 kB / 0.7655 GB, free: 16.74 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.7719, allocations: 35.16 kB / 0.7655 GB, free: 16.74 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0036/0.7755, allocations: 1.942 MB / 0.7674 GB, free: 16.43 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.01131/0.7868, allocations: 7.377 MB / 0.7746 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009278/0.7961, allocations: 4.016 MB / 0.7785 GB, free: 11.08 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.7964, allocations: 28.61 kB / 0.7786 GB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002656/0.7991, allocations: 1.405 MB / 0.7799 GB, free: 10.67 MB / 474.7 MB Notification: Performance of pre-optimization done (n=163): time 3.897e-06/0.7991, allocations: 0 / 0.7799 GB, free: 10.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.0421/0.8412, allocations: 12.82 MB / 0.7925 GB, free: 15.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002431/0.8415, allocations: 308 kB / 0.7928 GB, free: 15.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/0.8448, allocations: 1.525 MB / 0.7943 GB, free: 14.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005253/0.8454, allocations: 57.58 kB / 0.7943 GB, free: 14.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007735/0.8461, allocations: 0.8927 MB / 0.7952 GB, free: 13.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006914/0.8468, allocations: 0.5707 MB / 0.7957 GB, free: 13.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.847, allocations: 41 kB / 0.7958 GB, free: 13.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.8472, allocations: 370.7 kB / 0.7961 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.8495, allocations: 1.09 MB / 0.7972 GB, free: 11.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002548/0.8521, allocations: 1.417 MB / 0.7986 GB, free: 10.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.8545, allocations: 1.18 MB / 0.7997 GB, free: 9.164 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.8545, allocations: 0 / 0.7997 GB, free: 9.164 MB / 490.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01052/0.865, allocations: 4.379 MB / 0.804 GB, free: 4.758 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.8661, allocations: 2.487 MB / 0.8064 GB, free: 2.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.8661, allocations: 8 kB / 0.8064 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01362/0.8798, allocations: 4.161 MB / 0.8105 GB, free: 13.93 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.8809, allocations: 203.7 kB / 0.8107 GB, free: 13.73 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.8932, allocations: 6.617 MB / 0.8172 GB, free: 6.98 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/0.8967, allocations: 334.4 kB / 0.8175 GB, free: 6.652 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004065/0.8971, allocations: 59.98 kB / 0.8175 GB, free: 6.594 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.8971, allocations: 4 kB / 0.8175 GB, free: 6.59 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009308/0.9065, allocations: 3.579 MB / 0.821 GB, free: 2.992 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.9065, allocations: 8 kB / 0.821 GB, free: 2.984 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0131/0.9196, allocations: 3.883 MB / 0.8248 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.9208, allocations: 211.7 kB / 0.825 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.9348, allocations: 9.644 MB / 0.8345 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/0.9382, allocations: 282.6 kB / 0.8347 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006074/0.9389, allocations: 71.98 kB / 0.8348 GB, free: 4.324 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.002002/0.9409, allocations: 452.8 kB / 0.8352 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/0.942, allocations: 217.4 kB / 0.8354 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01933/0.9614, allocations: 6.375 MB / 0.8417 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/0.9615, allocations: 16 kB / 0.8417 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9615, allocations: 0 / 0.8417 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.783e-05/0.9616, allocations: 11.97 kB / 0.8417 GB, free: 13.24 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 postOpt removeSimpleEquations (simulation): time 0.02602/0.9876, allocations: 8.958 MB / 0.8504 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.9876, allocations: 0 / 0.8504 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.9894, allocations: 251.7 kB / 0.8507 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008073/0.9975, allocations: 2.508 MB / 0.8531 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005596/0.9981, allocations: 39.98 kB / 0.8532 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0279/1.026, allocations: 10.88 MB / 0.8638 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.026, allocations: 4 kB / 0.8638 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02291/1.049, allocations: 7.897 MB / 0.8715 GB, free: 14.41 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/1.05, allocations: 326.2 kB / 0.8718 GB, free: 14.07 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00125/1.052, allocations: 32 kB / 0.8718 GB, free: 14.04 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002888/1.055, allocations: 227.8 kB / 0.8721 GB, free: 13.82 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001181/1.056, allocations: 289.2 kB / 0.8723 GB, free: 13.53 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003351/1.056, allocations: 39.98 kB / 0.8724 GB, free: 13.49 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.002965/1.059, allocations: 1.182 MB / 0.8735 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.9e-07/1.059, allocations: 3.938 kB / 0.8735 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.004927/1.064, allocations: 0.9863 MB / 0.8745 GB, free: 11.3 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 119 * 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.0006566/1.065, allocations: 196.2 kB / 0.8747 GB, free: 11.1 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02058/1.085, allocations: 6.568 MB / 0.8811 GB, free: 4.473 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.085, allocations: 4 kB / 0.8811 GB, free: 4.469 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.007402/1.093, allocations: 2.42 MB / 0.8835 GB, free: 2.035 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/1.095, allocations: 198.8 kB / 0.8837 GB, free: 1.836 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/1.106, allocations: 4.858 MB / 0.8884 GB, free: 12.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/1.108, allocations: 1.478 MB / 0.8898 GB, free: 11.44 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001365/1.109, allocations: 192.1 kB / 0.89 GB, free: 11.25 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000722/1.11, allocations: 115.4 kB / 0.8901 GB, free: 11.13 MB / 0.573 GB Notification: Performance of SimCode: time 1.614e-06/1.11, allocations: 0 / 0.8901 GB, free: 11.13 MB / 0.573 GB Notification: Performance of Templates: time 0.3695/1.479, allocations: 40 MB / 0.9292 GB, free: 176.9 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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_ST5B -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B_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.ES.ST5B.o] Error 1