Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO.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.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.00127, allocations: 176 kB / 16.12 MB, free: 5.699 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.473/1.473, allocations: 205.4 MB / 222.3 MB, free: 9.031 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.000842/0.0008419, allocations: 102.2 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3123/0.3123, allocations: 42.28 MB / 361.2 MB, free: 49.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004098, allocations: 12 kB / 429.4 MB, free: 7.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 57.56 MB / 487 MB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4883, allocations: 106.6 MB / 0.5797 GB, free: 1.109 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.4886, allocations: 90.41 kB / 0.5798 GB, free: 1.023 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.6212, allocations: 46.14 MB / 0.6248 GB, free: 2.652 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.6212, allocations: 0 / 0.6248 GB, free: 2.652 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002336/0.6215, allocations: 35.94 kB / 0.6249 GB, free: 2.617 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.008966/0.6305, allocations: 2.66 MB / 0.6275 GB, free: 15.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.6305, allocations: 12.02 kB / 0.6275 GB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00357/0.6341, allocations: 0.5843 MB / 0.628 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/0.6378, allocations: 1.214 MB / 0.6292 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007008/0.6386, allocations: 0.5678 MB / 0.6298 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005443/0.6391, allocations: 123.8 kB / 0.6299 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004807/0.6439, allocations: 1.662 MB / 0.6315 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/0.644, allocations: 3.938 kB / 0.6315 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003513/0.6444, allocations: 48 kB / 0.6316 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-05/0.6445, allocations: 32 kB / 0.6316 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004477/0.6489, allocations: 1.586 MB / 0.6331 GB, free: 9.859 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.01411/0.6631, allocations: 5.585 MB / 0.6386 GB, free: 4.043 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009417/0.6725, allocations: 3.691 MB / 0.6422 GB, free: 216 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002705/0.6753, allocations: 1.057 MB / 0.6432 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.6756, allocations: 25.2 kB / 0.6433 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003097/0.6787, allocations: 1.232 MB / 0.6445 GB, free: 13.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 6.002e-06/0.6787, allocations: 0 / 0.6445 GB, free: 13.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=139): time 0.04079/0.7195, allocations: 11.44 MB / 0.6556 GB, free: 2.383 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.7197, allocations: 171.6 kB / 0.6558 GB, free: 2.176 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004271/0.724, allocations: 1.522 MB / 0.6573 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004933/0.7245, allocations: 49.7 kB / 0.6573 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007489/0.7253, allocations: 0.7118 MB / 0.658 GB, free: 15.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009354/0.7263, allocations: 496.8 kB / 0.6585 GB, free: 15.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/0.7266, allocations: 32 kB / 0.6585 GB, free: 15.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.7268, allocations: 365.8 kB / 0.6589 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/0.7294, allocations: 0.937 MB / 0.6598 GB, free: 14.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.732, allocations: 1.133 MB / 0.6609 GB, free: 12.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004836/0.7369, allocations: 2.071 MB / 0.6629 GB, free: 10.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.7369, allocations: 7.938 kB / 0.6629 GB, free: 10.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.008198/0.7451, allocations: 3.171 MB / 0.666 GB, free: 7.543 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002976/0.7455, allocations: 238.8 kB / 0.6663 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.7455, allocations: 4 kB / 0.6663 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009267/0.7548, allocations: 2.935 MB / 0.6691 GB, free: 4.305 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.756, allocations: 223.6 kB / 0.6693 GB, free: 4.086 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007592/0.7637, allocations: 3.201 MB / 0.6725 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/0.7664, allocations: 302.4 kB / 0.6728 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003284/0.7667, allocations: 55.98 kB / 0.6728 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.7668, allocations: 4 kB / 0.6728 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2568/1.024, allocations: 2.956 MB / 0.6757 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/1.024, allocations: 3.969 kB / 0.6757 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009503/1.033, allocations: 2.933 MB / 0.6786 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.034, allocations: 217.3 kB / 0.6788 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00714/1.042, allocations: 3.194 MB / 0.6819 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/1.044, allocations: 283.4 kB / 0.6822 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/1.044, allocations: 52.16 kB / 0.6822 GB, free: 112.8 MB / 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: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {29 43} Notification: Performance of prepare postOptimizeDAE: time 0.000951/1.045, allocations: 396.1 kB / 0.6826 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004735/1.046, allocations: 181.7 kB / 0.6828 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/1.062, allocations: 6.007 MB / 0.6886 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/1.062, allocations: 14.62 kB / 0.6886 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.062, allocations: 0 / 0.6886 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.581e-05/1.062, allocations: 9.234 kB / 0.6887 GB, free: 112.5 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.01934/1.081, allocations: 8.49 MB / 0.6969 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.344e-05/1.081, allocations: 0 / 0.6969 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.083, allocations: 185.6 kB / 0.6971 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006961/1.09, allocations: 2.506 MB / 0.6996 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003436/1.09, allocations: 33.42 kB / 0.6996 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02438/1.114, allocations: 10.31 MB / 0.7097 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.114, allocations: 8.703 kB / 0.7097 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02255/1.137, allocations: 7.311 MB / 0.7168 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008106/1.138, allocations: 299.5 kB / 0.7171 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003972/1.138, allocations: 29.2 kB / 0.7171 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.14, allocations: 207.2 kB / 0.7173 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/1.141, allocations: 275.6 kB / 0.7176 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.142, allocations: 42.47 kB / 0.7176 GB, free: 106.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002118/1.144, allocations: 1.058 MB / 0.7187 GB, free: 106.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.81e-07/1.144, allocations: 0 / 0.7187 GB, free: 106.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00245/1.146, allocations: 0.8284 MB / 0.7195 GB, free: 106 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.state) * 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.0004903/1.147, allocations: 190.1 kB / 0.7197 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01352/1.16, allocations: 5.174 MB / 0.7247 GB, free: 104.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.16, allocations: 0 / 0.7247 GB, free: 104.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006283/1.167, allocations: 2.256 MB / 0.7269 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/1.169, allocations: 171.9 kB / 0.7271 GB, free: 103.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/1.174, allocations: 3.996 MB / 0.731 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/1.175, allocations: 1.308 MB / 0.7323 GB, free: 100.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007983/1.176, allocations: 166.8 kB / 0.7324 GB, free: 100.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/1.176, allocations: 93.12 kB / 0.7325 GB, free: 100.6 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/1.176, allocations: 0 / 0.7325 GB, free: 100.6 MB / 490.7 MB Notification: Performance of Templates: time 0.04249/1.219, allocations: 32.02 MB / 0.7638 GB, free: 88.45 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO.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_TG_IEESGO -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO_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_OpenIPSL.Examples.Controls.PSSE.TG.IEESGO.o] Error 1