Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.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.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001735/0.001735, allocations: 176.6 kB / 16.12 MB, free: 5.691 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.704/1.704, allocations: 205.4 MB / 222.3 MB, free: 9.043 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.0008327/0.0008328, allocations: 82.44 kB / 270.6 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.307/0.307, allocations: 42.29 MB / 361.2 MB, free: 49.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004698, allocations: 15.98 kB / 429.4 MB, free: 7.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 57.56 MB / 487 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5645, allocations: 104.6 MB / 0.5777 GB, free: 3.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.5649, allocations: 101.7 kB / 0.5778 GB, free: 3.105 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1113/0.6761, allocations: 39.41 MB / 0.6163 GB, free: 11.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6762, allocations: 3.938 kB / 0.6163 GB, free: 11.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001418/0.6763, allocations: 28 kB / 0.6163 GB, free: 11.45 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.00816/0.6845, allocations: 2.411 MB / 0.6187 GB, free: 8.984 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.6846, allocations: 11.97 kB / 0.6187 GB, free: 8.973 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/0.688, allocations: 0.5535 MB / 0.6192 GB, free: 8.418 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.6907, allocations: 1.034 MB / 0.6202 GB, free: 7.332 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005383/0.6913, allocations: 428.7 kB / 0.6206 GB, free: 6.848 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/0.6917, allocations: 92 kB / 0.6207 GB, free: 6.758 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/0.6951, allocations: 1.439 MB / 0.6221 GB, free: 5.305 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.6952, allocations: 4 kB / 0.6221 GB, free: 5.301 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.6953, allocations: 36 kB / 0.6222 GB, free: 5.266 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.6954, allocations: 20 kB / 0.6222 GB, free: 5.246 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/0.6988, allocations: 1.386 MB / 0.6236 GB, free: 3.859 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.01023/0.709, allocations: 4.656 MB / 0.6281 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009186/0.7182, allocations: 3.446 MB / 0.6315 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/0.7206, allocations: 0.9738 MB / 0.6324 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.7208, allocations: 20.98 kB / 0.6324 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00266/0.7235, allocations: 1.132 MB / 0.6335 GB, free: 9.246 MB / 458.7 MB Notification: Performance of pre-optimization done (n=124): time 4.889e-06/0.7235, allocations: 0 / 0.6335 GB, free: 9.246 MB / 458.7 MB Notification: Performance of matching and sorting (n=124): time 0.04609/0.7696, allocations: 12.21 MB / 0.6455 GB, free: 12.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.7697, allocations: 115.8 kB / 0.6456 GB, free: 12.85 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/0.7728, allocations: 1.295 MB / 0.6468 GB, free: 11.54 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004448/0.7733, allocations: 49.64 kB / 0.6469 GB, free: 11.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.7739, allocations: 0.6006 MB / 0.6475 GB, free: 10.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008554/0.7748, allocations: 433.6 kB / 0.6479 GB, free: 10.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.775, allocations: 32.06 kB / 0.6479 GB, free: 10.42 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.7752, allocations: 349.9 kB / 0.6483 GB, free: 10.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.7773, allocations: 0.8303 MB / 0.6491 GB, free: 9.242 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.7794, allocations: 0.9831 MB / 0.65 GB, free: 8.211 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004293/0.7838, allocations: 1.841 MB / 0.6518 GB, free: 6.324 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.7838, allocations: 3.938 kB / 0.6518 GB, free: 6.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.007294/0.7911, allocations: 2.817 MB / 0.6546 GB, free: 3.488 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.7912, allocations: 12.03 kB / 0.6546 GB, free: 3.477 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.7912, allocations: 4 kB / 0.6546 GB, free: 3.473 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009845/0.801, allocations: 3.05 MB / 0.6576 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.8021, allocations: 183.7 kB / 0.6577 GB, free: 240 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00757/0.8097, allocations: 3.003 MB / 0.6607 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.812, allocations: 254.8 kB / 0.6609 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/0.8123, allocations: 39.98 kB / 0.661 GB, free: 12.92 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (99): * Single equations (assignments): 98 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.001132/0.8135, allocations: 277.4 kB / 0.6612 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000662/0.8141, allocations: 158.1 kB / 0.6614 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/0.8316, allocations: 5.876 MB / 0.6671 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/0.8317, allocations: 16 kB / 0.6671 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.8318, allocations: 0 / 0.6671 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.318e-05/0.8318, allocations: 11.97 kB / 0.6671 GB, free: 6.551 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.3202/1.152, allocations: 7.857 MB / 0.6748 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/1.152, allocations: 0 / 0.6748 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.153, allocations: 141.7 kB / 0.6749 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008925/1.162, allocations: 2.5 MB / 0.6774 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003776/1.163, allocations: 29.42 kB / 0.6774 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02514/1.188, allocations: 10.31 MB / 0.6875 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.188, allocations: 7.547 kB / 0.6875 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/1.206, allocations: 7.007 MB / 0.6943 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009896/1.207, allocations: 267.3 kB / 0.6946 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/1.207, allocations: 28.48 kB / 0.6946 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/1.209, allocations: 187.7 kB / 0.6948 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009264/1.21, allocations: 253.9 kB / 0.695 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.857e-05/1.21, allocations: 35.19 kB / 0.6951 GB, free: 113.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001491/1.212, allocations: 0.9007 MB / 0.696 GB, free: 113.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.212, allocations: 0 / 0.696 GB, free: 113.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001415/1.213, allocations: 492.5 kB / 0.6964 GB, free: 113.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.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 (81): * Single equations (assignments): 80 * 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.0004252/1.213, allocations: 178.7 kB / 0.6966 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007677/1.221, allocations: 2.796 MB / 0.6993 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.221, allocations: 4.062 kB / 0.6993 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006212/1.227, allocations: 2.153 MB / 0.7014 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/1.229, allocations: 144.6 kB / 0.7016 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00552/1.235, allocations: 3.428 MB / 0.7049 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/1.236, allocations: 1.203 MB / 0.7061 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007024/1.236, allocations: 118.5 kB / 0.7062 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/1.237, allocations: 83.78 kB / 0.7063 GB, free: 110.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.202e-06/1.237, allocations: 1.094 kB / 0.7063 GB, free: 110.5 MB / 490.7 MB Notification: Performance of Templates: time 0.04644/1.283, allocations: 23.94 MB / 0.7297 GB, free: 109.2 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.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_TG_TGOV1 -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_release_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1_model.h:26: ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1_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.TG.TGOV1.o] Error 1