Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007201/0.007201, allocations: 171.1 kB / 15.11 MB, free: 5.988 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.591/1.591, 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.00124/0.001239, allocations: 86.88 kB / 269.6 MB, free: 13.38 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.07399/0.07399, allocations: 12.59 MB / 330.4 MB, free: 10.31 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4454/0.4454, allocations: 78.51 MB / 460 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005351/0.0005351, allocations: 18.06 kB / 0.5285 GB, free: 35.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1565, allocations: 69.34 MB / 0.5962 GB, free: 3.805 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.6441, allocations: 115.7 MB / 0.7092 GB, free: 32.71 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.6445, allocations: 92.83 kB / 0.7093 GB, free: 32.71 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1208/0.7653, allocations: 47.05 MB / 0.7552 GB, free: 21.56 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7654, allocations: 0 / 0.7552 GB, free: 21.56 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.7655, allocations: 34.88 kB / 0.7553 GB, free: 21.56 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.006897/0.7724, allocations: 2.726 MB / 0.7579 GB, free: 20 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7725, allocations: 15.61 kB / 0.7579 GB, free: 20 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/0.7757, allocations: 0.5981 MB / 0.7585 GB, free: 19.76 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.778, allocations: 1.134 MB / 0.7596 GB, free: 19.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003717/0.7784, allocations: 0.496 MB / 0.7601 GB, free: 18.75 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.7786, allocations: 124.6 kB / 0.7602 GB, free: 18.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.7815, allocations: 1.757 MB / 0.7619 GB, free: 18.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.7816, allocations: 0 / 0.7619 GB, free: 18.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.7817, allocations: 60.08 kB / 0.762 GB, free: 18.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.7817, allocations: 30.59 kB / 0.762 GB, free: 18.22 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.7847, allocations: 1.618 MB / 0.7636 GB, free: 17.95 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.009702/0.7945, allocations: 5.916 MB / 0.7694 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008375/0.8029, allocations: 3.657 MB / 0.773 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.8031, allocations: 28.28 kB / 0.773 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002139/0.8052, allocations: 1.244 MB / 0.7742 GB, free: 13.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 3.426e-06/0.8052, allocations: 0 / 0.7742 GB, free: 13.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.043/0.8482, allocations: 14.78 MB / 0.7886 GB, free: 2.785 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.8483, allocations: 197.2 kB / 0.7888 GB, free: 2.551 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.8504, allocations: 1.316 MB / 0.7901 GB, free: 1.578 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004006/0.8508, allocations: 55.33 kB / 0.7902 GB, free: 1.539 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.8512, allocations: 0.7375 MB / 0.7909 GB, free: 1.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004608/0.8517, allocations: 0.5107 MB / 0.7914 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.8518, allocations: 33.5 kB / 0.7914 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.298e-05/0.8519, allocations: 370.3 kB / 0.7918 GB, free: 384 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.8539, allocations: 0.9646 MB / 0.7927 GB, free: 15.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/0.8563, allocations: 1.19 MB / 0.7939 GB, free: 14.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.8585, allocations: 1.073 MB / 0.7949 GB, free: 14.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.8585, allocations: 0 / 0.7949 GB, free: 14.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.008011/0.8665, allocations: 3.457 MB / 0.7983 GB, free: 10.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001088/0.8676, allocations: 1.845 MB / 0.8001 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.8677, allocations: 4 kB / 0.8001 GB, free: 8.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009821/0.8775, allocations: 3.084 MB / 0.8031 GB, free: 5.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.8785, allocations: 203.7 kB / 0.8033 GB, free: 5.645 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007851/0.8864, allocations: 3.932 MB / 0.8071 GB, free: 1.664 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/0.8889, allocations: 223.8 kB / 0.8074 GB, free: 1.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.8891, allocations: 55.98 kB / 0.8074 GB, free: 1.391 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.8891, allocations: 8 kB / 0.8074 GB, free: 1.383 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007043/0.8961, allocations: 3.207 MB / 0.8106 GB, free: 14.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.8962, allocations: 4 kB / 0.8106 GB, free: 14.16 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009662/0.9058, allocations: 3.041 MB / 0.8135 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009734/0.9068, allocations: 199.7 kB / 0.8137 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.9171, allocations: 5.38 MB / 0.819 GB, free: 5.375 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.9197, allocations: 215.8 kB / 0.8192 GB, free: 5.164 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.9199, allocations: 55.98 kB / 0.8192 GB, free: 5.109 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 120 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,29 43} Notification: Performance of prepare postOptimizeDAE: time 0.001049/0.9209, allocations: 396.9 kB / 0.8196 GB, free: 4.711 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/0.9213, allocations: 189.7 kB / 0.8198 GB, free: 4.523 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01826/0.9396, allocations: 6.232 MB / 0.8259 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.9396, allocations: 12 kB / 0.8259 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.9397, allocations: 4 kB / 0.8259 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.777e-05/0.9397, allocations: 11.95 kB / 0.8259 GB, free: 14.24 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 postOpt removeSimpleEquations (simulation): time 0.02215/0.9619, allocations: 8.587 MB / 0.8343 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.9619, allocations: 0 / 0.8343 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.9631, allocations: 163.8 kB / 0.8344 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008187/0.9713, allocations: 2.65 MB / 0.837 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003352/0.9716, allocations: 31.98 kB / 0.8371 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03178/1.003, allocations: 13.03 MB / 0.8498 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.003, allocations: 0 / 0.8498 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02171/1.025, allocations: 7.666 MB / 0.8573 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.026, allocations: 270.6 kB / 0.8575 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007796/1.027, allocations: 32 kB / 0.8576 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/1.029, allocations: 207.8 kB / 0.8578 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/1.031, allocations: 309.2 kB / 0.8581 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002334/1.031, allocations: 39.98 kB / 0.8581 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002418/1.033, allocations: 1.018 MB / 0.8591 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.8e-07/1.033, allocations: 0 / 0.8591 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003027/1.036, allocations: 0.7813 MB / 0.8599 GB, free: 11.02 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,hYGOV.SimpleLag1.state,hYGOV.q.y,hYGOV.g.state,hYGOV.Position_Limiter.y,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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004411/1.037, allocations: 170.8 kB / 0.86 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01577/1.053, allocations: 5.612 MB / 0.8655 GB, free: 5.199 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.053, allocations: 0.9375 kB / 0.8655 GB, free: 5.199 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006777/1.059, allocations: 2.455 MB / 0.8679 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/1.061, allocations: 145.3 kB / 0.868 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009029/1.07, allocations: 4.163 MB / 0.8721 GB, free: 14.38 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.072, allocations: 1.367 MB / 0.8734 GB, free: 12.98 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001074/1.073, allocations: 154.1 kB / 0.8736 GB, free: 12.83 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/1.074, allocations: 95.41 kB / 0.8737 GB, free: 12.74 MB / 0.5574 GB Notification: Performance of SimCode: time 1.363e-06/1.074, allocations: 0 / 0.8737 GB, free: 12.74 MB / 0.5574 GB Notification: Performance of Templates: time 0.06224/1.136, allocations: 34.06 MB / 0.9069 GB, free: 10.69 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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_TG_HYGOV -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV_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.TG.HYGOV.o] Error 1