Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0059/0.0059, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.236/1.236, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008826/0.0008827, allocations: 100.6 kB / 290.2 MB, free: 4.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4539/0.4539, allocations: 79.44 MB / 420.8 MB, free: 36.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 16 kB / 0.489 GB, free: 6.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 69.51 MB / 0.5569 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3994/0.5285, allocations: 112.3 MB / 0.6666 GB, free: 4.926 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.5289, allocations: 92.89 kB / 0.6667 GB, free: 4.836 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.123/0.6518, allocations: 45.35 MB / 0.711 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6519, allocations: 0 / 0.711 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001756/0.6521, allocations: 32 kB / 0.711 GB, free: 7.441 MB / 0.4948 GB 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.008421/0.6605, allocations: 2.705 MB / 0.7137 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.6605, allocations: 12.03 kB / 0.7137 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/0.665, allocations: 0.7937 MB / 0.7144 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002868/0.6678, allocations: 1.219 MB / 0.7156 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005771/0.6684, allocations: 0.5678 MB / 0.7162 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003535/0.6688, allocations: 127.9 kB / 0.7163 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003546/0.6724, allocations: 1.65 MB / 0.7179 GB, free: 108 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.6724, allocations: 3.984 kB / 0.7179 GB, free: 104 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.6725, allocations: 44 kB / 0.718 GB, free: 60 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.6726, allocations: 28 kB / 0.718 GB, free: 32 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003492/0.6761, allocations: 1.594 MB / 0.7195 GB, free: 14.43 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.01242/0.6885, allocations: 5.687 MB / 0.7251 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009708/0.6982, allocations: 3.666 MB / 0.7287 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.6984, allocations: 21.3 kB / 0.7287 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00258/0.701, allocations: 1.228 MB / 0.7299 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=139): time 5.811e-06/0.7011, allocations: 0 / 0.7299 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139): time 0.04092/0.742, allocations: 11.39 MB / 0.741 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.7422, allocations: 167.5 kB / 0.7412 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/0.7461, allocations: 1.424 MB / 0.7426 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004119/0.7465, allocations: 49.7 kB / 0.7426 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/0.7473, allocations: 0.7071 MB / 0.7433 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008345/0.7481, allocations: 0.4903 MB / 0.7438 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.7484, allocations: 32 kB / 0.7438 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.7486, allocations: 365.9 kB / 0.7442 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/0.7508, allocations: 0.9331 MB / 0.7451 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/0.7532, allocations: 1.121 MB / 0.7462 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.7555, allocations: 1.027 MB / 0.7472 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.7555, allocations: 4 kB / 0.7472 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.007313/0.7629, allocations: 3.178 MB / 0.7503 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006067/0.7635, allocations: 1.478 MB / 0.7517 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.7635, allocations: 4 kB / 0.7517 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009499/0.773, allocations: 2.947 MB / 0.7546 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.7742, allocations: 215.7 kB / 0.7548 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006999/0.7812, allocations: 3.208 MB / 0.758 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.7839, allocations: 298.5 kB / 0.7582 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.7842, allocations: 55.98 kB / 0.7583 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.7842, allocations: 5.031 kB / 0.7583 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006901/0.7911, allocations: 2.964 MB / 0.7612 GB, free: 3.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.7912, allocations: 4 kB / 0.7612 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009333/0.8005, allocations: 2.939 MB / 0.7641 GB, free: 104 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.8016, allocations: 215.6 kB / 0.7643 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007054/0.8087, allocations: 3.192 MB / 0.7674 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/0.8112, allocations: 290.6 kB / 0.7677 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.8115, allocations: 55.97 kB / 0.7677 GB, free: 12.33 MB / 0.5573 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.001038/0.8125, allocations: 398.9 kB / 0.7681 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008905/0.8134, allocations: 185.7 kB / 0.7683 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/0.8318, allocations: 6.002 MB / 0.7741 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.8318, allocations: 17.03 kB / 0.7742 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.8318, allocations: 3.953 kB / 0.7742 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/0.8319, allocations: 7.969 kB / 0.7742 GB, free: 5.699 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.02176/0.8536, allocations: 8.538 MB / 0.7825 GB, free: 13.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.8537, allocations: 0 / 0.7825 GB, free: 13.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.8548, allocations: 179.8 kB / 0.7827 GB, free: 12.85 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007639/0.8624, allocations: 2.509 MB / 0.7851 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/0.8626, allocations: 31.98 kB / 0.7852 GB, free: 10.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2647/1.127, allocations: 10.88 MB / 0.7958 GB, free: 142.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.127, allocations: 2.281 kB / 0.7958 GB, free: 142.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01921/1.147, allocations: 7.363 MB / 0.803 GB, free: 142.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006964/1.147, allocations: 312.2 kB / 0.8033 GB, free: 142.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004038/1.148, allocations: 29.94 kB / 0.8033 GB, free: 142.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/1.15, allocations: 208.9 kB / 0.8035 GB, free: 142.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007578/1.15, allocations: 274.6 kB / 0.8038 GB, free: 142.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/1.151, allocations: 37.56 kB / 0.8038 GB, free: 142.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001968/1.153, allocations: 1.116 MB / 0.8049 GB, free: 142 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.153, allocations: 1.281 kB / 0.8049 GB, free: 142 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002231/1.155, allocations: 0.836 MB / 0.8057 GB, free: 142 MB / 0.573 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.0003601/1.155, allocations: 188.4 kB / 0.8059 GB, free: 141.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01434/1.17, allocations: 5.181 MB / 0.8109 GB, free: 141.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.17, allocations: 0 / 0.8109 GB, free: 141.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00638/1.176, allocations: 2.253 MB / 0.8131 GB, free: 141.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/1.178, allocations: 150.8 kB / 0.8133 GB, free: 141.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007353/1.186, allocations: 4.037 MB / 0.8172 GB, free: 139.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008437/1.186, allocations: 1.352 MB / 0.8185 GB, free: 138.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000886/1.187, allocations: 166 kB / 0.8187 GB, free: 138.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/1.188, allocations: 96.08 kB / 0.8188 GB, free: 138.7 MB / 0.573 GB Notification: Performance of SimCode: time 8.51e-07/1.188, allocations: 0 / 0.8188 GB, free: 138.7 MB / 0.573 GB Notification: Performance of Templates: time 0.0481/1.236, allocations: 32.65 MB / 0.8507 GB, free: 137.2 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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_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_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.o OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.o] Error 1