Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004522/0.004522, 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.149/1.149, allocations: 223.2 MB / 239 MB, free: 1.785 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.000871/0.000871, allocations: 100.9 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4026/0.4026, allocations: 78.52 MB / 419.8 MB, free: 44.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 15.98 kB / 499.7 MB, free: 2.766 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2747, allocations: 69.35 MB / 0.5557 GB, free: 38.67 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.3885, allocations: 112.7 MB / 0.6657 GB, free: 9.719 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.3887, allocations: 83.95 kB / 0.6658 GB, free: 9.637 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5159/0.9046, allocations: 129 MB / 0.7918 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9047, allocations: 3.094 kB / 0.7918 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002816/0.905, allocations: 84.05 kB / 0.7919 GB, free: 100.5 MB / 0.5573 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.01941/0.9244, allocations: 6.582 MB / 0.7983 GB, free: 98.33 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.9244, allocations: 9.562 kB / 0.7983 GB, free: 98.33 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008552/0.933, allocations: 1.469 MB / 0.7998 GB, free: 98.04 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008627/0.9416, allocations: 3.119 MB / 0.8028 GB, free: 97.35 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00115/0.9428, allocations: 1.008 MB / 0.8038 GB, free: 96.56 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/0.9442, allocations: 299.6 kB / 0.8041 GB, free: 96.55 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.9554, allocations: 4.108 MB / 0.8081 GB, free: 96.32 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-05/0.9555, allocations: 2.047 kB / 0.8081 GB, free: 96.32 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007508/0.9563, allocations: 109.8 kB / 0.8082 GB, free: 96.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.655e-05/0.9564, allocations: 67.06 kB / 0.8083 GB, free: 96.32 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009179/0.9656, allocations: 3.985 MB / 0.8122 GB, free: 96.26 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 preOpt removeSimpleEquations (simulation): time 0.02877/0.9944, allocations: 15.37 MB / 0.8272 GB, free: 92.22 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/1.01, allocations: 7.208 MB / 0.8342 GB, free: 89.48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009087/1.011, allocations: 0.7623 MB / 0.835 GB, free: 88.62 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006526/1.017, allocations: 3.027 MB / 0.8379 GB, free: 87.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=331): time 7.765e-06/1.017, allocations: 0 / 0.8379 GB, free: 87.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=331): time 0.1151/1.132, allocations: 33.86 MB / 0.871 GB, free: 82.77 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/1.132, allocations: 192.8 kB / 0.8712 GB, free: 82.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007743/1.14, allocations: 3.843 MB / 0.8749 GB, free: 81.12 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009612/1.141, allocations: 89.84 kB / 0.875 GB, free: 81.04 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001587/1.143, allocations: 1.885 MB / 0.8768 GB, free: 79.55 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001683/1.144, allocations: 1.155 MB / 0.878 GB, free: 78.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007653/1.145, allocations: 79.84 kB / 0.878 GB, free: 78.58 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002549/1.145, allocations: 449.1 kB / 0.8785 GB, free: 78.21 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005203/1.151, allocations: 2.42 MB / 0.8808 GB, free: 77.34 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005202/1.156, allocations: 2.79 MB / 0.8836 GB, free: 75.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004904/1.161, allocations: 2.556 MB / 0.8861 GB, free: 73.42 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/1.161, allocations: 0 / 0.8861 GB, free: 73.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01517/1.176, allocations: 7.818 MB / 0.8937 GB, free: 66.36 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/1.176, allocations: 12.12 kB / 0.8937 GB, free: 66.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/1.176, allocations: 8 kB / 0.8937 GB, free: 66.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02251/1.199, allocations: 11.09 MB / 0.9045 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/1.202, allocations: 0.5862 MB / 0.9051 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.216, allocations: 6.968 MB / 0.9119 GB, free: 50.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005898/1.222, allocations: 0.695 MB / 0.9126 GB, free: 49.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000624/1.222, allocations: 131.2 kB / 0.9127 GB, free: 49.38 MB / 0.5573 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.002341/1.225, allocations: 0.7078 MB / 0.9134 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00159/1.226, allocations: 478 kB / 0.9139 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03457/1.261, allocations: 14.06 MB / 0.9276 GB, free: 37.14 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/1.261, allocations: 46.47 kB / 0.9276 GB, free: 37.11 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.261, allocations: 0 / 0.9276 GB, free: 37.11 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-05/1.261, allocations: 14.53 kB / 0.9277 GB, free: 37.11 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.04945/1.311, allocations: 19.99 MB / 0.9472 GB, free: 17.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-05/1.311, allocations: 4 kB / 0.9472 GB, free: 17.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003047/1.314, allocations: 435.4 kB / 0.9476 GB, free: 17.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01532/1.329, allocations: 5.577 MB / 0.953 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001066/1.33, allocations: 82.66 kB / 0.9531 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05396/1.384, allocations: 23.27 MB / 0.9759 GB, free: 4.316 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.384, allocations: 3.5 kB / 0.9759 GB, free: 4.316 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04838/1.433, allocations: 17.4 MB / 0.9928 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/1.435, allocations: 0.7052 MB / 0.9935 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001924/1.437, allocations: 68 kB / 0.9936 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005853/1.443, allocations: 491.5 kB / 0.9941 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002826/1.446, allocations: 0.6236 MB / 0.9947 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007919/1.446, allocations: 91.97 kB / 0.9948 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.2461/1.693, allocations: 2.946 MB / 0.9976 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.11e-07/1.693, allocations: 0 / 0.9976 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005375/1.698, allocations: 1.272 MB / 0.9989 GB, free: 125.3 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.0009905/1.699, allocations: 403.2 kB / 0.9993 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01889/1.718, allocations: 7.352 MB / 1.006 GB, free: 125 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.718, allocations: 0 / 1.006 GB, free: 125 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01211/1.73, allocations: 4.974 MB / 1.011 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/1.733, allocations: 391.8 kB / 1.012 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/1.747, allocations: 10.88 MB / 1.022 GB, free: 120 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/1.749, allocations: 2.425 MB / 1.025 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002211/1.751, allocations: 404.6 kB / 1.025 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.752, allocations: 240.3 kB / 1.025 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of SimCode: time 9.52e-07/1.752, allocations: 0 / 1.025 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.09123/1.843, allocations: 67.23 MB / 1.091 GB, free: 115.6 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile make -j1 -f OpenIPSL_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_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_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.o OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.c In file included from OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR_model.h:24: ./OpenIPSL_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_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.o] Error 1