Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.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.001657/0.001657, allocations: 172.8 kB / 16.11 MB, free: 5.695 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.505/1.505, allocations: 205.4 MB / 222.3 MB, free: 9.035 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.0007242/0.0007243, allocations: 92.17 kB / 270.6 MB, free: 8.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3023/0.3023, allocations: 42.29 MB / 361.2 MB, free: 49.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007099/0.0007101, allocations: 16 kB / 429.4 MB, free: 7.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1513, allocations: 57.55 MB / 487 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4161/0.5675, allocations: 111.3 MB / 0.5842 GB, free: 12.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.5678, allocations: 96.56 kB / 0.5843 GB, free: 12.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1362/0.7041, allocations: 47.85 MB / 0.631 GB, free: 12.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.7041, allocations: 0 / 0.631 GB, free: 12.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001646/0.7043, allocations: 35.98 kB / 0.6311 GB, free: 12.3 MB / 458.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.008488/0.7128, allocations: 2.735 MB / 0.6338 GB, free: 9.508 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.7129, allocations: 8.031 kB / 0.6338 GB, free: 9.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003624/0.7165, allocations: 0.5883 MB / 0.6343 GB, free: 8.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.7197, allocations: 1.245 MB / 0.6356 GB, free: 7.613 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007318/0.7204, allocations: 0.5003 MB / 0.636 GB, free: 7.031 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005272/0.7209, allocations: 123.8 kB / 0.6362 GB, free: 6.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004273/0.7252, allocations: 1.71 MB / 0.6378 GB, free: 5.148 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.7253, allocations: 4 kB / 0.6378 GB, free: 5.145 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.7255, allocations: 44 kB / 0.6379 GB, free: 5.102 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.7255, allocations: 28 kB / 0.6379 GB, free: 5.074 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00379/0.7293, allocations: 1.613 MB / 0.6395 GB, free: 3.453 MB / 458.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.01145/0.7408, allocations: 5.584 MB / 0.6449 GB, free: 13.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00959/0.7504, allocations: 3.767 MB / 0.6486 GB, free: 9.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002647/0.7531, allocations: 1.09 MB / 0.6497 GB, free: 8.652 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006589/0.7538, allocations: 0.7452 MB / 0.6504 GB, free: 7.742 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002501/0.7563, allocations: 1.247 MB / 0.6516 GB, free: 6.473 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 3.676e-06/0.7563, allocations: 4 kB / 0.6516 GB, free: 6.469 MB / 474.7 MB Notification: Performance of matching and sorting (n=139): time 0.04317/0.7995, allocations: 12.58 MB / 0.6639 GB, free: 9.836 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.7996, allocations: 145.8 kB / 0.664 GB, free: 9.664 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/0.8022, allocations: 1.515 MB / 0.6655 GB, free: 8.145 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003645/0.8026, allocations: 49.69 kB / 0.6656 GB, free: 8.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000562/0.8031, allocations: 0.711 MB / 0.6663 GB, free: 7.371 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005765/0.8037, allocations: 0.489 MB / 0.6667 GB, free: 6.875 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.8038, allocations: 32 kB / 0.6668 GB, free: 6.844 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.804, allocations: 357.9 kB / 0.6671 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.8062, allocations: 0.9643 MB / 0.6681 GB, free: 5.523 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/0.8086, allocations: 1.165 MB / 0.6692 GB, free: 4.305 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004426/0.813, allocations: 2.09 MB / 0.6712 GB, free: 2.168 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.813, allocations: 0 / 0.6712 GB, free: 2.168 MB / 490.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.2018/1.015, allocations: 3.245 MB / 0.6744 GB, free: 111.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.015, allocations: 217.5 kB / 0.6746 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/1.015, allocations: 3.969 kB / 0.6746 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/1.025, allocations: 3.157 MB / 0.6777 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.027, allocations: 240.3 kB / 0.6779 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006533/1.033, allocations: 3.684 MB / 0.6815 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/1.035, allocations: 293.4 kB / 0.6818 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/1.035, allocations: 59.73 kB / 0.6819 GB, free: 109.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/1.035, allocations: 5.656 kB / 0.6819 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006508/1.042, allocations: 3.03 MB / 0.6848 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.042, allocations: 6.188 kB / 0.6848 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009133/1.051, allocations: 3.161 MB / 0.6879 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.052, allocations: 236 kB / 0.6881 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006663/1.059, allocations: 3.667 MB / 0.6917 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/1.061, allocations: 282.1 kB / 0.692 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/1.062, allocations: 58.58 kB / 0.6921 GB, free: 108.6 MB / 490.7 MB 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.0008037/1.062, allocations: 394.2 kB / 0.6924 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/1.063, allocations: 182.1 kB / 0.6926 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/1.078, allocations: 6.058 MB / 0.6985 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/1.079, allocations: 17.28 kB / 0.6985 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.079, allocations: 0 / 0.6985 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.244e-05/1.079, allocations: 15.48 kB / 0.6986 GB, free: 108.1 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.02019/1.099, allocations: 8.34 MB / 0.7067 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.099, allocations: 1.312 kB / 0.7067 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/1.1, allocations: 185.3 kB / 0.7069 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008104/1.108, allocations: 2.51 MB / 0.7093 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005291/1.109, allocations: 34.39 kB / 0.7094 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02487/1.134, allocations: 10.3 MB / 0.7194 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/1.134, allocations: 5.219 kB / 0.7194 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01832/1.152, allocations: 7.425 MB / 0.7267 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006163/1.153, allocations: 294.4 kB / 0.727 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/1.153, allocations: 29.28 kB / 0.727 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/1.155, allocations: 210.9 kB / 0.7272 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008527/1.156, allocations: 284.9 kB / 0.7275 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.156, allocations: 37.61 kB / 0.7275 GB, free: 100.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001524/1.157, allocations: 1.048 MB / 0.7285 GB, free: 100.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.2e-07/1.157, allocations: 0 / 0.7285 GB, free: 100.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002297/1.16, allocations: 0.8488 MB / 0.7293 GB, free: 100.2 MB / 490.7 MB 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.0004253/1.16, allocations: 208 kB / 0.7295 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01466/1.175, allocations: 5.213 MB / 0.7346 GB, free: 98.85 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.175, allocations: 3.531 kB / 0.7346 GB, free: 98.85 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006147/1.181, allocations: 2.284 MB / 0.7369 GB, free: 98.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/1.183, allocations: 168.9 kB / 0.737 GB, free: 98.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005817/1.189, allocations: 4.066 MB / 0.741 GB, free: 95.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/1.189, allocations: 1.301 MB / 0.7423 GB, free: 94.94 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009548/1.19, allocations: 170.3 kB / 0.7424 GB, free: 94.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/1.191, allocations: 98.23 kB / 0.7425 GB, free: 94.9 MB / 490.7 MB Notification: Performance of SimCode: time 6.82e-07/1.191, allocations: 0 / 0.7425 GB, free: 94.9 MB / 490.7 MB Notification: Performance of Templates: time 0.0431/1.234, allocations: 33.26 MB / 0.775 GB, free: 77.25 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_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_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC1A_functions.h:163: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.Controls.PSSE.ES.ESAC1A.o] Error 1