Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005639/0.005639, allocations: 169.5 kB / 15.11 MB, free: 5.984 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.432/1.432, allocations: 205.4 MB / 221.2 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.0008755/0.0008754, allocations: 94.81 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.0702/0.0702, 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.4321/0.4321, allocations: 78.52 MB / 460 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005069, allocations: 17.09 kB / 0.5285 GB, free: 35.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1483, allocations: 69.33 MB / 0.5962 GB, free: 3.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4845/0.6329, allocations: 114.3 MB / 0.7078 GB, free: 32.86 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.6332, allocations: 78.8 kB / 0.7079 GB, free: 32.86 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2911/0.9244, allocations: 126.3 MB / 0.8312 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9244, allocations: 0 / 0.8312 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006188/0.9251, allocations: 88 kB / 0.8312 GB, free: 10.65 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: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.02477/0.9499, allocations: 6.579 MB / 0.8377 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.9499, allocations: 15.98 kB / 0.8377 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009582/0.9595, allocations: 1.465 MB / 0.8391 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.9707, allocations: 3.122 MB / 0.8422 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001363/0.9721, allocations: 1.02 MB / 0.8432 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001651/0.9738, allocations: 291.8 kB / 0.8434 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.9867, allocations: 4.105 MB / 0.8474 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.684e-05/0.9868, allocations: 4 kB / 0.8475 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004523/0.9872, allocations: 112 kB / 0.8476 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.531e-05/0.9873, allocations: 68 kB / 0.8476 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009025/0.9963, allocations: 3.98 MB / 0.8515 GB, free: 5.488 MB / 0.5261 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.03192/1.028, allocations: 15.35 MB / 0.8665 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01649/1.045, allocations: 7.201 MB / 0.8735 GB, free: 14.11 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/1.046, allocations: 0.7699 MB / 0.8743 GB, free: 13.18 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008368/1.054, allocations: 3.029 MB / 0.8772 GB, free: 10.09 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=331): time 1.311e-05/1.054, allocations: 0 / 0.8772 GB, free: 10.09 MB / 0.5574 GB Notification: Performance of matching and sorting (n=331): time 0.1301/1.184, allocations: 33.85 MB / 0.9103 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/1.185, allocations: 200.9 kB / 0.9105 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0117/1.196, allocations: 3.856 MB / 0.9143 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001422/1.198, allocations: 89.7 kB / 0.9143 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002666/1.201, allocations: 1.889 MB / 0.9162 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002808/1.203, allocations: 1.155 MB / 0.9173 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/1.205, allocations: 72 kB / 0.9174 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0004611/1.205, allocations: 450 kB / 0.9178 GB, free: 372 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3316/1.537, allocations: 2.413 MB / 0.9202 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007034/1.544, allocations: 2.791 MB / 0.9229 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006842/1.551, allocations: 2.55 MB / 0.9254 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/1.551, allocations: 6.406 kB / 0.9254 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01995/1.571, allocations: 7.816 MB / 0.933 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/1.571, allocations: 10.09 kB / 0.933 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.523e-05/1.571, allocations: 7.219 kB / 0.933 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02607/1.597, allocations: 11.09 MB / 0.9439 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/1.6, allocations: 0.5851 MB / 0.9444 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/1.616, allocations: 6.963 MB / 0.9512 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006484/1.622, allocations: 0.7015 MB / 0.9519 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008659/1.623, allocations: 136.5 kB / 0.9521 GB, free: 124.1 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.00253/1.626, allocations: 0.6984 MB / 0.9527 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001703/1.628, allocations: 478.8 kB / 0.9532 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03608/1.664, allocations: 14.07 MB / 0.9669 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.402e-05/1.664, allocations: 34.97 kB / 0.967 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.664, allocations: 3.953 kB / 0.967 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001314/1.664, allocations: 14.77 kB / 0.967 GB, free: 123.4 MB / 0.5886 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.05088/1.715, allocations: 19.99 MB / 0.9865 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/1.715, allocations: 4.125 kB / 0.9865 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003155/1.718, allocations: 435.9 kB / 0.9869 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01577/1.734, allocations: 5.582 MB / 0.9924 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00123/1.735, allocations: 84.58 kB / 0.9925 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04875/1.784, allocations: 23.26 MB / 1.015 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.784, allocations: 0 / 1.015 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0419/1.826, allocations: 17.4 MB / 1.032 GB, free: 87.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002227/1.828, allocations: 0.7089 MB / 1.033 GB, free: 87.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/1.83, allocations: 68 kB / 1.033 GB, free: 87.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004609/1.834, allocations: 497.9 kB / 1.033 GB, free: 86.86 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00226/1.836, allocations: 0.6222 MB / 1.034 GB, free: 86.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002803/1.837, allocations: 91.41 kB / 1.034 GB, free: 86.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.005036/1.842, allocations: 2.949 MB / 1.037 GB, free: 83.94 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.01e-07/1.842, allocations: 0 / 1.037 GB, free: 83.94 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004533/1.846, allocations: 1.273 MB / 1.038 GB, free: 82.72 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/1.848, allocations: 394.9 kB / 1.039 GB, free: 82.43 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02811/1.876, allocations: 7.357 MB / 1.046 GB, free: 76.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.876, allocations: 4 kB / 1.046 GB, free: 76.06 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01497/1.891, allocations: 4.976 MB / 1.051 GB, free: 71.81 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004786/1.896, allocations: 379.5 kB / 1.051 GB, free: 71.46 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/1.918, allocations: 10.88 MB / 1.062 GB, free: 61.49 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002559/1.921, allocations: 2.431 MB / 1.064 GB, free: 59.68 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003274/1.924, allocations: 400.1 kB / 1.064 GB, free: 59.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/1.926, allocations: 233.4 kB / 1.065 GB, free: 59.19 MB / 0.5886 GB Notification: Performance of SimCode: time 1.603e-06/1.926, allocations: 0 / 1.065 GB, free: 59.19 MB / 0.5886 GB Notification: Performance of Templates: time 0.1014/2.027, allocations: 67.23 MB / 1.13 GB, free: 3.715 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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_Examples_TwoAreas_Two_Areas_PSSE_AVR -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.o OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.c In file included from OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR_functions.h:587: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.Examples.TwoAreas.Two_Areas_PSSE_AVR.o] Error 1