Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.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.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1") translateModel(OpenIPSL.Tests.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00806/0.00806, allocations: 172 kB / 15.11 MB, free: 5.98 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.428/1.428, 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.0009486/0.0009486, allocations: 102.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.07147/0.07147, allocations: 12.6 MB / 330.5 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.4339/0.4339, allocations: 78.52 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005174/0.0005175, allocations: 16.72 kB / 0.5285 GB, free: 35.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1425, allocations: 69.34 MB / 0.5962 GB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4782/0.6208, allocations: 113.3 MB / 0.7068 GB, free: 32.65 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.6211, allocations: 85.14 kB / 0.7069 GB, free: 32.65 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1138/0.7349, allocations: 44.32 MB / 0.7502 GB, free: 23.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.735, allocations: 0 / 0.7502 GB, free: 23.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001738/0.7351, allocations: 38.81 kB / 0.7502 GB, free: 23.24 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.00797/0.7431, allocations: 2.575 MB / 0.7527 GB, free: 21.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.7432, allocations: 11.73 kB / 0.7528 GB, free: 21.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.7466, allocations: 0.5661 MB / 0.7533 GB, free: 21.56 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/0.7497, allocations: 1.09 MB / 0.7544 GB, free: 21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004476/0.7501, allocations: 441.2 kB / 0.7548 GB, free: 20.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004441/0.7506, allocations: 106.2 kB / 0.7549 GB, free: 20.63 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/0.754, allocations: 1.571 MB / 0.7564 GB, free: 20.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.7541, allocations: 0 / 0.7564 GB, free: 20.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.7543, allocations: 47.53 kB / 0.7565 GB, free: 20.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.7543, allocations: 22.84 kB / 0.7565 GB, free: 20.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.7573, allocations: 1.512 MB / 0.758 GB, free: 19.93 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.009453/0.7668, allocations: 5.048 MB / 0.7629 GB, free: 17.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008078/0.7749, allocations: 3.683 MB / 0.7665 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.7751, allocations: 18.48 kB / 0.7665 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00251/0.7776, allocations: 1.192 MB / 0.7677 GB, free: 15.63 MB / 474.7 MB Notification: Performance of pre-optimization done (n=137): time 5.36e-06/0.7776, allocations: 0 / 0.7677 GB, free: 15.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=137): time 0.05519/0.8328, allocations: 15.12 MB / 0.7824 GB, free: 7.184 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.8329, allocations: 116.1 kB / 0.7826 GB, free: 7.047 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/0.8357, allocations: 1.268 MB / 0.7838 GB, free: 6.109 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003777/0.8361, allocations: 47.33 kB / 0.7838 GB, free: 6.074 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005613/0.8367, allocations: 0.6637 MB / 0.7845 GB, free: 5.746 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007674/0.8375, allocations: 484.4 kB / 0.7849 GB, free: 5.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.8377, allocations: 30.12 kB / 0.785 GB, free: 5.332 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.8378, allocations: 359.9 kB / 0.7853 GB, free: 4.996 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.8397, allocations: 0.8846 MB / 0.7862 GB, free: 4.383 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.8417, allocations: 1.079 MB / 0.7872 GB, free: 3.551 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.8437, allocations: 0.9396 MB / 0.7882 GB, free: 2.945 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.8437, allocations: 4 kB / 0.7882 GB, free: 2.941 MB / 474.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006661/0.8504, allocations: 3.034 MB / 0.7911 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005649/0.851, allocations: 1.535 MB / 0.7926 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.851, allocations: 8 kB / 0.7926 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.8618, allocations: 3.236 MB / 0.7958 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/0.8627, allocations: 179.7 kB / 0.796 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007508/0.8703, allocations: 3.417 MB / 0.7993 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.8728, allocations: 270.6 kB / 0.7996 GB, free: 8.941 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.8731, allocations: 51.98 kB / 0.7996 GB, free: 8.891 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.8731, allocations: 4 kB / 0.7996 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00643/0.8796, allocations: 2.806 MB / 0.8023 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.8796, allocations: 4 kB / 0.8023 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/0.89, allocations: 3.192 MB / 0.8055 GB, free: 2.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.8911, allocations: 187.7 kB / 0.8056 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008073/0.8992, allocations: 3.304 MB / 0.8089 GB, free: 15.36 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.9018, allocations: 258.8 kB / 0.8091 GB, free: 15.11 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/0.9021, allocations: 51.98 kB / 0.8092 GB, free: 15.06 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,cSVGN1.leadLagLim.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * 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 45} Notification: Performance of prepare postOptimizeDAE: time 0.001063/0.9031, allocations: 371.6 kB / 0.8095 GB, free: 14.69 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006621/0.9038, allocations: 177.8 kB / 0.8097 GB, free: 14.51 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01881/0.9226, allocations: 6.199 MB / 0.8157 GB, free: 8.289 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.9227, allocations: 16 kB / 0.8158 GB, free: 8.273 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.9227, allocations: 0 / 0.8158 GB, free: 8.273 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.733e-05/0.9228, allocations: 7.969 kB / 0.8158 GB, free: 8.266 MB / 0.4949 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.02436/0.9471, allocations: 8.355 MB / 0.8239 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.9472, allocations: 3.938 kB / 0.8239 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009156/0.9481, allocations: 123.9 kB / 0.824 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009577/0.9577, allocations: 2.921 MB / 0.8269 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003723/0.9582, allocations: 35.92 kB / 0.8269 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03506/0.9932, allocations: 12.76 MB / 0.8394 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.9933, allocations: 4 kB / 0.8394 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02215/1.015, allocations: 7.489 MB / 0.8467 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009618/1.016, allocations: 294.5 kB / 0.847 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000643/1.017, allocations: 31.98 kB / 0.847 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002243/1.019, allocations: 183.8 kB / 0.8472 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/1.02, allocations: 277.4 kB / 0.8475 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/1.021, allocations: 39.95 kB / 0.8475 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002429/1.023, allocations: 0.9963 MB / 0.8485 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.023, allocations: 3.938 kB / 0.8485 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003539/1.027, allocations: 0.8152 MB / 0.8493 GB, free: 5.629 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,cSVGN1.LagLim.state,cSVGN1.leadLag.TF.x_scaled[1],cSVGN1.leadLagLim.integrator.y) * 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 (75): * Single equations (assignments): 74 * 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 {27 41} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005265/1.027, allocations: 189.2 kB / 0.8495 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01614/1.043, allocations: 5.026 MB / 0.8544 GB, free: 416 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/1.043, allocations: 0 / 0.8544 GB, free: 416 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007077/1.051, allocations: 2.307 MB / 0.8566 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/1.052, allocations: 142.4 kB / 0.8568 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007078/1.059, allocations: 3.725 MB / 0.8604 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.06, allocations: 1.303 MB / 0.8617 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008687/1.061, allocations: 141.3 kB / 0.8618 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004137/1.062, allocations: 79.42 kB / 0.8619 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/1.062, allocations: 0 / 0.8619 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of Templates: time 0.05449/1.116, allocations: 33.12 MB / 0.8942 GB, free: 7.547 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.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_Banks_PSSE_CSVGN1 -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.Banks.PSSE.CSVGN1.o OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1_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.Banks.PSSE.CSVGN1.o] Error 1