Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.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.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXNI") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXNI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009538/0.0009539, allocations: 170.7 kB / 16.11 MB, free: 5.555 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.387/1.387, allocations: 205.4 MB / 222.3 MB, free: 9.039 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.0007806/0.0007807, allocations: 90.42 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2786/0.2786, allocations: 42.28 MB / 361.2 MB, free: 49.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.000438, allocations: 12 kB / 429.4 MB, free: 7.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1059, allocations: 57.56 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3013/0.4072, allocations: 105.3 MB / 0.5784 GB, free: 2.508 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4075, allocations: 92.58 kB / 0.5785 GB, free: 2.418 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1074/0.5149, allocations: 40.78 MB / 0.6183 GB, free: 9.426 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.515, allocations: 0 / 0.6183 GB, free: 9.426 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001206/0.5151, allocations: 28 kB / 0.6183 GB, free: 9.398 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.00761/0.5227, allocations: 2.434 MB / 0.6207 GB, free: 6.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.5228, allocations: 12.02 kB / 0.6207 GB, free: 6.898 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.5262, allocations: 0.5573 MB / 0.6212 GB, free: 6.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.5287, allocations: 1.063 MB / 0.6223 GB, free: 5.223 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005886/0.5293, allocations: 462.3 kB / 0.6227 GB, free: 4.699 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004071/0.5297, allocations: 106.9 kB / 0.6228 GB, free: 4.598 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.5333, allocations: 1.529 MB / 0.6243 GB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.5334, allocations: 0 / 0.6243 GB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.5336, allocations: 40 kB / 0.6244 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.5336, allocations: 24 kB / 0.6244 GB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003324/0.5369, allocations: 1.448 MB / 0.6258 GB, free: 1.539 MB / 442.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.009666/0.5466, allocations: 4.928 MB / 0.6306 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009073/0.5557, allocations: 3.581 MB / 0.6341 GB, free: 8.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/0.5577, allocations: 0.9977 MB / 0.6351 GB, free: 7.656 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.5579, allocations: 28.98 kB / 0.6351 GB, free: 7.625 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.558, allocations: 47.5 kB / 0.6352 GB, free: 7.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=127): time 3.346e-06/0.558, allocations: 0 / 0.6352 GB, free: 7.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=127): time 0.04195/0.5999, allocations: 11.74 MB / 0.6466 GB, free: 11.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.6001, allocations: 145.5 kB / 0.6468 GB, free: 11.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.6025, allocations: 1.306 MB / 0.648 GB, free: 10.28 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003036/0.6028, allocations: 45.7 kB / 0.6481 GB, free: 10.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.6034, allocations: 0.6398 MB / 0.6487 GB, free: 9.582 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006922/0.6041, allocations: 453.3 kB / 0.6491 GB, free: 9.133 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.6043, allocations: 28 kB / 0.6492 GB, free: 9.105 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6044, allocations: 353.9 kB / 0.6495 GB, free: 8.754 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.6065, allocations: 0.855 MB / 0.6503 GB, free: 7.902 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.6086, allocations: 1.038 MB / 0.6513 GB, free: 6.809 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00417/0.6128, allocations: 1.905 MB / 0.6532 GB, free: 4.852 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.6128, allocations: 4 kB / 0.6532 GB, free: 4.848 MB / 474.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007097/0.6199, allocations: 2.989 MB / 0.6561 GB, free: 1.844 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.6201, allocations: 201.5 kB / 0.6563 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.6201, allocations: 4 kB / 0.6563 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/0.6308, allocations: 3.403 MB / 0.6596 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.6317, allocations: 167.7 kB / 0.6598 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008013/0.6397, allocations: 3.364 MB / 0.6631 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.6419, allocations: 250.8 kB / 0.6633 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/0.6422, allocations: 47.98 kB / 0.6634 GB, free: 10.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.6422, allocations: 11.88 kB / 0.6634 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006787/0.649, allocations: 2.775 MB / 0.6661 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.6491, allocations: 4 kB / 0.6661 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.6596, allocations: 3.372 MB / 0.6694 GB, free: 4.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/0.6605, allocations: 159.8 kB / 0.6695 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008152/0.6687, allocations: 3.321 MB / 0.6728 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.6709, allocations: 226.8 kB / 0.673 GB, free: 444 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.6711, allocations: 43.98 kB / 0.673 GB, free: 400 kB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (eXNI.booleanConstant.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {34 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009527/0.6721, allocations: 360.8 kB / 0.6734 GB, free: 28 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.199/0.8712, allocations: 161.4 kB / 0.6735 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01788/0.8891, allocations: 6.003 MB / 0.6794 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.8891, allocations: 13.75 kB / 0.6794 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.8891, allocations: 1.375 kB / 0.6794 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.6e-05/0.8892, allocations: 6.562 kB / 0.6794 GB, free: 117.4 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.01955/0.9087, allocations: 8.112 MB / 0.6873 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.9088, allocations: 3 kB / 0.6874 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008817/0.9097, allocations: 138.3 kB / 0.6875 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007301/0.917, allocations: 2.593 MB / 0.69 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/0.9172, allocations: 29.98 kB / 0.69 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0239/0.9411, allocations: 12.01 MB / 0.7018 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.9412, allocations: 2.734 kB / 0.7018 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01856/0.9597, allocations: 7.233 MB / 0.7088 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006972/0.9605, allocations: 277.8 kB / 0.7091 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005165/0.961, allocations: 23.7 kB / 0.7091 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.9629, allocations: 160.9 kB / 0.7093 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009586/0.9638, allocations: 261.9 kB / 0.7095 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.964, allocations: 35.81 kB / 0.7096 GB, free: 111.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001479/0.9654, allocations: 0.8911 MB / 0.7104 GB, free: 111.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9655, allocations: 0 / 0.7104 GB, free: 111.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002073/0.9675, allocations: 0.7729 MB / 0.7112 GB, free: 111.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * 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 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003351/0.9679, allocations: 177.8 kB / 0.7114 GB, free: 111.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01505/0.9829, allocations: 4.874 MB / 0.7161 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.983, allocations: 0.9375 kB / 0.7161 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00635/0.9894, allocations: 2.301 MB / 0.7184 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.991, allocations: 143.9 kB / 0.7185 GB, free: 109.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/0.9965, allocations: 3.692 MB / 0.7221 GB, free: 107.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.9971, allocations: 1.229 MB / 0.7233 GB, free: 106.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006563/0.9978, allocations: 118.6 kB / 0.7234 GB, free: 106.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.9981, allocations: 80.16 kB / 0.7235 GB, free: 106.3 MB / 490.7 MB Notification: Performance of SimCode: time 4.2e-07/0.9981, allocations: 0 / 0.7235 GB, free: 106.3 MB / 490.7 MB Notification: Performance of Templates: time 0.0395/1.038, allocations: 31.4 MB / 0.7542 GB, free: 99.1 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.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_release_OpenIPSL_Examples_Controls_PSSE_ES_EXNI -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXNI_model.h:26: ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.EXNI_functions.h:147: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_release_OpenIPSL.Examples.Controls.PSSE.ES.EXNI.o] Error 1