Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01152/0.01152, allocations: 169.2 kB / 15.11 MB, free: 5.973 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.553/1.553, allocations: 223.2 MB / 239 MB, free: 1.809 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.0008751/0.0008751, allocations: 109 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5731/0.5731, allocations: 79.44 MB / 420.7 MB, free: 43.73 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003904, allocations: 15.98 kB / 0.4891 GB, free: 1.969 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4712, allocations: 69.5 MB / 0.557 GB, free: 39 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.6485, allocations: 124.3 MB / 0.6784 GB, free: 13.24 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.6489, allocations: 87.95 kB / 0.6785 GB, free: 13.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.178/0.8269, allocations: 59.26 MB / 0.7363 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/0.827, allocations: 0 / 0.7363 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003942/0.8274, allocations: 52.16 kB / 0.7364 GB, free: 1.602 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.01266/0.8401, allocations: 3.339 MB / 0.7397 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/0.8402, allocations: 12.03 kB / 0.7397 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001106/0.8413, allocations: 227.5 kB / 0.7399 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/0.8463, allocations: 0.7888 MB / 0.7407 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005835/0.8522, allocations: 1.691 MB / 0.7423 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007613/0.853, allocations: 0.5206 MB / 0.7428 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008173/0.8539, allocations: 160 kB / 0.743 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006559/0.8605, allocations: 2.213 MB / 0.7451 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.771e-05/0.8605, allocations: 7.938 kB / 0.7451 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003493/0.8609, allocations: 64 kB / 0.7452 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/0.8609, allocations: 36 kB / 0.7452 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00539/0.8663, allocations: 2.073 MB / 0.7473 GB, free: 6.156 MB / 0.5417 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.01888/0.8852, allocations: 7.993 MB / 0.7551 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.8963, allocations: 4.088 MB / 0.7591 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/0.8967, allocations: 25.3 kB / 0.7591 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.8967, allocations: 51.88 kB / 0.7591 GB, free: 9.594 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=163): time 3.877e-06/0.8968, allocations: 0 / 0.7591 GB, free: 9.594 MB / 0.5573 GB Notification: Performance of matching and sorting (n=163): time 0.4469/1.344, allocations: 13.58 MB / 0.7724 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/1.344, allocations: 279.5 kB / 0.7727 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00496/1.349, allocations: 1.883 MB / 0.7745 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006747/1.35, allocations: 63.17 kB / 0.7746 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008113/1.35, allocations: 0.9757 MB / 0.7755 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007703/1.351, allocations: 0.573 MB / 0.7761 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/1.351, allocations: 39.94 kB / 0.7761 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.351, allocations: 379 kB / 0.7765 GB, free: 123 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002773/1.354, allocations: 1.179 MB / 0.7776 GB, free: 123 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002728/1.357, allocations: 1.515 MB / 0.7791 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002739/1.36, allocations: 1.281 MB / 0.7803 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.36, allocations: 6.344 kB / 0.7804 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=255) (initialization): time 0.00959/1.369, allocations: 3.873 MB / 0.7841 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006158/1.37, allocations: 2.709 MB / 0.7868 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/1.37, allocations: 5.969 kB / 0.7868 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/1.38, allocations: 3.113 MB / 0.7898 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/1.382, allocations: 391.2 kB / 0.7902 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00714/1.39, allocations: 3.621 MB / 0.7937 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003813/1.394, allocations: 381.9 kB / 0.7941 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005363/1.394, allocations: 79.45 kB / 0.7942 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.394, allocations: 2.281 kB / 0.7942 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008817/1.403, allocations: 3.397 MB / 0.7975 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-05/1.403, allocations: 7.094 kB / 0.7975 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01091/1.414, allocations: 3.087 MB / 0.8005 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/1.416, allocations: 357.8 kB / 0.8009 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009627/1.426, allocations: 4.572 MB / 0.8053 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003702/1.43, allocations: 332.5 kB / 0.8056 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005186/1.43, allocations: 68.22 kB / 0.8057 GB, free: 115.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 (gGOV1.gGOV1_Power.s7.local_reset,gGOV1.gGOV1_Power.s2.local_reset,gGOV1.gGOV1_Turb.s3.local_reset,gGOV1.gGOV1_Temp.s6.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * 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 2,30 26} Notification: Performance of prepare postOptimizeDAE: time 0.00195/1.432, allocations: 500 kB / 0.8062 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/1.433, allocations: 242 kB / 0.8064 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02388/1.457, allocations: 6.544 MB / 0.8128 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-05/1.457, allocations: 15.91 kB / 0.8128 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.458, allocations: 1.406 kB / 0.8128 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.72e-05/1.458, allocations: 11.95 kB / 0.8128 GB, free: 115.2 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.0328/1.49, allocations: 9.324 MB / 0.8219 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/1.491, allocations: 0 / 0.8219 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/1.492, allocations: 244.8 kB / 0.8222 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009357/1.502, allocations: 2.598 MB / 0.8247 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007344/1.503, allocations: 39.5 kB / 0.8247 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.029/1.532, allocations: 12.68 MB / 0.8371 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.532, allocations: 0 / 0.8371 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02419/1.556, allocations: 8.301 MB / 0.8452 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/1.558, allocations: 379.9 kB / 0.8456 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/1.559, allocations: 43.48 kB / 0.8456 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003193/1.562, allocations: 241.9 kB / 0.8459 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/1.564, allocations: 283 kB / 0.8461 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004396/1.564, allocations: 44.64 kB / 0.8462 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00402/1.568, allocations: 1.462 MB / 0.8476 GB, free: 102.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.71e-07/1.568, allocations: 0 / 0.8476 GB, free: 102.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005971/1.574, allocations: 1.04 MB / 0.8486 GB, free: 102.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gGOV1.gGOV1_Temp.s6.y,gGOV1.gGOV1_Turb.s4.TF.x_scaled[1],gGOV1.gGOV1_Turb.s3.y,gGOV1.gGOV1_Turb.s5.state,gGOV1.gGOV1_Turb.s9.TF.x_scaled[1],gGOV1.gGOV1_Accel.s8.x,gGOV1.gGOV1_Power.s2.y,gGOV1.gGOV1_Power.s7.y,gGOV1.gGOV1_Power.s0.state,gGOV1.gGOV1_Power.s1.x,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 (118): * Single equations (assignments): 116 * 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 {26 23,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02308/1.597, allocations: 9.002 MB / 0.8574 GB, free: 99.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01859/1.616, allocations: 6.013 MB / 0.8633 GB, free: 94.43 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.616, allocations: 0 / 0.8633 GB, free: 94.43 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007257/1.623, allocations: 2.585 MB / 0.8658 GB, free: 92.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/1.626, allocations: 244.9 kB / 0.866 GB, free: 91.97 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/1.641, allocations: 10.51 MB / 0.8763 GB, free: 81.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/1.643, allocations: 1.568 MB / 0.8778 GB, free: 80.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001658/1.645, allocations: 247.1 kB / 0.8781 GB, free: 80.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/1.646, allocations: 0.9363 MB / 0.879 GB, free: 79.52 MB / 0.5573 GB Notification: Performance of SimCode: time 1.312e-06/1.646, allocations: 3.938 kB / 0.879 GB, free: 79.51 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09833/1.745, allocations: 57.37 MB / 0.935 GB, free: 32 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/1.745, allocations: 191.2 kB / 0.9352 GB, free: 31.76 MB / 0.5573 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1_functions.h:153: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); ^ 2 warnings and 1 error generated. make: *** [: OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.o] Error 1