Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005393/0.005393, 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.386/1.386, 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.0009212/0.0009212, 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.06113/0.06113, 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.4089/0.4089, allocations: 78.52 MB / 460 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005359/0.0005359, allocations: 19.25 kB / 0.5285 GB, free: 35.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1475, allocations: 69.33 MB / 0.5962 GB, free: 3.812 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.6008, allocations: 117.9 MB / 0.7113 GB, free: 32.76 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.6012, allocations: 90.91 kB / 0.7114 GB, free: 32.76 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1187/0.7199, allocations: 48.39 MB / 0.7587 GB, free: 20.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.72, allocations: 0 / 0.7587 GB, free: 20.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001016/0.7201, allocations: 35 kB / 0.7587 GB, free: 20.58 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.007059/0.7272, allocations: 2.752 MB / 0.7614 GB, free: 19.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.7272, allocations: 18.52 kB / 0.7614 GB, free: 19.03 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003257/0.7305, allocations: 0.5842 MB / 0.762 GB, free: 18.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.7328, allocations: 1.186 MB / 0.7631 GB, free: 18.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004096/0.7333, allocations: 0.4991 MB / 0.7636 GB, free: 17.78 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.7335, allocations: 117.6 kB / 0.7637 GB, free: 17.78 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/0.7366, allocations: 1.704 MB / 0.7654 GB, free: 17.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.7367, allocations: 3.938 kB / 0.7654 GB, free: 17.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.7368, allocations: 45.78 kB / 0.7655 GB, free: 17.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.7369, allocations: 32.8 kB / 0.7655 GB, free: 17.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/0.7399, allocations: 1.608 MB / 0.7671 GB, free: 17.02 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.009289/0.7492, allocations: 5.574 MB / 0.7725 GB, free: 14.26 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008362/0.7576, allocations: 3.771 MB / 0.7762 GB, free: 12.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005626/0.7582, allocations: 0.7323 MB / 0.7769 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002424/0.7606, allocations: 1.249 MB / 0.7781 GB, free: 11.67 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 3.617e-06/0.7606, allocations: 0 / 0.7781 GB, free: 11.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=139): time 0.04105/0.8017, allocations: 12.54 MB / 0.7904 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.8018, allocations: 145.8 kB / 0.7905 GB, free: 0.625 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.8043, allocations: 1.328 MB / 0.7918 GB, free: 15.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005033/0.8048, allocations: 52.08 kB / 0.7919 GB, free: 15.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005081/0.8053, allocations: 0.7121 MB / 0.7925 GB, free: 15.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006047/0.806, allocations: 490.7 kB / 0.793 GB, free: 14.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.8061, allocations: 33.12 kB / 0.793 GB, free: 14.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.8062, allocations: 367.4 kB / 0.7934 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.8084, allocations: 0.957 MB / 0.7943 GB, free: 13.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/0.8106, allocations: 1.161 MB / 0.7955 GB, free: 12.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.8128, allocations: 1.021 MB / 0.7965 GB, free: 12.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.8129, allocations: 0 / 0.7965 GB, free: 12.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007709/0.8206, allocations: 3.244 MB / 0.7996 GB, free: 9.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006907/0.8213, allocations: 1.547 MB / 0.8011 GB, free: 8.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.8213, allocations: 4 kB / 0.8011 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/0.8318, allocations: 3.17 MB / 0.8042 GB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.8331, allocations: 235.7 kB / 0.8045 GB, free: 4.824 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007413/0.8406, allocations: 3.678 MB / 0.8081 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.8434, allocations: 290.6 kB / 0.8083 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/0.8438, allocations: 51.98 kB / 0.8084 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.8438, allocations: 9.984 kB / 0.8084 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007629/0.8515, allocations: 3.036 MB / 0.8114 GB, free: 13.71 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.8515, allocations: 4.375 kB / 0.8114 GB, free: 13.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/0.8618, allocations: 3.166 MB / 0.8145 GB, free: 10.54 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.8632, allocations: 227.6 kB / 0.8147 GB, free: 10.31 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007846/0.871, allocations: 3.675 MB / 0.8183 GB, free: 6.582 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/0.8739, allocations: 278.7 kB / 0.8185 GB, free: 6.309 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003519/0.8742, allocations: 55.97 kB / 0.8186 GB, free: 6.254 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,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.001371/0.8756, allocations: 396.8 kB / 0.819 GB, free: 5.855 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009345/0.8766, allocations: 185.7 kB / 0.8191 GB, free: 5.672 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01877/0.8954, allocations: 6.056 MB / 0.825 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.364e-05/0.8954, allocations: 16 kB / 0.8251 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.8955, allocations: 0 / 0.8251 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-05/0.8955, allocations: 7.969 kB / 0.8251 GB, free: 15.57 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.02461/0.9201, allocations: 8.337 MB / 0.8332 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/0.9202, allocations: 4 kB / 0.8332 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.9216, allocations: 183.8 kB / 0.8334 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007933/0.9296, allocations: 2.509 MB / 0.8358 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005533/0.9302, allocations: 31.95 kB / 0.8359 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02751/0.9577, allocations: 10.88 MB / 0.8465 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.9578, allocations: 3.938 kB / 0.8465 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02187/0.9796, allocations: 7.459 MB / 0.8538 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.9808, allocations: 298.5 kB / 0.8541 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008088/0.9816, allocations: 23.94 kB / 0.8541 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002451/0.9841, allocations: 207.8 kB / 0.8543 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001119/0.9852, allocations: 289.2 kB / 0.8546 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/0.9855, allocations: 47.88 kB / 0.8546 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002368/0.9879, allocations: 1.031 MB / 0.8556 GB, free: 0 / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9879, allocations: 0 / 0.8556 GB, free: 0 / 0.5261 GB Notification: Performance of remove unused functions: time 0.003891/0.9918, allocations: 0.8541 MB / 0.8565 GB, free: 15.14 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.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 (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.0006791/0.9925, allocations: 205.6 kB / 0.8566 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01644/1.009, allocations: 5.208 MB / 0.8617 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.009, allocations: 0 / 0.8617 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006861/1.016, allocations: 2.295 MB / 0.864 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/1.018, allocations: 149.8 kB / 0.8641 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008409/1.026, allocations: 4.107 MB / 0.8681 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.027, allocations: 1.334 MB / 0.8694 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001203/1.029, allocations: 169.8 kB / 0.8696 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/1.029, allocations: 95.41 kB / 0.8697 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of SimCode: time 1.172e-06/1.029, allocations: 0 / 0.8697 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of Templates: time 0.06129/1.091, allocations: 33.18 MB / 0.9021 GB, free: 368 kB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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_ESAC1A -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A_functions.h:169: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.ESAC1A.o] Error 1