Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1") translateModel(OpenIPSL.Tests.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004759/0.004759, 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 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 223.2 MB / 239 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000838/0.000838, allocations: 97.75 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4496/0.4496, allocations: 79.44 MB / 420.8 MB, free: 43.64 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 12 kB / 0.489 GB, free: 2.066 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3101, allocations: 69.5 MB / 0.5569 GB, free: 38.64 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.423, allocations: 112.4 MB / 0.6667 GB, free: 9.188 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.4233, allocations: 79.95 kB / 0.6667 GB, free: 9.109 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1122/0.5354, allocations: 42.96 MB / 0.7087 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5355, allocations: 0 / 0.7087 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.512e-05/0.5356, allocations: 35.94 kB / 0.7087 GB, free: 13.9 MB / 0.5105 GB 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.007071/0.5427, allocations: 2.58 MB / 0.7112 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5427, allocations: 11.97 kB / 0.7112 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004141/0.5469, allocations: 0.7859 MB / 0.712 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.549, allocations: 1.152 MB / 0.7131 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/0.5494, allocations: 440.7 kB / 0.7136 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.5496, allocations: 108 kB / 0.7137 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.5525, allocations: 1.566 MB / 0.7152 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.5525, allocations: 3.938 kB / 0.7152 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.5527, allocations: 44 kB / 0.7152 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.5527, allocations: 24 kB / 0.7153 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/0.5556, allocations: 1.515 MB / 0.7167 GB, free: 5.441 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 preOpt removeSimpleEquations (simulation): time 0.008557/0.5642, allocations: 5.138 MB / 0.7218 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008337/0.5725, allocations: 3.689 MB / 0.7254 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.5726, allocations: 29.28 kB / 0.7254 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002112/0.5748, allocations: 1.19 MB / 0.7266 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=137): time 2.975e-06/0.5748, allocations: 0 / 0.7266 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137): time 0.05565/0.6304, allocations: 15.12 MB / 0.7413 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.6305, allocations: 120.1 kB / 0.7414 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.6327, allocations: 1.342 MB / 0.7427 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.6329, allocations: 45.7 kB / 0.7428 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.6334, allocations: 0.66 MB / 0.7434 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004645/0.6339, allocations: 484.9 kB / 0.7439 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.634, allocations: 32 kB / 0.7439 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6341, allocations: 353.9 kB / 0.7443 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/0.6359, allocations: 0.8863 MB / 0.7451 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.6378, allocations: 1.078 MB / 0.7462 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.6397, allocations: 0.9357 MB / 0.7471 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.6397, allocations: 7.953 kB / 0.7471 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006111/0.6458, allocations: 3.032 MB / 0.7501 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005271/0.6464, allocations: 1.539 MB / 0.7516 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.6464, allocations: 8 kB / 0.7516 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009929/0.6563, allocations: 3.239 MB / 0.7547 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/0.6572, allocations: 175.7 kB / 0.7549 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007083/0.6643, allocations: 3.412 MB / 0.7582 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.6663, allocations: 274.6 kB / 0.7585 GB, free: 9.961 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.6664, allocations: 51.98 kB / 0.7585 GB, free: 9.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.6664, allocations: 4.781 kB / 0.7586 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005625/0.6721, allocations: 2.81 MB / 0.7613 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.6721, allocations: 4 kB / 0.7613 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009521/0.6816, allocations: 3.196 MB / 0.7644 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/0.6824, allocations: 179.7 kB / 0.7646 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006736/0.6891, allocations: 3.305 MB / 0.7678 GB, free: 392 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.6911, allocations: 262.7 kB / 0.7681 GB, free: 128 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.6912, allocations: 43.98 kB / 0.7681 GB, free: 84 kB / 0.5573 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.2072/0.8984, allocations: 377.2 kB / 0.7685 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005152/0.8989, allocations: 175.1 kB / 0.7686 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/0.916, allocations: 6.193 MB / 0.7747 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.9161, allocations: 14.47 kB / 0.7747 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9161, allocations: 0 / 0.7747 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.9161, allocations: 9.406 kB / 0.7747 GB, free: 135.7 MB / 0.5573 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.01829/0.9344, allocations: 8.404 MB / 0.7829 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.9344, allocations: 0 / 0.7829 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/0.9351, allocations: 136.5 kB / 0.783 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007726/0.9428, allocations: 2.912 MB / 0.7859 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.943, allocations: 28.66 kB / 0.7859 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02684/0.9698, allocations: 12.78 MB / 0.7984 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.9699, allocations: 1.094 kB / 0.7984 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01983/0.9897, allocations: 7.484 MB / 0.8057 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006555/0.9904, allocations: 305.3 kB / 0.806 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.9907, allocations: 26.28 kB / 0.806 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/0.9923, allocations: 186.2 kB / 0.8062 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008021/0.9932, allocations: 283.4 kB / 0.8065 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.9933, allocations: 35.53 kB / 0.8065 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001575/0.9949, allocations: 1.054 MB / 0.8075 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9949, allocations: 0 / 0.8075 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001875/0.9967, allocations: 0.8143 MB / 0.8083 GB, free: 130.6 MB / 0.5573 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.0003081/0.9971, allocations: 184.4 kB / 0.8085 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01462/1.012, allocations: 5.028 MB / 0.8134 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.012, allocations: 0 / 0.8134 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006166/1.018, allocations: 2.322 MB / 0.8157 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/1.019, allocations: 137.5 kB / 0.8158 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/1.024, allocations: 3.719 MB / 0.8194 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/1.025, allocations: 1.302 MB / 0.8207 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006353/1.025, allocations: 141.7 kB / 0.8209 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/1.026, allocations: 83.08 kB / 0.8209 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/1.026, allocations: 0 / 0.8209 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.03759/1.063, allocations: 33.74 MB / 0.8539 GB, free: 117.7 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_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_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.o OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.o] Error 1