Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00524/0.005239, allocations: 169.4 kB / 15.11 MB, free: 5.582 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.558/1.558, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001029/0.001029, allocations: 94.86 kB / 269.6 MB, free: 13.34 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.07332/0.07332, allocations: 12.6 MB / 330.4 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.464/0.464, allocations: 78.51 MB / 460 MB, free: 3.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006213/0.0006213, allocations: 18.47 kB / 0.5285 GB, free: 35.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1769, allocations: 69.34 MB / 0.5962 GB, free: 3.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5333/0.7103, allocations: 112.4 MB / 0.7059 GB, free: 32.72 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.7107, allocations: 91.41 kB / 0.706 GB, free: 32.72 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1039/0.8146, allocations: 41.06 MB / 0.7461 GB, free: 24.79 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8146, allocations: 4 kB / 0.7461 GB, free: 24.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.453e-05/0.8147, allocations: 39.12 kB / 0.7461 GB, free: 24.78 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006244/0.821, allocations: 2.475 MB / 0.7485 GB, free: 23.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.821, allocations: 15.64 kB / 0.7486 GB, free: 23.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.8239, allocations: 0.564 MB / 0.7491 GB, free: 23.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.8258, allocations: 1.026 MB / 0.7501 GB, free: 22.62 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003632/0.8262, allocations: 430.7 kB / 0.7505 GB, free: 22.26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.8264, allocations: 98.78 kB / 0.7506 GB, free: 22.26 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.8289, allocations: 1.499 MB / 0.7521 GB, free: 21.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.8289, allocations: 7.875 kB / 0.7521 GB, free: 21.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.8291, allocations: 40.75 kB / 0.7521 GB, free: 21.86 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.8291, allocations: 23.25 kB / 0.7522 GB, free: 21.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/0.8316, allocations: 1.426 MB / 0.7535 GB, free: 21.63 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.007648/0.8393, allocations: 4.924 MB / 0.7584 GB, free: 19.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007764/0.8471, allocations: 3.442 MB / 0.7617 GB, free: 17.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.8473, allocations: 24.17 kB / 0.7617 GB, free: 17.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001934/0.8492, allocations: 1.124 MB / 0.7628 GB, free: 17.47 MB / 474.7 MB Notification: Performance of pre-optimization done (n=125): time 3.236e-06/0.8492, allocations: 0 / 0.7628 GB, free: 17.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=125): time 0.0393/0.8885, allocations: 11.91 MB / 0.7745 GB, free: 13.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.8886, allocations: 118.7 kB / 0.7746 GB, free: 13.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.8906, allocations: 1.206 MB / 0.7758 GB, free: 12.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.8909, allocations: 45.27 kB / 0.7758 GB, free: 12.85 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.8912, allocations: 0.6203 MB / 0.7764 GB, free: 12.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/0.8917, allocations: 447.4 kB / 0.7768 GB, free: 12.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.005e-05/0.8918, allocations: 21.44 kB / 0.7769 GB, free: 12.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.8919, allocations: 358.9 kB / 0.7772 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.8934, allocations: 0.8437 MB / 0.778 GB, free: 11.24 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.8951, allocations: 1.013 MB / 0.779 GB, free: 10.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.8967, allocations: 0.8896 MB / 0.7799 GB, free: 9.895 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.8967, allocations: 0 / 0.7799 GB, free: 9.895 MB / 474.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005397/0.9021, allocations: 2.905 MB / 0.7827 GB, free: 7.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.9021, allocations: 7.281 kB / 0.7827 GB, free: 7.816 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.9021, allocations: 4 kB / 0.7827 GB, free: 7.812 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00905/0.9112, allocations: 3.325 MB / 0.786 GB, free: 4.828 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007156/0.9119, allocations: 151.2 kB / 0.7861 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006234/0.9182, allocations: 3.298 MB / 0.7893 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.9203, allocations: 253 kB / 0.7896 GB, free: 1.914 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.9204, allocations: 44.42 kB / 0.7896 GB, free: 1.879 MB / 474.7 MB 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 (88): * Single equations (assignments): 87 * 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 {34 41} Notification: Performance of prepare postOptimizeDAE: time 0.000698/0.9211, allocations: 288.6 kB / 0.7899 GB, free: 1.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.9214, allocations: 161.9 kB / 0.79 GB, free: 1.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/0.9378, allocations: 5.823 MB / 0.7957 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.9378, allocations: 12 kB / 0.7957 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.9379, allocations: 0 / 0.7957 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.129e-05/0.9379, allocations: 19.84 kB / 0.7958 GB, free: 12.52 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.02127/0.9592, allocations: 7.859 MB / 0.8034 GB, free: 4.574 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.9592, allocations: 0 / 0.8034 GB, free: 4.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.9603, allocations: 147.8 kB / 0.8036 GB, free: 4.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008196/0.9685, allocations: 2.501 MB / 0.806 GB, free: 1.926 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000391/0.969, allocations: 35.94 kB / 0.8061 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02901/0.998, allocations: 10.88 MB / 0.8167 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.9981, allocations: 7.984 kB / 0.8167 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02303/1.021, allocations: 7.1 MB / 0.8236 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/1.022, allocations: 266.8 kB / 0.8239 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008539/1.023, allocations: 28 kB / 0.8239 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/1.026, allocations: 187.8 kB / 0.8241 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001132/1.027, allocations: 261.2 kB / 0.8243 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002289/1.027, allocations: 35.98 kB / 0.8244 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002297/1.029, allocations: 0.9308 MB / 0.8253 GB, free: 14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.41e-07/1.029, allocations: 4 kB / 0.8253 GB, free: 14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002617/1.032, allocations: 0.4954 MB / 0.8258 GB, free: 13.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (82): * Single equations (assignments): 81 * 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.0006133/1.033, allocations: 182.8 kB / 0.8259 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009334/1.042, allocations: 2.873 MB / 0.8287 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.042, allocations: 4 kB / 0.8287 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006619/1.049, allocations: 2.151 MB / 0.8309 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/1.05, allocations: 121.2 kB / 0.831 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/1.058, allocations: 3.572 MB / 0.8345 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.059, allocations: 1.262 MB / 0.8357 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007574/1.06, allocations: 124.5 kB / 0.8358 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/1.06, allocations: 75.42 kB / 0.8359 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of SimCode: time 7.91e-07/1.06, allocations: 0 / 0.8359 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of Templates: time 0.04595/1.106, allocations: 24.83 MB / 0.8601 GB, free: 10.24 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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_SCRX -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_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.SCRX.o] Error 1